Author |
Message |
pspenn Brekeke Member
Joined: 28 Oct 2009 Posts: 16
Location: Atlanta, GA
|
Posted: Fri May 21, 2010 10:01 am Post subject: First time install on brand new LAMP install HTTP Status 500 |
|
|
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 |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Fri May 21, 2010 1:20 pm Post subject: |
|
|
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 |
|
pspenn Brekeke Member
Joined: 28 Oct 2009 Posts: 16
Location: Atlanta, GA
|
Posted: Mon May 24, 2010 5:49 am Post subject: |
|
|
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 (?) -
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 |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
|
Back to top |
|
pspenn Brekeke Member
Joined: 28 Oct 2009 Posts: 16
Location: Atlanta, GA
|
Posted: Mon May 24, 2010 12:31 pm Post subject: |
|
|
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.
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 |
|
janP Brekeke Master Guru
Joined: 25 Nov 2007 Posts: 336
|
Posted: Mon May 24, 2010 5:53 pm Post subject: |
|
|
>> 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 |
|
|