Error starting sun app server 8.1

I created a user ossj using the usermanager utility
imqusermgr add -u ossj -p ossj -g admin
I then made the following changes in accesscontrol.properties to allow only ossj user to create connections
# service connection access control
#connection.NORMAL.allow.user=*
connection.NORMAL.allow.user=ossj
connection.ADMIN.allow.group=admin
When i start the default server i get the following error in the server instance log. what could be the error due to
[#|2005-11-03T11:06:07.903+0530|WARNING|sun-appserver-pe8.1_02|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-11-03T11:06:07.918+0530|INFO|sun-appserver-pe8.1_02|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:\WINDOWS\system32;C:\WINDOWS;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:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\ActivCard\ActivCard Gold\resources;C:\TIBCO\TIBRV\BIN;C:\Sun\AppServer\bin;C:\j2sdk1.4.2_09\bin;C:\Sun\AppServer\bin;x�
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-cp
C:/Sun/AppServer/jdk/lib/tools.jar;C:/Sun/AppServer/lib/appserv-rt.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-11-03T11:06:13.637+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.jms|_ThreadID=10;|JMS5023: JMS service successfully started. Instance Name = imqbroker, Home = [C:\Sun\AppServer\imq\bin].|#]
[#|2005-11-03T11:06:13.637+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5098: AS Socket Service Initialization has been completed.|#]
[#|2005-11-03T11:06:14.293+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM0001:MBeanServer initialized successfully|#]
[#|2005-11-03T11:06:14.746+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.security|_ThreadID=10;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]
[#|2005-11-03T11:06:15.434+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server server|#]
[#|2005-11-03T11:06:15.434+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|Created virtual server __asadmin|#]
[#|2005-11-03T11:06:16.262+0530|INFO|sun-appserver-pe8.1_02|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-11-03T11:06:16.262+0530|INFO|sun-appserver-pe8.1_02|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-11-03T11:06:16.262+0530|INFO|sun-appserver-pe8.1_02|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-11-03T11:06:17.137+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.transaction|_ThreadID=10;|JTS5014: Recoverable JTS instance, serverId = [3700]|#]
[#|2005-11-03T11:06:20.980+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1079: Initialization of AMX MBeans successful|#]
[#|2005-11-03T11:06:22.402+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: MEJBBean; containerId: 74087382592585728|#]
[#|2005-11-03T11:06:23.043+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [MEjbApp] loaded successfully!|#]
[#|2005-11-03T11:06:23.433+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TimerBean; containerId: 74087383227236352|#]
[#|2005-11-03T11:06:24.074+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]|#]
[#|2005-11-03T11:06:24.074+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!|#]
[#|2005-11-03T11:06:24.277+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TroubleTicketKeyResultIterator; containerId: 74087870684332034|#]
[#|2005-11-03T11:06:24.465+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: XmlResponseIterator; containerId: 74087870684332038|#]
[#|2005-11-03T11:06:24.621+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: XVTTroubleTicketSession; containerId: 74087870684332037|#]
[#|2005-11-03T11:06:24.793+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: JVTTroubleTicketSession; containerId: 74087870684332032|#]
[#|2005-11-03T11:06:24.933+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: TroubleTicketValueIterator; containerId: 74087870684332035|#]
[#|2005-11-03T11:06:25.027+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|Instantiated container for: ejbName: XVTMessageDrivenBean; containerId: 74087870684332036|#]
[#|2005-11-03T11:06:25.215+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=10;|JMS Service Connection URL is :mq://ALK4WKS47.digitalindiasw.net:7676/,|#]
[#|2005-11-03T11:06:25.293+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=10;|MQRA:RA:start:createConnection JMSSecurityException:[C4084]: User authentication failed: user=guest, broker=ALK4WKS47.digitalindiasw.net:7676(3893)|#]
[#|2005-11-03T11:06:25.308+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=10;|
com.sun.messaging.jms.JMSSecurityException: [C4084]: User authentication failed: user=guest, broker=ALK4WKS47.digitalindiasw.net:7676(3893)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(ProtocolHandler.java:819)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:749)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:679)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.java:416)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1979)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:315)
     at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
     at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl.java:32)
     at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:65)
     at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:43)
     at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:196)
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:102)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:98)
     at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:104)
     at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:65)
     at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
     at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:408)
     at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:208)
     at com.sun.enterprise.connectors.ConnectorServiceImpl.loadDeferredResourceAdapter(ConnectorServiceImpl.java:215)
     at com.sun.enterprise.connectors.ConnectorRuntime.loadDeferredResourceAdapter(ConnectorRuntime.java:864)
     at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:128)
     at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
     at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
     at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
     at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
     at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
     at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:180)
     at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
     at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2005-11-03T11:06:25.308+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=10;|RAR6035 : Resource adapter start failed : {0}
javax.resource.spi.ResourceAdapterInternalException: MQRA-start:Error:createConnection failed:aborting
     at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:205)
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:102)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:98)
     at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:104)
     at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:65)
     at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
     at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:408)
     at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:208)
     at com.sun.enterprise.connectors.ConnectorServiceImpl.loadDeferredResourceAdapter(ConnectorServiceImpl.java:215)
     at com.sun.enterprise.connectors.ConnectorRuntime.loadDeferredResourceAdapter(ConnectorRuntime.java:864)
     at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:128)
     at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
     at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
     at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
     at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
     at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
     at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:180)
     at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
     at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: com.sun.messaging.jms.JMSSecurityException: [C4084]: User authentication failed: user=guest, broker=ALK4WKS47.digitalindiasw.net:7676(3893)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(ProtocolHandler.java:819)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:749)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:679)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.java:416)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1979)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:315)
     at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
     at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl.java:32)
     at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:65)
     at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:43)
     at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:196)
     ... 21 more
