J2EE Tutorial Bookstore application

Hello,
New to J2EE. I have followed all instructions to deply the bookstore application, or at least I think that I have. When I try to launch from the admin tool, I get the following page:
HTTP Status 503 - This application is not currently available
type Status report
message This application is not currently available
description The requested service (This application is not currently available) is not currently available.
Could anybody please tell me what I am missing here or what I need to check?
Thank you,
Antonio

These are the entries in the log for today. I hope this helps. Thank you for your help...
Antonio
[#|2005-04-29T10:23:10.999-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.tools.launcher|_ThreadID=10;|
C:/Sun/AppServer/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Sun\AppServer\jdk\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINNT\system32;C:\WINNT;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\ibmdebug\bin;C:\WDSC;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\Program Files\IBM\Trace Facility;C:\Program Files\Personal Communications;C:\IMNNQ_2K;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Sun\AppServer\pointbase\lib;C:\Sun\AppServer\bin;c:\sun\appserver\pointbase\lib
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/jdk/lib/tools.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppServer/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
[#|2005-04-29T10:23:28.989-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\AppServer\imq\bin].|#]
[#|2005-04-29T10:23:28.999-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
[#|2005-04-29T10:23:32.093-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
[#|2005-04-29T10:23:32.634-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2005-04-29T10:23:34.427-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
[#|2005-04-29T10:23:34.427-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
[#|2005-04-29T10:23:36.540-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
[#|2005-04-29T10:23:36.550-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
[#|2005-04-29T10:23:36.580-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
[#|2005-04-29T10:23:39.414-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
[#|2005-04-29T10:23:49.038-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]
[#|2005-04-29T10:23:51.111-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 72928649933553664|#]
[#|2005-04-29T10:23:52.753-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
[#|2005-04-29T10:23:53.875-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 72928650798563328|#]
[#|2005-04-29T10:23:55.086-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
[#|2005-04-29T10:23:55.086-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
[#|2005-04-29T10:23:55.377-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
[#|2005-04-29T10:23:55.787-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at []|#]
[#|2005-04-29T10:23:55.938-0400|WARNING|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
[#|2005-04-29T10:23:56.418-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [web1]|#]
[#|2005-04-29T10:23:56.448-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [asadmin]|#]
[#|2005-04-29T10:23:56.448-0400|WARNING|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
[#|2005-04-29T10:23:56.468-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [__asadmin] at [com_sun_web_ui]|#]
[#|2005-04-29T10:23:56.979-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [hello1] in virtual server [server] at [hello1]|#]
[#|2005-04-29T10:23:56.999-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [hello2] in virtual server [server] at [hello2]|#]
[#|2005-04-29T10:23:57.029-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [bookstore1] in virtual server [server] at [bookstore1]|#]
[#|2005-04-29T10:23:57.079-0400|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0123: WebModule [bookstore1] failed to deploy and has been disabled: [javax.naming.InvalidNameException: Real JNDI name cannot be empty for jdbc/BookDB].|#]
[#|2005-04-29T10:23:57.340-0400|INFO|sun-appserver-pe8.1_01|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]
[#|2005-04-29T10:24:02.126-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.stream.out|_ThreadID=10;|Couldn't create bookstore database bean: Couldn't open connection to database: No object bound to name java:comp/env/jdbc/BookDB|#]
[#|2005-04-29T10:24:04.400-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
[#|2005-04-29T10:24:04.430-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
[#|2005-04-29T10:24:04.670-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
[#|2005-04-29T10:24:04.680-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
[#|2005-04-29T10:24:04.800-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
[#|2005-04-29T10:24:04.810-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
[#|2005-04-29T10:24:05.441-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1501: Here is the JMXServiceURL for the JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://pc6382.abc.local:8686/management/rmi-jmx-connector]. This is where the remote administrative clients should connect using the JSR 160 JMX Connectors.|#]
[#|2005-04-29T10:24:05.451-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1502: Status of System JMX Connector: Active = [true]|#]
[#|2005-04-29T10:24:05.571-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|Application server startup complete.|#]
[#|2005-04-29T10:26:15.498-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=11;|WebModule[/bookstore1]Marking servlet BookStoreServlet as unavailable|#]
[#|2005-04-29T10:36:07.780-0400|WARNING|sun-appserver-pe8.1_01|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
[#|2005-04-29T10:36:07.800-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.tools.launcher|_ThreadID=10;|
C:/Sun/AppServer/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Dcom.sun.aas.verboseMode=true
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINNT\system32;C:\WINNT;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\ibmdebug\bin;C:\WDSC;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\Program Files\IBM\Trace Facility;C:\Program Files\Personal Communications;C:\IMNNQ_2K;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Sun\AppServer\pointbase\lib;C:\Sun\AppServer\bin;c:\sun\appserver\pointbase\lib
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/jdk/lib/tools.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppServer/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
stop
verbose|#]
[#|2005-04-29T10:36:09.122-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|sending notification to server...server|#]
[#|2005-04-29T10:36:09.122-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|sending notification to server...server|#]
[#|2005-04-29T10:36:09.182-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1509: JSR 160 JMX Connector Server at address [service:jmx:rmi:///jndi/rmi://pc6382.abc.local:8686/management/rmi-jmx-connector] is now stopping|#]
[#|2005-04-29T10:36:09.212-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=12;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]
[#|2005-04-29T10:36:09.222-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=12;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
[#|2005-04-29T10:36:09.232-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=12;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
[#|2005-04-29T10:36:09.242-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=12;|WEB0713: Stopping Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
[#|2005-04-29T10:36:10.664-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=12;|CORE5051: Shutting down all J2EE applications ...|#]
[#|2005-04-29T10:36:10.724-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=12;|EJB5122:EJB Timer Service shutdown at [2005/04/29 10:36:10]|#]
[#|2005-04-29T10:36:10.724-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=12;|CORE 5060 :  Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]
[#|2005-04-29T10:36:10.724-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.resourceadapter|_ThreadID=12;|RAR7094: __xa shutdown successfully.|#]
[#|2005-04-29T10:36:10.724-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=12;|CORE 5061 : Resource adapters Stop() Complete|#]
[#|2005-04-29T10:36:10.724-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=12;|CORE5052: Application shutdown complete.|#]
[#|2005-04-29T10:36:10.734-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.deployment|_ThreadID=12;|[AutoDeploy] Disabling AutoDeployment service.|#]
[#|2005-04-29T10:36:10.744-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.jms|_ThreadID=12;|JMS5025: JMS service shutting down.|#]
[#|2005-04-29T10:36:12.306-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.jms|_ThreadID=12;|JMS5026: JMS service shutdown complete.|#]
[#|2005-04-29T10:36:14.039-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|Server shutdown complete.|#]
[#|2005-04-29T10:36:14.039-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|Server shutdown complete.|#]
[#|2005-04-29T12:08:37.436-0400|WARNING|sun-appserver-pe8.1_01|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
[#|2005-04-29T12:08:37.456-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.tools.launcher|_ThreadID=10;|
C:/Sun/AppServer/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext
-Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
-Dcom.sun.aas.configName=server-config
-Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
-Dcom.sun.aas.promptForIdentity=true
-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
-Dcom.sun.aas.domainName=domain1
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dproduct.name=Sun-Java-System/Application-Server
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Sun\AppServer\jdk\jre\bin\client;C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINNT\system32;C:\WINNT;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\ibmdebug\bin;C:\WDSC;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\Program Files\IBM\Trace Facility;C:\Program Files\Personal Communications;C:\IMNNQ_2K;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Sun\AppServer\pointbase\lib;C:\Sun\AppServer\bin;c:\sun\appserver\pointbase\lib
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Sun/AppServer/lib/appserv-rt.jar;C:/Sun/AppServer/jdk/lib/tools.jar;C:/Sun/AppServer/lib\activation.jar;C:/Sun/AppServer/lib\admin-cli.jar;C:/Sun/AppServer/lib\appserv-admin.jar;C:/Sun/AppServer/lib\appserv-cmp.jar;C:/Sun/AppServer/lib\appserv-ext.jar;C:/Sun/AppServer/lib\appserv-jstl.jar;C:/Sun/AppServer/lib\appserv-upgrade.jar;C:/Sun/AppServer/lib\commons-launcher.jar;C:/Sun/AppServer/lib\commons-logging.jar;C:/Sun/AppServer/lib\dom.jar;C:/Sun/AppServer/lib\j2ee-svc.jar;C:/Sun/AppServer/lib\j2ee.jar;C:/Sun/AppServer/lib\jax-qname.jar;C:/Sun/AppServer/lib\jaxr-api.jar;C:/Sun/AppServer/lib\jaxr-impl.jar;C:/Sun/AppServer/lib\jaxrpc-api.jar;C:/Sun/AppServer/lib\jaxrpc-impl.jar;C:/Sun/AppServer/lib\jmxremote.jar;C:/Sun/AppServer/lib\jmxremote_optional.jar;C:/Sun/AppServer/lib\jsf-api.jar;C:/Sun/AppServer/lib\jsf-impl.jar;C:/Sun/AppServer/lib\mail.jar;C:/Sun/AppServer/lib\relaxngDatatype.jar;C:/Sun/AppServer/lib\rmissl.jar;C:/Sun/AppServer/lib\saaj-api.jar;C:/Sun/AppServer/lib\saaj-impl.jar;C:/Sun/AppServer/lib\xalan.jar;C:/Sun/AppServer/lib\xercesImpl.jar;C:/Sun/AppServer/lib\xsdlib.jar;C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/AppServer/imq/lib/jaxm-api.jar;C:/Sun/AppServer/imq/lib/fscontext.jar;C:/Sun/AppServer/lib/ant/lib/ant.jar;C:/Sun/AppServer/pointbase/lib/pbclient.jar;C:/Sun/AppServer/pointbase/lib/pbembedded.jar
com.sun.enterprise.server.PEMain
start
display
native|#]
[#|2005-04-29T12:08:45.898-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\AppServer\imq\bin].|#]
[#|2005-04-29T12:08:45.898-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
[#|2005-04-29T12:08:47.701-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
[#|2005-04-29T12:08:48.032-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2005-04-29T12:08:49.203-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
[#|2005-04-29T12:08:49.213-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
[#|2005-04-29T12:08:51.436-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3700"|#]
[#|2005-04-29T12:08:51.446-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3820"|#]
[#|2005-04-29T12:08:51.456-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.resource.corba.S1AS-ORB.rpc.transport|_ThreadID=10;|"IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3920"|#]
[#|2005-04-29T12:08:53.079-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
[#|2005-04-29T12:09:02.152-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]
[#|2005-04-29T12:09:03.664-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 72928649933553664|#]
[#|2005-04-29T12:09:04.986-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
[#|2005-04-29T12:09:05.807-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 72928650798563328|#]
[#|2005-04-29T12:09:07.179-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
[#|2005-04-29T12:09:07.189-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
[#|2005-04-29T12:09:07.409-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
[#|2005-04-29T12:09:07.660-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at []|#]
[#|2005-04-29T12:09:07.990-0400|WARNING|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
[#|2005-04-29T12:09:08.381-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [web1]|#]
[#|2005-04-29T12:09:08.421-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [asadmin]|#]
[#|2005-04-29T12:09:08.431-0400|WARNING|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0500: default-locale attribute of locale-charset-info element has been deprecated and is being ignored. Use default-charset attribute of parameter-encoding element instead|#]
[#|2005-04-29T12:09:08.471-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [com_sun_web_ui] in virtual server [__asadmin] at [com_sun_web_ui]|#]
[#|2005-04-29T12:09:08.771-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [hello1] in virtual server [server] at [hello1]|#]
[#|2005-04-29T12:09:08.791-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [hello2] in virtual server [server] at [hello2]|#]
[#|2005-04-29T12:09:08.831-0400|INFO|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [bookstore1] in virtual server [server] at [bookstore1]|#]
[#|2005-04-29T12:09:08.861-04                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

Similar Messages

  • J2EE Tutorial - Application Client

    Hi,
    I've been trying to work through the J2EE Tutorial and I've come to a complete standstill at the EJB section. I have a few problems.
    First of all my deployment tool does not have a JNDI Names Tag as shown in the Mapping The Enterprize Beans Section (Chapter 19). How do I do this?
    I am getting the following error when I try to run my J2EE Application Client.
    Caught an unexpected exception!
    java.lang.ClassCastException
    at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableR
    emoteObject.java:229)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    at ConverterClient.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
    7)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:425)
    at com.sun.enterprise.appclient.Main.main(Main.java:97)
    Caused by: java.lang.ClassCastException
    at com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableR
    emoteObject.java:212)
    Finally, can anybody recommend a good tutorial or book as I think the J2EE tutorial is unusually bad.

    http://docs.sun.com/source/819-0079/dgacc.html
    Finally, can anybody recommend a good tutorial or
    book as I think the J2EE tutorial is unusually bad.Search for Mastering EJB by Ed Roman. It should give a better understanding.

  • J2EE tutorial (June 17 '04) servlet example compilation error

    This is a copy of my previous post on the same topic, but this one has a more self-desriptive subject line. Apologies for duplication.
    I am trying the first servlet example in the J2EE tutorial, June 17, 2004, pgs 443 - 448. I have completed all the steps as described. However, the URL results in the following error. I would like to point out that I am using the URL http://localhost:8081/bookstore1/bookstore (instead of port 8080 because the admin console suggests that port 8081 is an available http port):
    Assistance would be appreciated.
    HTTP Status 404 - /bookstore1/bookstore
    type Status report
    message /bookstore1/bookstore
    description The requested resource (/bookstore1/bookstore) is not available.
    Sun-Java-System/Application-Server-PE-8.0
    I looked at the logviewer and there are 3 severe errors in the log:
    1. Application Server
    Log Entry Detail
    Details
    Timestamp: Aug 6, 2004 14:36:28.375
    Log Level: SEVERE
    Logger: javax.enterprise.system.container.web
    Name-Value Pairs:
    _ThreadID=12;
    Record Number: 754
    Message ID: WebModule[bookstore1]Exception sending context initialized event to listener instance of class listeners.ContextListener java.lang.NoClassDefFoundError
    Complete Message
    exception/OrderException
    at listeners.ContextListener.contextInitialized(Unknown Source)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3679)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4140)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:873)
    at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:171)
    at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:193)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:855)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:623)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:947)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:729)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:147)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:224)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:488)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:475)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:302)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:107)
    at com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstance.multicastEvent(ManagedServerInstance.java:3880)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.server.core.jmx.Introspector.invokeMethodOn(Introspector.java:181)
    at com.sun.enterprise.admin.server.core.mbean.config.AdminBase.invoke(AdminBase.java:86)
    at com.sun.enterprise.admin.server.core.mbean.config.ConfigMBeanBase.invoke(ConfigMBeanBase.java:680)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
    at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
    at com.sun.enterprise.deployment.phasing.DeploymentService.multicastEvent(DeploymentService.java:341)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:284)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:115)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:74)
    at com.sun.enterprise.deployment.phasing.DeploymentService.executePhases(DeploymentService.java:233)
    at com.sun.enterprise.deployment.phasing.DeploymentService.deploy(DeploymentService.java:150)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:275)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
    at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
    at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
    at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:102)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:192)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:261)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:583)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:200)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:180)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:582)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
    at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
    at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
    at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:161)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
    at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:979)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:692)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:647)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:691)
    at java.lang.Thread.run(Thread.java:534)
    2. Application Server
    Log Entry Detail
    Details
    Timestamp: Aug 6, 2004 14:36:28.375
    Log Level: SEVERE
    Logger: tomcat.server./bookstore1.Context
    Name-Value Pairs:
    _ThreadID=12;
    Record Number: 755
    Message ID:
    Complete Message
    Error listenerStart
    3. Application Server
    Log Entry Detail
    Details
    Timestamp: Aug 6, 2004 14:36:28.375
    Log Level: SEVERE
    Logger: tomcat.server./bookstore1.Context
    Name-Value Pairs:
    _ThreadID=12;
    Record Number: 756
    Message ID:
    Complete Message
    Context startup failed due to previous errors

    I had the same problem. It was caused by not including \j2eetutorial14\examples\web\bookstore\dist\bookstore.jar in the bookstore1.war. You may need to build the bookstore.jar file first if you haven�t already.

  • J2EE tutorial setup help

    I know this has come up before in the forum, but the ansers didnt solve my problem.
    I have been trying to deploy and run the bookstore examples for the J2EE tutorial online. I would be extremely grateful if someone out there who has setup and run these tutorials on the Windows platform could let me know exactly what environment variables etc. I should be configuring.
    I have added JAVA_HOME and J2EE_HOME to the environemt variables, pointing to the java sdk and J2EE application server installation ocation respectively.
    I also tried setting the j2ee.home and j2ee.tutorial.home attributes in the build.propoperties file, but I cant get it all to work.
    Please tell me the environment variables, system variables (if different), CLASSPATH, and any other setup I need to do.
    C.

    Sorry, I was at work earlier and couldnt get all the info.
    I have set the following environment variables:
    JAVA_HOME = C:\j2sdk1.4.2_04
    J2EE_HOME = C:\Sun\AppServer
    CLASSPATH = .;D:\Packages;%J2EE_HOME%\lib\j2ee.jarI keep my own packages in the D:\Packages folder.
    I came across some tutorial info that says to also add the j2ee.home and j2ee.tutorial.home properties in the file <INSTALL>j2seetutorial14/examles/common/build.properties. This looks like the following:
    j2ee.home=C:\\Sun\\AppServer
    j2ee.tutorial.home=D:\\J2EE\\j2eetutorial14
    sunone.home=${j2ee.home}
    admin.password.file=${j2ee.tutorial.home}/examples/common/admin-password.txt
    admin.host=localhost
    admin.user=admin
    admin.port=4848
    https.port=8181
    domain.resources="domain.resources"
    domain.resources.port=8080
    db.root=${j2ee.home}/pointbase
    db.driver=com.pointbase.jdbc.jdbcUniversalDriver
    db.host=localhost
    db.port=9092
    db.sid=sun-appserv-samples
    db.url=jdbc:pointbase:server://${db.host}:${db.port}/${db.sid}
    db.user=pbpublic
    db.pwd=pbpublic
    url.prop=DatabaseName
    ds.class=com.pointbase.jdbc.jdbcDataSource
    db.jvmargs=-ms16m -mx32m Note that the line breaks don't show in this browser, or in notepad when I edited it - got the 'square' character when I opened that, but I think the content is right.
    I also tried setting the username above and the username in the file admin-passport., but that didnt work either.

  • J2EE Tutorial: Exception when building with ant

    I am trying to build the converter example on page 48 of the J2EE tutorial using ant. Ant seems to choke on the following line from the build.xml:
    <property environment="myenv" />
    The output of the "ant converter" command is:
    Buildfile: build.xml
    init:
    BUILD FAILED
    /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:248)
    at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    Total time: 1 second
    My best guess is that the "myenv" line in the build.xml requires some additional attribute. I'm using ant version 1.3. My OS is Solaris (noted for possible environment-related issues).
    Thanks in advance!
    Eric Smith

    On Windows XP Pro, the line
    <property environment="myenv" />
    in the init target of build.xml for the j2ee tutorial examples triggers a windows error message:
    16 bit MS-DOS Subsystem
    =======================
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application. Choose 'Close' to terminate the application.
    <<Close>> <<Ignore>>
    So it looks as if ant is trying and failing to access the winnt system environment here.
    According to Ant Developers Handbook (Sams, October 2002, chapter 4, p. 151), the ant environment property "specifies a prefix, giving access to OS-specific environment variables. This is not supported on all platforms." Until this problem is fixed, it appears that on XP systems anyway, any ant settings in build.xml files that rely on direct access to the system environment will fail. Here is some debug output from the j2ee tutorial examples init target which demonstrates this:
    C:\apps\j2sdkee1.3.1\j2eetutorial\examples>ant init
    Buildfile: build.xml
    init:
    [echo] starting init target
    [echo] reached marker 1
    [echo] reached marker 2
    [echo] value of J2EE_HOME is ${myenv.J2EE_HOME}
    [echo] finished init target
    BUILD SUCCESSFUL
    where the task:
    <property environment="myenv" />
    (which generates the OS error popup noted above) occurs between marker 1 and marker 2. Clearly the value of J2EE_HOME is NOT being successfully read from the system environment here.

  • J2EE  tutorial and derby

    Hello,
    I am trying to use J2EE tutorial to learn about the technology. I am having trouble starting the Derby database. When I start Derby , I get the following message logged into db.log file
    Server is ready to accept connections on port 1527.
    Could not listen on port 1527 on host 0.0.0.0.
    Because of this problem , I can not create or populate database.
    The application Server seam to be started properly.
    Can anybody help me with this problem?
    Thanks.

    Have you tried to start Derby from the commandline using the instructions contained in the Derby documentation? It has worked for me.

  • Forte for Java J2EE Tutorial -- RMI RemoteException

    In testing the J2EE tutorial (Restaurant_TestApp) I keep encountering the following error when invoking the findAll method. I get the same error when invoking Data.Restaurant create.
    The error is:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException java.rmi.RemoteException
    Any help or pointers from someone who has successfully built and tested the tutorial would be hugely appreciated!
    Many thanks,
    Luke
    The full error from the J2EE log is:
    javax.ejb.EJBException
         at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:1560)
         at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:1472)
         at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:1289)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:403)
         at Data.RestaurantEJB_PM_RemoteHomeImpl.findAll(RestaurantEJB_PM_RemoteHomeImpl.java:99)
         at Data._RestaurantHome_Stub.findAll(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:232)
         at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:97)
         at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:190)
         at org.apache.jsp.dispatch$jsp._jspService(dispatch$jsp.java:127)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:484)
    java.rmi.RemoteException
         at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:389)
         at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:431)
         at Data.RestaurantEJB_PM_RemoteHomeImpl.findAll(RestaurantEJB_PM_RemoteHomeImpl.java:99)
         at Data._RestaurantHome_Stub.findAll(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sun.forte4j.j2ee.ejbtest.webtest.InvocableMethod$MethodIM.invoke(InvocableMethod.java:232)
         at com.sun.forte4j.j2ee.ejbtest.webtest.EjbInvoker.getInvocationResults(EjbInvoker.java:97)
         at com.sun.forte4j.j2ee.ejbtest.webtest.DispatchHelper.getForward(DispatchHelper.java:190)
         at org.apache.jsp.dispatch$jsp._jspService(dispatch$jsp.java:127)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:484)

    RMI is not that hard.. its just hard to explain :)
    I have not done the tutorial.. so bare with me..
    the errors your seeing can mean many things.. but above all else it means that you've got a problem either connecting or communicating to the rmi_server you created or the rmiRegistry
    My suggestion is this...
    First try a simpler application.
    How about a simple server that returns a string
    and sets a string.
    then a client app that can read the server string and envoke a change to it...
    This will show the basics involved.
    let me know your toughts..
    j.

  • Cant run J2EE tutorial DukesBank ...

    Hello,
    I am new in Java and J2EE and want just run the J2EE tutorial DukesBank which i have downloaded from java.sun.com.
    Therefore are following steps done:
    1. starting the J2EE server (j2ee -start)
    2. starting the cloudscape database (cloudscape -start)
    3. starting deploytool
    4. compile the sources (ant compile-ejb)
    5. package the ejbs (ant package-ejb)
    Now when i use the verifier in the deploytool then i got the error message:
    FAILED: method [makePayment] does not throw valid application exception in Remote/Local interface [com.sun.ebank.ejb.tx.TxController]
    I think this causes also the error message which i got when i goto localhost/bank in the webbrowser:
    Server Error
    Your request cannot be completed. The server got the following error
    null
    So now i have modified the interface TxController.java with deleting the method 'makePayment', also in TxControllerBean.java.
    Then i compiled they again (ant compile-ejb and ant package-ejb) but I have the same problem again, so has the tutorial an error or do i need to modify something else ?!?
    Many thanks for every help
    Regards
    Plato23

    DukesBank - RemoteException in AppClient package
    The two ant invocations "ant compile-ejb" and "ant package-ejb" take care of of the EJBs. The simplest to way to bring Bank up is "ant all" and there is no need of Deploytool though you will need J2EE Server up.
    The context root of the Bank is simply "bank" and the BankAdmin can be run using "runclient.bat" (with a few vanity changes).
    This is as far as I go for running the Bank. But when I tried to activate the various functions in the BankAdmin, I kept getting "RemoteException" and could neither create accounts nor customers.
    Can anybody out there help? Thanks
    p (which does packages (Customer, c

  • "asant build" for bookstore1 example in j2ee tutorial gives "compile error"

    Hello everybody,
    I am trying to run "asant build" command to build package for bookstore1 example given in j2ee tutorials.
    I installed my j2ee tutorial 1.4 in "c:\java\j2eetutorial14" and my example is in "c:\java\j2eetutorial\examples\web\bookstore1".
    My j2ee SDK with appliation server is installed in C:\sun\appserver.
    When i run the "asant build" command in "c:\java\j2eetutorial\examples\web\bookstore1" directory i get compile error with last few lines as follows.
    [javac] location: class servlets.ShowCartServlet
    [javac] } catch (BookNotFoundException ex) {
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :136: cannot resolve symbol
    [javac] symbol : class ShoppingCartItem
    [javac] location: class servlets.ShowCartServlet
    [javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :136: cannot resolve symbol
    [javac] symbol : class ShoppingCartItem
    [javac] location: class servlets.ShowCartServlet
    [javac] ShoppingCartItem item = (ShoppingCartItem) i.next();
    [javac] ^
    [javac] C:\Java\j2eetutorial14\examples\web\bookstore1\src\servlets\ShowCartServlet.jav
    :137: cannot resolve symbol
    [javac] symbol : class BookDetails
    [javac] location: class servlets.ShowCartServlet
    [javac] bd = (BookDetails) item.getItem();
    [javac] ^
    [javac] 69 errors
    BUILD FAILED
    file:C:/Java/j2eetutorial14/examples/web/bookstore1/build.xml:68: Compile failed; see the compiler error output for details.
    Total time: 2 seconds
    Can some one please help me.
    thanks

    When i run the "asant build" command in
    "c:\java\j2eetutorial\examples\web\bookstore1"
    directory i get compile error with last few lines as
    follows.Did you package the bookstore common files as described in Chapter 3? My guess is that you didn't include bookstore.jar from <INSTALL>/j2eetutorial14/examples/build/web/bookstore/dist/.
    -Ian Evans
    Sun Microsystems
    J2EE Tutorial team

  • J2EE tutorial or books

    Hi,
    1) Im new to J2EE programming.
    Can you suggest me a good site or books which provides me in detail how to program with J2EE with examples, espically deploying a EJB, with any of the application server.
    2) I tried the steps provided in the java tutorial (http://java.sun.com/j2ee/tutorial/), but for some reason im not able to deploy my simple ejb application using J2SEE1.4 beta version. Im not able to specify the JNDI name. Even the JNDI tab which should be there is missing.
    3) Im using Windows98, with JDK.1.4.0 & J2SEE1.4 beta version.Can I run J2EE1.4 beta version in Windows98 or do i require Windows 2000/XP/NT ?
    Can you suggest me what am i doing wrong?
    Thanks!!!

    Take a look at http://groups.msn.com/J2EETools. It'll help you deploy your applications.

  • J2ee tutorial bookstore2 example - again

    Folks,
    I've been trying to run the bookstore2 example of the j2ee tutorial.
    When I click on the start shopping link nothing happens.
    I found this in the server.log file
    [#|2005-05-11T11:26:22.353+0100|WARNING|sun-appserver-pe8.1|javax.enterprise.system.stream.err|_ThreadID=18;|
    org.apache.jasper.JasperException: /bookcatalog.jsp(39,2) The end tag "</c:forEach" is unbalanced
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:43)
    I have tried to fix this and redeploy the application but I continue to get the same error. Obviously I am not deploying this correctly. Can someone tell me the steps involved? Thanks?
    Here is the offending code.
    <c:if test="${!empty param.Add}">
    <c:set var="bid" value="${param.Add}"/>
    <jsp:setProperty name="bookDB" property="bookId" value="${bid}" />
    <c:set var="addedBook" value="${bookDB.bookDetails}" />
    <p><h3><font color="red" size="+2">
    <fmt:message key="CartAdded1"/> <em>${addedBook.title}</em> <fmt:message key="CartAdded2"/></font></h3>
    </c:forEach>
    </c:if>

    Somehow you accidentally added an incorrect tag. That section should be:
    <c:if test="${!empty param.Add}">
    <c:set var="bid" value="${param.Add}"/>
    <jsp:setProperty name="bookDB" property="bookId" value="${bid}" />
    <c:set var="addedBook" value="${bookDB.bookDetails}" />
    <p><h3><font color="red" size="+2">
    <fmt:message key="CartAdded1"/> <em>${addedBook.title}</em> <fmt:message key
    ="CartAdded2"/></font></h3>
    </c:if>
    That is, remove the </c:forEach>.
    -Ian Evans

  • Run client execution problem  when running Sun J2EE tutorial example

    Hi,
    I'm trying to run the Sun J2EE tutorial example, CartApp.
    When come to run the client application I got the following error:
    The command:
    E:\Dev\src\J2EE_J2EE_tutorial\examples\ears>runclient -client CarApp.ear -name CartClient -textauth
    The error:
    Application threw an exception:java.io.IOException: CarApp.ear does not exist
    The deployment complete without error.
    I tried to the the APPCPATH to :
    set APPCPATH=E:\Dev\src\J2EE_J2EE_tutorial\examples\ears\CartAppClient.jar
    set APPCPATH=CartAppClient.jar
    On both set, it gave the same error above.
    Did someone known the problem I have ?
    Thnaks

    hi ,
    I think u have given other disply name to your J2EE client ,
    Anyway check disply name of J2EE client through deploytool.
    u have to use that display name to access the j2ee client .
    suppose ur j2ee client displyname is testclient, u can use:
    runclient -client ConverterApp.ear -name testclient
    hope this will help u,
    babu.

  • J2EE tutorial error

    Hi, I am a beginner picking up J2EE with the online tutorial. I tried to deploy,run,clean,build the hello1 and hello2 tutorial but netbeans is giving me an error as shown:
    C:\Documents and Settings\Smith\My Documents\javaeetutorial5\examples\web\hello2\build.xml:37: Cannot find ../../bp-project/main.xml imported from C:\Documents and Settings\Smith\My Documents\javaeetutorial5\examples\web\hello2\build.xml
    Anyone can help me with this error? I googled for similar errors but i did not find anything that could help.
    I am using netbeans 6.7.1 and JDK 6 update 14.
    Any help greatly appreciated.

    You seem to have installed two versions of the J2EE application server and are running the 1.3 tutorial on the 1.4 server.
    You have two choices. If you want to use the 1.3 tutorial, please see the following workaround for this error:
    http://java.sun.com/j2ee/tutorial/doc/information/faq.html#compile
    A better option would be to download the 1.4 tutorial to run on the 1.4 server:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

  • Re. J2EE Tutorial - Setting

    Hi,
    I am familiar to J2EE, but new to the new technlogies & working wth IDEs. I know this is not the right forum for my question, but i didn't find the best forum for my question. I have put the same question in J2EE SDK, so please ignore in that forum.
    I am learning with J2EE Tutorial with NetBeans. I create the examples on myself as mentioned in the tutorial. Currently, i m working on savingsAccount EJB. My problem is, on creating DB.
    I write
    asant -buildfile create-db.xmlas mentioned in tutorial.
    My root folder is D:\Trupti\Tutorials\J2EE-NB TUTORIAL\Projects
    I copied the common.properties & database.properties in my root folder. I needed to change my appserv folder, i did. Now still what is missing, y does it give this error msg. Where am i going wrong. If anybody can help would be really appreciative.
    On Dos prompt it gives as -
    D:\Trupti\Tutorials\J2EE-NB TUTORIAL\Projects\savingsAccount>asant -buildfile cr
    eate-db.xml
    Buildfile: create-db.xml
    startDB:
         [java] Server started, listening on port 9092, display level: 0 ...
    run:
         [java] *****************************************************************
         [java] -driver     com.pointbase.jdbc.jdbcUniversalDriver
         [java] -url        jdbc:pointbase:embedded:sample
         [java] -script     <none>
         [java] -user       PBPUBLIC
         [java] -password   PBPUBLIC
         [java] -autocommit true
         [java] -prompt2    true
         [java] -spoolfile  <none>
         [java] -silent     false
         [java] *****************************************************************
         [java] Database SAMPLE does not exist or cannot be found in database home \
    pointbase\databases specified either specify database.home=<folder> in pointbase
    .ini or use the <URL>;database.home=<folder> to indicate the database folder. po
    intbase.ini should be available in the current folder or you can specify the loc
    ation for pointbase.ini with java -D:property=value where "property" is pointbas
    e.ini and "value" is <path>pointbase.ini.
         [java] Java Result: -1
    BUILD SUCCESSFUL
    Total time: 3 seconds
    D:\Trupti\Tutorials\J2EE-NB TUTORIAL\Projects\savingsAccount>I hope i get some solution to it asap. If anybody has idea, which is the right forum for this question, please inform me.
    Thanks
    Trupti

    Well Lan, Yes I am using J2EE 1.4 Tutorial with Netbeans Version - the tutorial is specially designed to work with NetBeans & Sun AppSer.
    The tutorial says to run this command on command line. Here is the
    text from the tutorial that explains steps to create database:-
    Running the SavingsAccount Example
    Before you run this example, you have to create the database and deploy the
    SavingsAccount.jar file.
    Creating the Sample Database
    The instructions that follow explain how to use the SavingsAccountBean example
    with PointBase, the database software that is included in the Application
    Server bundle.
    1. In the IDE, choose Tools��PointBase Database��Start Local PointBase Database.
    2. Create the database tables by running the create.sql script.
    a. Make sure that the appsrv.root property in your
    <INSTALL>/j2eetutorial14/examples/ file points to the location of
    your local Application Server installation. ********* HERE MY FOLDER POINTS TO THE SERVER ************
    b. In a terminal window, go to this directory:
    <INSTALL>/j2eetutorial14/examples/ejb/savingsaccount/
    c. Type the following command, which runs the create.sql script:
    asant -buildfile create-db.xml
    3. In the Runtime window, expand the Databases node, right-click the
    jdbc:pointbase:server://localhost:9092/sun-appserv-samples
    node, and choose Connect. Type pbpublic as the password and click OK.
    Once the connection is established, expand the connection node�fs Tables node. There should be a node for the SAVINGSACCOUNT table.
    iS THEIR ANY OTHER WAY to run the create.sql script directly.
    Thanks
    Trupti

  • FILE not found error: j2ee/home/applib/applications-mapping.xml (No such fi

    Hi EveryBody
    i have my applications-mapping.xml file already in the applib directory, but when i try to conect to a remote ejb i had this error[b]
    FILE not found error: j2ee/home/applib/applications-mapping.xml (No such file or directory)
    can anyone help??

    gday
    Is the error on the client or server?
    What role in the application does applications-mapping.xml fulfill?
    How are you loading the file in?
    -steve-

Maybe you are looking for

  • How can i add a jpeg image in a label of my frame !

    hi! i wana to add a jpeg image to my frame in a label !! can you please help em ! thanks

  • Applet access denied  with Tomcat 4.1.29 -- Plz Help

    I searched for answers in the forum and used the jarsigner to certify an applet that uses Oracle thin driver. Modified the catalina.policy to: grant {         permission java.security.AllPermission; permission java.net.SocketPermission "127.0.0.1:102

  • Can't access Cruzer Extreme 16GB USB 3.0

    Strange thing happened to my Cruzer. When I attach it to USB port I hear that characteristic sound that something is plugged. In Device Manager it appears almost instant. But when I open My Computer most of the time I see nothing. When my Cruzer deci

  • Cannot Erase Macbook HDD (Resource problem)

    Going to switch on my Macbook this evening, I found it hanging at the Apple Logo. This being familiar from my recent iMac problems I booted from the Leopard install disc, ran Disk Utility and discovered "node errors" Not to worry, I'd just backed up,

  • HP recovery manager and windows update

    Hi, I am having two problems: 1.  I have been having problem with my Recovery Manager, everytime I try to start it, it gives an error window "HP recovery manager has stopped working" and then it shuts the Recovery Manager down.  Please advise. 2.  In