jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Java Pet Store Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java Pet Store Application" Watch "Java Pet Store Application" New topic

Java Pet Store Application

Anupama Dhir

Joined: Jan 11, 2001
Posts: 15
I am trying to install the Java Pet Store application. After setting the environment variables, I tried to start the cloudscape database server but I got a whole list of errors like:
Wed Mar 28 13:21:39 GMT+08:00 2001: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered in DriverManager
Wed Mar 28 13:21:39 GMT+08:00 2001: [RmiJdbc] Binding RmiJdbcServer...
Wed Mar 28 13:21:39 GMT+08:00 2001: [RmiJdbc] No installation of RMI Security Manager...
Please advise how I can get around this problem
NageswaraRao Karra
Ranch Hand

Joined: Nov 12, 2000
Posts: 34
i think it is not an error.why don't you continue running yr.application and see?
Anupama Dhir

Joined: Jan 11, 2001
Posts: 15
Originally posted by NageswaraRao Karra:
i think it is not an error.why don't you continue running yr.application and see?

When it continues I get the following errors:
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
at java.net.ServerSocket.<init>(ServerSocket.java:170)
at java.net.ServerSocket.<init>(ServerSocket.java:82)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMI
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMI
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:55
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:200)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:172
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:319)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:119)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:12
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:95)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:81)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:1
at RmiJdbc.RJJdbcServer.register(RJJdbcServer.java:155)
at RmiJdbc.RJJdbcServer.main(RJJdbcServer.java:243)
Please advise.
Ames Carlson

Joined: Apr 23, 2001
Posts: 9
The first set of messages are informational only.
The stack trace seems to be showing that the
default port RmiJdbc uses (1099) is in use.
Some Windows apps (Personal Web Server, for one)
may be using that port already. You can pick
an alternate port for RmiJdbc by adding
-port # to the command line, like this:
java RmiJdbc.RJJdbcServer -port 1088 COM.cloudscape.core.JDBCDriver
Just be sure to include the port # on your JDBC URLs
as well, i.e.:
Hope this helps,
Ames Carlson
I agree. Here's the link: http://aspose.com/file-tools
subject: Java Pet Store Application
It's not a secret anymore!