Issue with installation - May be service:jmx:jdmk-http://40.23.193.63:8282is not yet initialised

jamiechipper
User offline. Last seen 17 weeks 4 hours ago. Offline
Joined: 06/16/2009
Points: 20

This is my first installation attempt at installing Presto.  I am using jdk 1_5_19 on Windows XP SP2.  I am within a corporate environment which ustilizes a proxy.   When I attempt to start presto using startPresto.bat, I am getting the following error:

 2009-06-19 10:57:25,218 ERROR [com.jackbe.presto.jmx.cascade.PrestoMasterAgent-320] - <May be service:jmx:jdmk-http://40.23.193.63:8282is not yet initialised.> 

Any thoughts would be helpful. Thanks.

0
Your rating: None
girish
girish's picture
User offline. Last seen 4 weeks 8 hours ago. Offline
Joined: 09/22/2008
Points: 70

could you check if port 8282 is in use by some other process on your machine? If not, please stop the server and make sure the tomcat process is completely killed and restart the server.

 

- Girish@JackBe

jamiechipper
User offline. Last seen 17 weeks 4 hours ago. Offline
Joined: 06/16/2009
Points: 20

Thaks for your help.

Port 8282 is not being used at this time.

I stopped tomcat and ran startPresto.bat and am still getting the same error.  Any other ideas?

girish
girish's picture
User offline. Last seen 4 weeks 8 hours ago. Offline
Joined: 09/22/2008
Points: 70

That error is coming from adminserver (adminserver.war). For now, if you just want presto server up and running, you can remove *adminserver.war* (and adminserver directory) from <presto_home>/server/apache-tomcat-5.5.20/webapps and restart tomcat.

In the mean time, let's get some more debug info and see what's going  on. To get debug log:

1. change the log level for both presto and adminserver applications in

<presto_home>/server/apache-tomcat-5.5.20/webapps/presto/WEB-INF/classes/log4.properties (change ERROR to DEBUG in the very first line)

&

<presto_home>/server/apache-tomcat-5.5.20/webapps/adminserver/WEB-INF/classes/log4.properties (change ERROR to DEBUG in the very first line)

2. restart the tomcat (startPresto.bat)

3. attach adminserver.log and catalina.out files from <presto_home>/server/apache-tomcat-5.5.20/logs directory to this post.

 

 

- Girish@JackBe

jamiechipper
User offline. Last seen 17 weeks 4 hours ago. Offline
Joined: 06/16/2009
Points: 20

Hello Girish -

Thanks again for the reply.  I have attached all log files that were in the tomcat logs root.  I was not able to attach them to this reply, but did attach them to the first post.  Please let me know how to proceed.  Thanks!

girish
girish's picture
User offline. Last seen 4 weeks 8 hours ago. Offline
Joined: 09/22/2008
Points: 70

Hi Richard,

were you able to remove adminserver.war and adminserver directory from tomcat's webapps directory and start the server? Without adminserver, you can still use the Presto mashup server and all the UI tools like wires, service explorer, mashlet maker (assuming you are not behind proxy server. If you are behing proxy server, then we need adminserver/adminconsole to configure proxy server, bypass certain hosts, domains, ips).

thx,

- Girish@JackBe

girish
girish's picture
User offline. Last seen 4 weeks 8 hours ago. Offline
Joined: 09/22/2008
Points: 70

Hi Richard,

from debug log, it looks like your presto repository is not running. Did you start the repository before starting the Presto/tomcat server ?

you need to start repository

<presto_home>/prestorepository/hsqldb/server.bat

thx,

- Girish@JackBe

jamiechipper
User offline. Last seen 17 weeks 4 hours ago. Offline
Joined: 06/16/2009
Points: 20

Once I started the repository, the error has gone away... now I am a little stumped on what to do next.  How do I get to the applications?  is it just http://localhost:8080/presto ?  If so I am not getting a 404 error.  Do I just need to open up the directory?

Thanks!

girish
girish's picture
User offline. Last seen 4 weeks 8 hours ago. Offline
Joined: 09/22/2008
Points: 70

ok. good. yes, http://localhost:8080/presto is the way to get started. That takes you into home page of Presto.

if you are getting 404 error, that means, there are errors at presto server initialization time. Please send me the log file again.

- Girish@JackBe

jamiechipper
User offline. Last seen 17 weeks 4 hours ago. Offline
Joined: 06/16/2009
Points: 20

Just needed to start the startAdminServer.bat - But now I am not able to login with the info given in the installation guide.  There is no error messages, but I am getting the correct login page.  Any ideas?

jamiechipper
User offline. Last seen 17 weeks 4 hours ago. Offline
Joined: 06/16/2009
Points: 20

I have attached the latest log file to the first entry.

girish
girish's picture
User offline. Last seen 4 weeks 8 hours ago. Offline
Joined: 09/22/2008
Points: 70

from the catalina log file, it looks like you server didn't start fine because the previous instance was still running. See the error

NFO: Server startup in 21969 ms
Jun 19, 2009 3:29:25 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
 

so, try this:

1. stop your server and make sure the process is completely gone

2. you can verify if the port 8005 is released by doing "netstat -a | grep 8005"

3. make sure you presto repository is running

4. now, start presto server (startPresto.bat)

 

- Girish@JackBe

jamiechipper
User offline. Last seen 17 weeks 4 hours ago. Offline
Joined: 06/16/2009
Points: 20

I should be good to go now.  Thanks for all your help!