|#]
[#|2005-11-03T11:06:25.308+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;|MDB00017: [XVTMessageDrivenBean]: Exception in creating message-driven bean container: [com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting]|#]
[#|2005-11-03T11:06:25.308+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;|com.sun.enterprise.connectors.ConnectorRuntimeException
com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:124)
     at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:104)
     at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:65)
     at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
     at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:408)
     at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:208)
     at com.sun.enterprise.connectors.ConnectorServiceImpl.loadDeferredResourceAdapter(ConnectorServiceImpl.java:215)
     at com.sun.enterprise.connectors.ConnectorRuntime.loadDeferredResourceAdapter(ConnectorRuntime.java:864)
     at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:128)
     at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
     at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
     at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
     at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
     at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
     at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:180)
     at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
     at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: javax.resource.spi.ResourceAdapterInternalException: MQRA-start:Error:createConnection failed:aborting
     at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:205)
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:102)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:98)
     ... 18 more
Caused by: com.sun.messaging.jms.JMSSecurityException: [C4084]: User authentication failed: user=guest, broker=ALK4WKS47.digitalindiasw.net:7676(3893)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(ProtocolHandler.java:819)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:749)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:679)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.java:416)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1979)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:315)
     at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
     at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl.java:32)
     at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:65)
     at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:43)
     at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:196)
     ... 21 more
|#]
[#|2005-11-03T11:06:25.308+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|EJB5090: Exception in creating EJB container [com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting]|#]
[#|2005-11-03T11:06:25.308+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.ejb|_ThreadID=10;|appId=ossj_tt_ri moduleName=ossj_tt_riEjb_jar ejbName=XVTMessageDrivenBean|#]
[#|2005-11-03T11:06:25.308+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5004: UnExpected error occured while creating ejb container
com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to start resource adapter : MQRA-start:Error:createConnection failed:aborting
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:124)
     at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.<init>(ActiveJmsResourceAdapter.java:104)
     at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:65)
     at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
     at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:408)
     at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:208)
     at com.sun.enterprise.connectors.ConnectorServiceImpl.loadDeferredResourceAdapter(ConnectorServiceImpl.java:215)
     at com.sun.enterprise.connectors.ConnectorRuntime.loadDeferredResourceAdapter(ConnectorRuntime.java:864)
     at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:128)
     at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
     at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
     at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
     at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
     at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
     at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:180)
     at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
     at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
     at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
     at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: javax.resource.spi.ResourceAdapterInternalException: MQRA-start:Error:createConnection failed:aborting
     at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:205)
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter$1.run(ActiveInboundResourceAdapter.java:102)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.enterprise.connectors.ActiveInboundResourceAdapter.<init>(ActiveInboundResourceAdapter.java:98)
     ... 18 more
