Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
First time install on brand new LAMP install HTTP Status 500
Author Message
pspenn
Brekeke Member


Joined: 28 Oct 2009
Posts: 16
Location: Atlanta, GA

PostPosted: Fri May 21, 2010 10:01 am    Post subject: First time install on brand new LAMP install HTTP Status 500 Reply with quote

1. Brekeke Product Name and version: Latest

2. Java version: 1.4.2

3. OS type and the version: Centos 5.5

4. UA (phone), gateway or other hardware/software involved:

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :

6. Your problem:

I have just finished installing Centos 5.5 and applying all of the updates. The next install was tomcat5 via Yum. It added all of the necessary dependencies and started with no problems. I then dropped the Proxy.war file in the Webapps folder. I can get to the first page via http://xxx.xxx.xxx.xxx:8080/proxy. When I enter my 60 day Eval key and click "I Agree", I get the following errors:

Quote:
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalStateException: enc
com.brekeke.util.EasyCryptoUtil.enc(Unknown Source)
com.brekeke.sipadmin.web.LogSelect.getUD(Unknown Source)
com.brekeke.sipadmin.SocketWrap.getUD(Unknown Source)
com.brekeke.sipadmin.SipAdminBase.newUserDataFile(Unknown Source)
com.brekeke.sipadmin.web.InputLicense.exec(Unknown Source)
com.brekeke.web.Bean.execMain(Unknown Source)
com.brekeke.sipadmin.SipAdminBase.execMain(Unknown Source)
com.brekeke.web.Bean.execute(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.sipadmin.web.Login.exec(Unknown Source)
com.brekeke.web.Bean.execMain(Unknown Source)
com.brekeke.sipadmin.SipAdminBase.execMain(Unknown Source)
com.brekeke.web.Bean.execute(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.sipadmin.web.InputLicense.exec(Unknown Source)
com.brekeke.web.Bean.execMain(Unknown Source)
com.brekeke.sipadmin.SipAdminBase.execMain(Unknown Source)
com.brekeke.web.Bean.execute(Unknown Source)
com.brekeke.web.Bean.go(Unknown Source)
com.brekeke.web.Bean.startBean(Unknown Source)
com.brekeke.web.GateServlet.performTask(Unknown Source)
com.brekeke.web.GateServlet.doPost(Unknown Source)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)
javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.


I quite honestly don't even know where to look for the Apache Tomcat/5.5.23 logs but that will be the next thing I look at.

I am sure this can be easily replicated since I have done nothing other than install Centos 5.5 and then Tomcat.
Has anyone come across this? And even better, does anyone have a suggestion as to how to resolve?
Thanks,
Perry
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Fri May 21, 2010 1:20 pm    Post subject: Reply with quote

can you post the log.log here?
which is at webapps\proxy\WEB-INF\work\logs\

and what java is used by sip server? is it Sun's java?
Back to top
View user's profile
pspenn
Brekeke Member


Joined: 28 Oct 2009
Posts: 16
Location: Atlanta, GA

PostPosted: Mon May 24, 2010 5:49 am    Post subject: Reply with quote

Hello Hope,

Here is the log.log file. (I see something of interest with javax.crypto)

Quote:

2010-05-21 12:33:01,487 [http-8080-Processor25] ERROR (?Confused) -
javax.crypto.IllegalBlockSizeException: 2 trailing bytes
at gnu.javax.crypto.jce.cipher.CipherAdapter.engineDoFinal(libgcj.so.7rh)
at javax.crypto.Cipher.doFinal(libgcj.so.7rh)
at javax.crypto.Cipher.doFinal(libgcj.so.7rh)
at com.brekeke.util.EasyCryptoUtil.enc(Unknown Source)
at com.brekeke.sipadmin.web.LogSelect.getUD(Unknown Source)
at com.brekeke.sipadmin.SocketWrap.getUD(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.newUserDataFile(Unknown Source)
at com.brekeke.sipadmin.web.InputLicense.exec(Unknown Source)
at com.brekeke.web.Bean.execMain(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.execMain(Unknown Source)
at com.brekeke.web.Bean.execute(Unknown Source)
at com.brekeke.web.Bean.go(Unknown Source)
at com.brekeke.web.Bean.go(Unknown Source)
at com.brekeke.sipadmin.web.Login.exec(Unknown Source)
at com.brekeke.web.Bean.execMain(Unknown Source)
at com.brekeke.sipadmin.SipAdminBase.execMain(Unknown Source)
at com.brekeke.web.Bean.execute(Unknown Source)
at com.brekeke.web.Bean.go(Unknown Source)
at com.brekeke.web.Bean.go(Unknown Source)
at com.brekeke.sipadmin.web.InputLicense.exec(Unknown Source)
at com.brekeke.web.Bean.execMain(Unknown Source)


Here is what I get when I type 'java -version'

Quote:

java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)


It is Sun's Java.

Thanks again for the assistance,
Perry
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon May 24, 2010 12:06 pm    Post subject: Reply with quote

install Sun's jdk
http://java.sun.com/javase/downloads/index.jsp#jdk
Back to top
View user's profile
pspenn
Brekeke Member


Joined: 28 Oct 2009
Posts: 16
Location: Atlanta, GA

PostPosted: Mon May 24, 2010 12:31 pm    Post subject: Reply with quote

WOW!!!! I sooo should have posted my help request sooner. My head was bleeding on Friday from beating it against the wall in frustration. You just made it look so easy. I guess reading log files is a good thing. Laughing
Now for the learning part....
What from the logs told you that I was missing the JDK?

Thank you so much for your help!
Problem solved!

Perry
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Mon May 24, 2010 5:53 pm    Post subject: Reply with quote

>> What from the logs told you that I was missing the JDK?

Quote:
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)


It means you are using OpenJDK instead of Sun's official JDK.
http://openjdk.java.net/

You need to...
- Download Sun's JDK from http://java.sun.com
- Install it.
- Set PATH and CLASSPATH variables to point Sun's Java folder.

That's all. Easy.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1