girish
girish's picture
User offline. Last seen 4 weeks 8 hours ago. Offline
Joined: 09/22/2008
Points: 70

Good to hear that. Please let us know if you have any further questions or run into any issues.

- Girish@JackBe

maranjosie
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/23/2009
Points: 0

i am not able to up and running the mashup server. struggled a lot and always getting errors while starting the server. There is no proper documentation of the process. The process defined in installation guide in not up to the mark and for normal users i don't think presto product is a good one.

imtiyaz
User offline. Last seen 1 week 3 days ago. Offline
Joined: 09/24/2008
Points: 0

Open command prompt execute the following commands.

netstat -an | findstr 8080

netstat -an | findstr 8005

If output is displayed while executing the above commands then you need to stop the applications using those ports. Open the explorer.

Start the server.bat from ..\prestorepository\hsqldb

Start the startPresto.bat from ..\mashupserver\

maranjosie
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/23/2009
Points: 0

While executing the above commands i didn't get any thing. i follow the steps defined above but still got the same error.

I am attaching the error file.

imtiyaz
User offline. Last seen 1 week 3 days ago. Offline
Joined: 09/24/2008
Points: 0

Stop presto repository and mashup server go to ..\server\apache-tomcat-5.5.20\work\Catalina. Delete the localhost directory. Now start presto repository and mashupserver

maranjosie
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/23/2009
Points: 0

Still getting the same error.  Tell me other solutions.

imtiyaz
User offline. Last seen 1 week 3 days ago. Offline
Joined: 09/24/2008
Points: 0

Can you please try re-installing it.

maranjosie
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/23/2009
Points: 0

Yes i am doing the same thing............

maranjosie
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/23/2009
Points: 0

No hopes still getting the same error.

imtiyaz
User offline. Last seen 1 week 3 days ago. Offline
Joined: 09/24/2008
Points: 0

Can you list down the steps the way you are installing and starting the mashupserver?

aishmishra
aishmishra's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 09/24/2008
Points: 3

Please also give details like platform, jdk version and customization, if any (like port number change etc.,)

maranjosie
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/23/2009
Points: 0

Steps to install:

1.Execute ..\presto-dev-install-2_7_0\Presto2.7.0\setup.bat from command prompt:

2.JDK home directory = ..\Program Files\IBM\SDP\jdk (1.6)

3. Tomcat HTTP port  =  8080
4. Tomcat HTTPS port = 8443
5. Tomcat shutdown port = 8005
6. Presto Repository port = 9001
7. Presto Admin Agent port = 8282

8. Enter 'Y'

10. Execute ../prestorepository/hsqldb/sever.bat

11.Execute ../mashupserver/startPresto.bat

12. Getting the Same error in Tomcat Console

 

maranjosie
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/23/2009
Points: 0

..\presto-dev-install-2_7_0\Presto2.7.0>.\setup.bat
..\presto-dev-install-2_7_0\Presto2.7.0>cscript //NoLogo setup_win.js
=============== JackBe Presto Enterprise Mashup Platform ==================
Presto home Directory => ..\presto-dev-install-2_7_0\Presto2.7.0
Tomcat installation Directory => ..\presto-dev-install-2_7_0\Presto2.7.0\server\apache-tomcat-5.5.20
Enter Java/JDK Home Directory (Default: C:\jdk):
..\Java\jdk1.6.0
Enter Tomcat HTTP Port (Default: 8080):
8080
Enter Tomcat HTTPS Port (Default: 8443):
8443
Enter Tomcat Shutdown Port (Default: 8005):
8005
Enter Presto Repository Port (Default: 9001):
9001
        Checking for availability of Presto repository port => 9001
        Port 9001 is available
Enter Presto Admin Agent Port (Default: 8282):
8282
------ Please review the settings -----------
Java Home => ..\Java\jdk1.6.0
Tomcat Home => ..\presto-dev-install-2_7_0\Presto2.7.0\server\apache-tomcat-5.5.20
Tomcat HTTP Port => 8080
Tomcat HTTPS Port => 8443
Tomcat Shutdown Port => 8005
Presto Repository Port => 9001
Presto Admin Agent Port => 8282
...Continue (Y/N) ?
Y
Updating environment data...
Updating configuration data...
Installing applications...
Initializing Presto Repository...
=========== Presto installation successfully completed ===============

aishmishra
aishmishra's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 09/24/2008
Points: 3

Hi,

Presto 2.7.0 is certified for SUN JDK1.4 and JDK1.5 

I am guessing from the path you provided in the previous reply that you are using IBM JDK.

Kindly use SUN JDK and let me know if that helps solve the issues you are facing

Aishwarya

girish
girish's picture
User offline. Last seen 4 weeks 8 hours ago. Offline
Joined: 09/22/2008
Points: 70

In your previous post, I see that you are trying with IBM JDK1.6. Presto 2.7.0 is not yet certified with IBM  JDK1.6. Could you try with Sun JDK1.4 or 1.5 ? You can find the supported JDKs/OS/App servers in the product release notes.

- Girish@JackBe

maranjosie
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 09/23/2009
Points: 0

Yes, it works with the SUN JDK.

Thanks

smitchell
smitchell's picture
User offline. Last seen 22 hours 13 min ago. Offline
Joined: 08/29/2008
Points: 34

You mentioned that the installation docs really didn't help much. If you have more specific comments about where you found it confusing or wrong, *please* let us know. Don't be shy about complaining -- but I need more information to help make it better the next time.

Sara, technical writer/jackbe