This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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 sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMI
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMI
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(
at sun.rmi.transport.tcp.TCPTransport.listen(
at sun.rmi.transport.tcp.TCPTransport.exportObject(
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(
at sun.rmi.transport.LiveRef.exportObject(
at sun.rmi.server.UnicastServerRef.exportObject(
at sun.rmi.registry.RegistryImpl.setup(
at sun.rmi.registry.RegistryImpl.<init>(
at java.rmi.registry.LocateRegistry.createRegistry(
at RmiJdbc.RJJdbcServer.register(
at RmiJdbc.RJJdbcServer.main(
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
jQuery in Action, 2nd edition
subject: Java Pet Store Application