"naveen26731" wrote : Hi, I deployed a startup class. It is not displaying the Message
given to attribute under user-service.xml file. Along with these i deployed
service-ejb's also. When i started jboss Server i am getting
javax.naming.NameNotFoundException: ConnectionFactory not bound error. Could any one
please help me to resolve these errors.
|
| | User-service.xml
| |
| | <classpath codebase="." archives="MyJbossStart.jar"/>
| | <mbean code="com.openpages.aurora.service.common.JBossStartup"
| | name="user:service=JbossService">
| | <attribute name="ServiceStartup">Jboss Statrup Struggling</attribute>
| | <depends>jboss.j2ee:service=EjbModule,module=service-ejbs.jar</depends>
| | </mbean>
| |
|
|
| | Code for startup class:
| |
| | package com.openpages.aurora.service.common;
| |
| | //import org.jboss.system.ServiceMBean;
| | import org.jboss.system.ServiceMBeanSupport;
| |
| | public class JBossStartup extends ServiceMBeanSupport implements
JBossStartupMBean {
| |
| | public String serviceStartup = "";
| |
| | public void startService() {
| |
| | try {
| | System.out.println("JBossStartup::startService()");
| | System.out.println("Name=|" + getName()+"|");
| | System.out.println("ServiceName=|" +
getServiceName()+"|");
| | System.out.println("Server=|" + getServer()+"|");
| | System.out.println("State=|" + getState()+"|");
| | System.out.println("SateString=|" +
getStateString()+"|");
| |
| | boolean isStarted = true;
| | if ( serviceStartup!= null ) {
| | isStarted = new
Boolean(serviceStartup).booleanValue();
| | System.out.println("Boolean object creation
failed");
| | }
| | System.out.println("Before
OpenpagesStartup::startup()");
| | OpenpagesStartup.startup(isStarted);
| | System.out.println("The Aurora environment was
initialized successfully");
| | } catch(Exception e) {
| | System.out.println(e);
| | }
| | }
| |
| | public String getServiceStartup() {
| | return serviceStartup;
| | }
| |
| | public void setServiceStartup(String serviceStartup) {
| | this.serviceStartup = serviceStartup;
| | }
| |
| | public void stopService() {
| | System.out.println("JBossStartup::stopService()");
| | }
| | }
| |
| |
|
|
| Error1:
| 10:47:31,777 WARN [ServiceController] Problem creating service
jboss.system:type=Log4jService,service=Logging
| java.lang.NoClassDefFoundError: javax/xml/parsers/FactoryConfigurationError
| at
org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jService.java:624)
|
|
| Error2:
| 0:47:49,746 INFO [StatelessSessionContainer] Started
jboss.j2ee:jndiName=TransformationService,service=EJB
| 0:47:49,762 ERROR [JMSContainerInvoker] Starting failed
| avax.naming.NameNotFoundException: DefaultJMSProvider not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
| at org.jnp.interfaces.NamingContext.lookup
|
|
|
| Error3:
| 10:47:52,855 ERROR [SecurityInterceptor] Authentication exception, principal=null
| 10:47:52,855 ERROR [LogInterceptor] EJBException, causedBy:
| java.lang.SecurityException: Authentication exception, principal=null
| at
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:164)
| at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:81)
| at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
| )
|
| Error4:
| 10:47:53,762 ERROR [CacheSynchronizer] The following exception occurred:
| javax.naming.NameNotFoundException: ConnectionFactory not bound
| at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)
| at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
| at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841838#3841838
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841838
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user