Caused by: com.sun.messaging.jms.JMSSecurityException: [C4084]: User authentication failed: user=guest, broker=ALK4WKS47.digitalindiasw.net:7676(3893)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.authenticate(ProtocolHandler.java:819)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:749)
     at com.sun.messaging.jmq.jmsclient.ProtocolHandler.hello(ProtocolHandler.java:679)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.hello(ConnectionImpl.java:416)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1979)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)
     at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:315)
     at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
     at com.sun.messaging.jmq.jmsclient.XAConnectionImpl.<init>(XAConnectionImpl.java:32)
     at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:65)
     at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:43)
     at com.sun.messaging.jms.ra.ResourceAdapter.start(ResourceAdapter.java:196)
     ... 21 more
|#]
[#|2005-11-03T11:06:25.527+0530|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|CORE5021: Application NOT loaded: [ossj_tt_ri]|#]
[#|2005-11-03T11:06:25.527+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0302: Starting Sun-Java-System/Application-Server.|#]
[#|2005-11-03T11:06:25.621+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at []|#]
[#|2005-11-03T11:06:25.699+0530|WARNING|sun-appserver-pe8.1_02|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-11-03T11:06:25.871+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [web1]|#]
[#|2005-11-03T11:06:25.902+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [asadmin]|#]
[#|2005-11-03T11:06:25.918+0530|WARNING|sun-appserver-pe8.1_02|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-11-03T11:06:25.918+0530|INFO|sun-appserver-pe8.1_02|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-11-03T11:06:26.027+0530|INFO|sun-appserver-pe8.1_02|org.apache.catalina.core.StandardEngine|_ThreadID=10;|Starting Servlet Engine: Sun-Java-System/Application-Server|#]
[#|2005-11-03T11:06:27.262+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
[#|2005-11-03T11:06:27.277+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8080|#]
[#|2005-11-03T11:06:27.371+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
[#|2005-11-03T11:06:27.371+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 8181|#]
[#|2005-11-03T11:06:27.418+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0703: Initializing Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
[#|2005-11-03T11:06:27.418+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=10;|WEB0712: Starting Sun-Java-System/Application-Server-PE HTTP/1.1 on 4848|#]
[#|2005-11-03T11:06:27.933+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1501: Here is the JMXServiceURL for the JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://ALK4WKS47.digitalindiasw.net:8686/management/rmi-jmx-connector]. This is where the remote administrative clients should connect using the JSR 160 JMX Connectors.|#]
[#|2005-11-03T11:06:27.933+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1502: Status of System JMX Connector: Active = [true]|#]
[#|2005-11-03T11:06:27.980+0530|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Application server startup complete.|#]
**********************************************************

I have the same exception, even though my java home is:
c:/java/jdk1.5.0_04/
I checked the asenv.bat file and it has the same home directory. WITH NO SPACES.
set AS_JAVA=C:\Java\jdk1.5.0_04\
I appreciate any help regarding this issue!!

Similar Messages

  • Deployment error with sun app server 8.2

    hi,
    i'm a newbieto java programming.
    i'm following the j2ee tutorial.
    but i'm stuck when deploying
    could anyone help me on this?
    thanks in advance.
    Distributing /opt/CustomerBook/dist/customerbook.ear to [localhost:4848_server]
    Unable to construct properties list for: getConnectionPoolProperties
    deployment started : 0%
    Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    /opt/CustomerBook/nbproject/build-impl.xml:219: Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    BUILD FAILED (total time: 2 minutes 54 seconds)
    EXECUTION SECTION
    =================
    line 219:
    ** <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}" debugmode="false"/>**

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • Sun App server can't start

    Hello,
    I've got Sun One Studio and I can't start the Application Server. I have created a domain like this int the command prompt :
    asadmin> create-domain path /global/appserver  adminport=4848 adminuser xxx adminpassword xxx scdomain
    Domain scdomain successfully
    But when I start the server, I've got a message :
    Le service Sun App Server 7 Admin Server (domain1:admin-server) d�marre.....
    Le service Sun App Server 7 Admin Server (domain1:admin-server) n'a pas pu �tre
    lanc�.
    Le service n'a pas signal� d'erreur.
    Vous obtiendrez une aide suppl�mentaire en entrant NET HELPMSG 3534.
    C:\Sun\jstudio\AppServer7\domains\domain1\admin-server\bin>net helpmsg 3534
    Le service n'a pas signal� d'erreur.
    In english, it is said that the server can't have been started. And there isn't any error ...
    Whith Sun Studio one, I've got this message :
    Could not start the instance
    server failed to start: abnormal subprocess termination
    Can somenone help me please ?
    Thanks in advance.

    OK thanks caseylou. The server.log file contains that :
    [12/Oct/2004:14:29:02] INFO ( 2612): CORE1116: Sun ONE Application Server
    [12/Oct/2004:14:29:03] FATAL ( 2612): CORE4005: Internal error: unable to create JVM
    [12/Oct/2004:14:29:03] SEVERE ( 2612): CORE4009: Failed to load JVM (check your JRE)
    [12/Oct/2004:14:29:03] SEVERE ( 2612): CORE3187: Late initialization failed: Error running init function(late) init-j2ee: unknown error
    Sorry, I have created two topics in the forum (J2SE and J2EE) because on the J2SE I have been recommended this forum.
    Maybe it is better to continue on the first topic ?
    http://forum.java.sun.com/thread.jsp?forum=17&thread=561619&tstart=0&trange=15
    Sorry for "flooding".

  • Fedora core 6 sun app server won't start

    Sun app server 8.2 bundled with creator 2u1 doesn't start. This install was running fine under fc5. Among other things I get the following with pe-start -reset which I think might be the crust of the problem:
    "Unable to read system environment. No system environment will be used."
    Any help appreciated.

    Exported projects to nb5.5 with visual-web pack and after fixing datasources and libraries things are working again. Could not find a solution for Creator2 on Fedora Core 6. Thanks anyway.

  • Sun App Server 8.1 and 8.2 could not start

    Hi friends, thank for various suggestions. pls i'm having problem with Sun App Server 8.1 and 8.2. I installed Portal 7 on Red Hat Enterprise Linux 3 and also Sun Portal 6 on Suse Linux 9. The problem is that App server keep giving Login exception after using them for a while. The details is given below:
    after typing ./asadmin start-domain --user admin domain1. Instead of it to give me the password prompt, it threw the following exception:
    INFO: SEC5046: Audit: Authentication refused for [admin]
    Login Failed javax.security. auth.login.LoginException: Failed file for login admin
    CL1156 could not start the domain domain1.
    I always login to the O/S as root.
    Any suggestion will be highly appreciated. Thanks

    Thanks very much kedar.mhaswade for your suggestions.
    I do not have a regular access to the Internet, I
    would have gotten back earlier than this, so i'm
    sorry. Anyway, i checked the content of
    ~/.asadminprefs and the password is not the same with
    the one i'm using. I found the default password
    supplied by Sun but I don't think this could be the
    problem. I'm actually using the App server that is
    bundled with Sun Portal 6 and 7 and so i supplied my
    own password during installation and i've logged in
    several times after installation. It just failed in
    one of those logins and had stopped working since. I
    always encountered the same problem either when using
    Sun Portal 7 or 6 on Red Hat ES 3 and Suse 9
    respectively.
    I'm posting the content of admin-keyfile as you
    requested:
    admin;{SSHA}Qf/m4KEBDPojsP1mkjywE5XZA6SPh7i8WQmV/A==;a
    sadmin
    # Domain User and Password - Do Not Delete Entry
    Above
    So i will so much appreciate your help and i wouldn't
    mind if you could send me your phone number. Thanks.Hi tolulike,
    Even if you supplied your own password, we have this developer friendly
    feature that has side effects that are at times hard to diagnose. Can you
    please
    - rename the .asadminprefs file and make sure that there is no .asadminprefs file in your home directory?
    - attempt to start the domain.
    You should be prompted for the password.
    The idea is that when you've got that file and that entry AS_ADMIN_PASSWORD in your home directory, asadmin will read it
    from there and you land in this (unfortunate) situation.
    Obviously doing this might have some side effects with other domains. This
    is because for all domains, asadmin reads this file as a last resort. So,
    it might so happen that this file is actually required for functioning of your
    other domains.
    But now you know when this file is used, so there is no mystery (hopefully).
    Let me know if this works.
    Thank you.
    Kedar

  • Sun app server problem using asadmin tool

    I have installed sun app server and trying to do the simplemessage tutorial. When I run the
    ant create-cfcommand I get the following
    [exec] Invalid user or password
    [exec] CLI137 Command create-jms-resource failed.I have put an echo line in app-server-ant.xml to see what the command is and it is.
    [echo] c:/Sun2/SDK/bin/asadmin.bat create-jms-resource --user admin  --passwordfile C:/Sun2/SDK/javaee-5-doc-tutorial-1.0_03/javaeetutorial5/examples/common/admin-password.txt --host localhost --port 4850 --restype javax.jms.ConnectionFactory --enabled=true jms/ConnectionFactoryI have checked the password file and it is
    AS_ADMIN_PASSWORD=adminadminAny ideas?
    I have checked around about using parameter password but when running this I get an error saying this is not valid and that I should use passwordfile
    Kelvin

    You haven;t specified the exceptions you r getting ........while starting your default server.
    if u r getting exception about InetClass then connect your system with LAN/Internet then your problem will be solved becoz i m using same location address as you specified, space doesn't matter at all - i think so, it is running fine........

  • Exceptions trying to run JSF on Sun App Server

    Hi!
    I have downloaded the Sun App Server and am trying to run the JSF Sample on it. The first page comes up fine, and when I enter data, it processes but does not come back with the response. I get the following errors:
    java.lang.ClassNotFoundException: com.sun.faces.application.StateManagerImpl$TreeNode
    java.lang.ClassNotFoundException: com.sun.faces.application.WebappLifecycleListener
    java.lang.IllegalStateException: No FacesContext is available to process this request.
    Not sure if this is the right forum..
    Thanks

    Make sure you started the default server. Try
    http://localhost:8080. This will allow you to see if the appserver is running. The first page is a jsp an will run regardless of if the server is running. To start the defaul server look at you windows menu under Sun Microsystems.

  • "Message Driven Bean" doesn't work with Sun App Server

    Hello all,
    i have a little bit problems, running a simple "Message Driven Bean" under the Sun App Server. The deployment of it works fine, but after starting the SUN App Server i get the following error message:
    An error occurred during the message-driven beancontainer initialization at runtime. The most common cause for this is that the physical resource(e.g. Queue) from which the message-driven bean is consuming either does not exist or has been configured incorrectly. Another common error is that the message-driven bean implementation class does not correctly implement the required javax.ejb.MessageBean or MessageListener interfaces.
    Has anybody a workaround for this problem?
    The queue seems to be correctly installed. A simple client programm from the Sun Tutorial (Consumer & Producer) works fine without any Errors or Exceptions.
    I am a little bit confused, because the queue seems to work with the client programms but not with a MDB running on the SUN App Server.
    Thanks for you help!
    Greetings
    Manuel

    Hello Mr Manuel!
    could you plz help me with the steps for creating a message driven bean using netbeans ver 5.0(with Sun Java� System Application Server Platform Edition 8.2 )
    I just know how to work with Session beans & Entity Bean, and am try to learn to work on Message Driven Beans too. there are no proper tutorials where i can find steps for creating these..
    I need the steps from the scratch.,like creating QueueConnection Factory & Destination etc..
    It will be gr8 if you can help me with this at the earliest .
    Thank you
    Bye

  • Problem of Starting Sun Application Server

    Hi,
    I just downloaded
    j2eesdk-1_4_02_2005Q2-windows.exe
    to my windows machine and insatlled it.
    When I started the verifying of Server by going to "Start menu, choose Programs -> Sun Microsystems -> Application Server PE-> Start Default Server", I did get the message as follows:
    "Domain domain1 is ready to receive client requests. Additional services are being started in the background.....Press any key to continue"
    But when I ran "http://localhost:8080", I got an error page with something like "can't find the web site".
    I even tried to use "http://my real IP address here:8080", and I got the same error.
    When I went to "Programs -> Sun Microsystems -> Application Server PE-> Stop Default Server", I got the message like:
    "The domain <domain1> isn't running.
    CLI157 COuld not stop the domain domain1."
    Could anyone tell me what might be the problem? Do I need to set up something somewhere else?
    Thanks a lot

    What does you server.log file say? I should be in you app server directory /domains/domain1/log. Try to clear it out and start the app server fresh.
    Mike

  • Installing sun apps server 7 on redhat 7.3

    Firstly I have redhat 9 so can I install the sunapps server 7 on redhat 9 ?
    secondly
    can I install sun apps server 7 on atleast redhat 7.3?
    the document with sun apps says that I can install sun apps server 7 on 7.2
    regards
    Mishra

    Hey Paul,
    I'm having problems just installing SUN ONE AS Standard Edition 7.0 on my Redhat 7.2 as ROOT. Did you not get any problems even starting it. It installed okay, but when I initially ran the script to start it (./asadmin start-appserv)... it kept crapping out. I did notice some JMS errors in the log, but I haven't come across any documentation on possible bugs. Thanks in advance,
    Tak.

  • Sun app server 8.1 vs 8.2 for jsf 1.1

    Currently we have download sun studio creator 2 which comes with sun app server 8.1 as its default server. We want to make our default server in studio creator 2 as app server 8.2, since our production environment is running on 8.2.
    Any help will be appreciated.

    I experienced this error on an application (not jsf), but it was something silly in the end. There may be a bug with JSF in 8.1 but I would just check the obvious before you start delving into the depths of the code.
    Are you calling the app with http://localhost/AppA and the posting to http://svr03/AppA ?
    Set the web.xml file to point to an HTTP file (leave everything else as is) what happens?
    Simon

  • HELP - Can't connect to Sun App Server

    Hi,
    I'm confused. The Sun App Server documentation states that the protocol to use in the JNDI context lookup is jms or tcpjms, and that the service runs on port 7676:
    javax.naming.ConfigurationException: Invalid URL: jms://localhost:7676 [Root exception is java.net.MalformedURLException: unknown protocol: jms]
    When I use the other (commented-out) line: iiop://localhost:3700, I get a different error (and I don't think this is the protocol I want to use anyway).
    JNDI API lookup failed: javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
    javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
    So which is it?? Here is my code...thanks in advance for your help!
    package com.tpc.jms.simpleProducer;
    import javax.jms.*;
    import javax.naming.*;
    import java.util.Hashtable;
    import java.util.Properties;
    public class SimpleJMSTest {
    // public static final String PROVIDER_URL = "iiop://localhost:3700";
    public static final String PROVIDER_URL = "jms://localhost:7676";
    public static final String CONTEXT_FAC = "com.sun.jndi.cosnaming.CNCtxFactory";
    public static void main (String argv[]) {
    try {
    Properties properties = new Properties();
    properties.put(Context.PROVIDER_URL, PROVIDER_URL);
    properties.put(Context.INITIAL_CONTEXT_FACTORY, CONTEXT_FAC);
    properties.put(Context.SECURITY_PRINCIPAL, "guest");
    properties.put(Context.SECURITY_CREDENTIALS, "guest");
    InitialContext initialCtx = new InitialContext(properties);
    System.out.println("Good!");
    //TopicConnectionFactory topicConnFactory = (TopicConnectionFactory) initialCtx.lookup (fac);
    //Topic nasdaqTopic = (Topic)initialCtx.lookup(topic);
    /* System.out.println("Creating topic connection");
    TopicConnection topicConnection = topicConnFactory.createTopicConnection();
    topicConnection.start ();
    System.out.println("Creating topic session: not transacted, auto ack");
    TopicSession topicSession = topicConnection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    System.out.println("Creating topic, subscriber");
    TopicSubscriber nasdaqTopicSubscriber = topicSession.createSubscriber (nasdaqTopic);
    System.out.println ("Ready to subscribe for messages :");
    nasdaqTopicSubscriber.setMessageListener(new SubscriberListener());*/
    catch (Exception e) {
    e.printStackTrace ();
    }

    Hi,
    First of all, you don't use iiop in JMS.
    And also for your problem, did you by any chance forget to create your connectionfactory in the application server?

  • Problem with sun app server startup

    hi,
    i am getting problem with sun app server default start.the error is::
    [#|2006-03-01T13:54:35.121+0530|WARNING|sun-appserver-pe8.2|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.  |#]
    now i am useing Win Xp operating system,
    show me a solution.
    Regs..
    Narasimha

    You haven;t specified the exceptions you r getting ........while starting your default server.
    if u r getting exception about InetClass then connect your system with LAN/Internet then your problem will be solved becoz i m using same location address as you specified, space doesn't matter at all - i think so, it is running fine........

  • How to install j2ee sun app server 8.0 in debain linux

    hi guys
    i am new to linux and i have downloaded the j2ee sun app server 8.0(linuxversion) from sun.java
    in sun.java documentation says first we have to change the mode to excecutable
    then he is saying to do this
    1. To run the installation program that uses a graphical interface, at the command prompt type the name of the bundle file at the command prompt.
    2.To run the installation program that uses the command-line interface, at the command prompt type the name of the bundle file followed by the -console option.
    after chmod + x <bundle name >
    the next step i am not able to do it
    what to do next
    any suggestions
    regards
    sandeep

    Hi rlubke
    Thanks for the suggestion
    1.Change the permission of the bundle file so that you have execute access:
    chmod +x <bundle-file-name>
    2. To run the installation program that uses a graphical interface, at the command prompt type the name of the bundle file at the command prompt.
    3.To run the installation program that uses the command-line interface, at the command prompt type the name of the bundle file followed by the -console option.
    Step 1. After chmod + x <bundle name >
    Step 2. sun/appserver/# <bundle name>
    bash: <bundle name>: command not found
    Step 3. sun/appserver# <bundle name>
    bash: <bundle name#>: command not found
    any suggestions
    i have done what u have said now
    Step 1. After chmod + x <bundle name >
    Step 2. sun/appserver/#./ <bundle name>
    Checking available disk space....
    Checking Java(TM) 2 Runtime Environment...
    Extracting Java(TM) 2 Runtime Environment files...
    Extracting installation files...
    Launching Java(TM) 2 Runtime Environment....
    Error: There are no files requiring installation.
    Deleting Temporary files...
    Step 3. sun/appserver# <bundle name>
    Checking available disk space....
    Checking Java(TM) 2 Runtime Environment...
    Extracting Java(TM) 2 Runtime Environment files...
    Extracting installation files...
    Launching Java(TM) 2 Runtime Environment....
    Error: There are no files requiring installation.
    Deleting Temporary files...
    this is what happening excatly

  • Integrating Sun App Server with WebSphere MQ

    Hi,
    I am using Sun App server V8.1 . I also have a websphere MQ v5.3 installed in my system. I want to integrate this MQ with the App server.
    I created a queueManager and a Queue in MQ and using the JMSAdmin console of the Mq, i created jndi lookup resources using INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
    In the application server side, i created a Resource adapter using the command:
    create-resource-adapter-config --property SupportsXA=true:ProviderIntegrationMode=jndi:RMPolicy=OnePerPhysicalConnection:JndiProperties=java.naming.factory.url.pkgs\\=com.ibm.mq.jms.naming,java.naming.factory.initial\\=com.sun.jndi.fscontext.RefFSContextFactory,java.naming.provider.url\\=file\\:D\\:\\MQ:LogLevel=finest mqra
    Then i deployed this resource adaptor using the command :
    deploy name mqra target server "D:\Sun\AppServer\lib\addons\resourceadapters\genericjmsra\genericra.rar"
    Using this resource adapter i created a connection pool, connector resource and an admin object using the commands
    create-connector-connection-pool raname mqra connectiondefinition javax.jms.QueueConnectionFactory transactionsupport  XATransaction property ConnectionFactoryJndiName=MQQCF mymqpool
    create-connector-resource --poolname mymqpool jms/MyMqQCF
    create-admin-object raname mqra restype javax.jms.Queue --property DestinationJndiName=RTQueue jms/MyMqQueue
    After that, i wrote a java code to lookup these resources and put a message into the queue.
    This is the snippet of my java code
    InitialContext ic = new InitialContext();
    QueueConnectionFactory cnxFact = (QueueConnectionFactory)ic.lookup("jms/MyMqQCF");
    Queue qu = (Queue)ic.lookup("jms/MyMqQueue");
    try {               
    QueueConnection qConn = cnxFact.createQueueConnection();
    QueueSession qSess = qConn.createQueueSession(false,Session.AUTO_ACKNOWLEDGE);
    QueueSender qSend = qSess.createSender(qu);
    TextMessage msg = qSess.createTextMessage();
    msg.setText("1");
    qSend.send(msg);
    qConn.close();
    I am getting an exception in the line, QueueConnection qConn = cnxFact.createQueueConnection();
    here is the stack trace
    java.lang.ClassCastException: com.ibm.mq.jms.MQQueueConnectionFactory
    at com.sun.genericra.outbound.ManagedQueueConnectionFactory.createXAConnection(ManagedQueueConnectionFactory.java:45)
    at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createPhysicalConnection(AbstractManagedConnectionFactory.java:127)
    at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createManagedConnection(AbstractManagedConnectionFactory.java:111)
    at com.sun.enterprise.resource.ConnectorAllocator.createResource(ConnectorAllocator.java:90)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedResource(IASNonSharedResourcePool.java:437)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:355)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:250)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:213)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:174)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:286)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:145)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:121)
    at com.sun.genericra.outbound.ConnectionFactory.createConnection(ConnectionFactory.java:69)
    at com.sun.genericra.outbound.ConnectionFactory.createQueueConnection(ConnectionFactory.java:101)
    Can anybody help???

    bump
    update:
    So to avoid this problem I added spring.jar to the server classpath. that got rid of this message but then it started complaining that its missing struts2 core jar..i added that in server classpath as well...I did same for 4 other files and in the end it said 'bean for xwork has already been initialized' (because all these jars are in the application as well).
    So I am stuck. if I add all jars to server classpath..it says beans have already been initialized. If I take out the jars from server classpath then it says that stuff is missing (eg. contextLoader.properties missing - orig post)
    again, all this goes away when I restart the server..so i am just trying to avoid having to restart server every code change.

Maybe you are looking for

  • Production in other plant

    Hi All, I have the following scenario, Sales Order is raised in the distribution plant and saved, This  leads to the stock transfer purchase requisition to the manufacturing plant, simultaneously the requirement is triggered in the produciton plant.

  • Functional area wise Financial statement version

    Hi Friends I have created Financial Statement version with functional areau2019s and i have assigned all function areas in FSV. But when I run F.01, I am unable to get functional area wise report. Can anybody tell me, where I am missing..?.  Is there

  • Problem centering page when printing: Lion and CS 5

    Just installed Apple's Lion. Am running Illustrator CS 5. Went to print a file, chose the center on page option from the new icon in Adobe's Print dialog box. The page does not print centered on the paper. It prints way off! I can get the page to pri

  • How to set color depth to Bitmap image with Java advance Imaging

    i have to convert image one format ot bmp format and also set the color depth as 1 bit , 4 bit , 8 bit, 16 bit, 32 bit of image. has any one done this before. please help me out .

  • API design style I've never seen before - would you use it?

    I was Googling for examples of a "Bean Comparator" and came across this strange API design I've never seen before (is it just me?). I'm curious if you have seen it before and what you think about it? [http://cojen.sourceforge.net/apidocs/org/cojen/ut