[JNDI/Naming/Network] - Datasource Problem
by akmal
Hi,
i am trying to deploy a project in Myeclips with Jboss Server. I am facing the error for jndiname.
some one give me the solution.
Caused by: javax.naming.NameNotFoundException: @db.jndiname@ not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
... 119 more
12:49:30,796 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=@db.jndiname@' to JNDI name 'java:@db.jndiname@'
12:49:30,953 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/Shop/sl-server/metadata/ejb/jboss-ds.xml
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=@db.jndiname@
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995802#3995802
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995802
19 years, 4 months
[JNDI/Naming/Network] - Twiddle executions throws NameNotFoundException: jmx not bou
by mahendra_kutare
While trying to run twiddle on my Jboss 4.0.4 installation it throws the following error -
sh ./twiddle.sh -s 10.129.50.4 serverinfo --count
04:29:29,352 ERROR [Twiddle] Exec failed
org.jboss.util.NestedRuntimeException: jmx not bound; - nested throwable: (javax.naming.NameNotFoundException: jmx not bound) at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:143)
at org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCommand.java:59)
at org.jboss.console.twiddle.command.ServerInfoCommand.execute(ServerInfoCommand.java:130)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305)
Caused by: javax.naming.NameNotFoundException: jmx not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
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:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.console.twiddle.Twiddle.createMBeanServerConnection(Twiddle.java:250)
at org.jboss.console.twiddle.Twiddle.connect(Twiddle.java:268)
at org.jboss.console.twiddle.Twiddle.access$300(Twiddle.java:62)
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:139)
... 3 more
Can anyone please explain this and possible solution ?
- Mahendra
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995799#3995799
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995799
19 years, 4 months
[JBoss.NET] - NoClassDefFoundError: org/jboss/axis/encoding/ser/BaseSerial
by eogreen
Hello,
I am currently experiencing a perplexing error in attempting to run a straight Axis1.1 client on JBoss3.2.8. I have scoured the web for 2 days to productive end.
Here is my stack trace caught in createCall() in my soapbindingstub when invoked:
java.lang.NoClassDefFoundError: org/jboss/axis/encoding/ser/BaseSerializerFactory
| at java.lang.ClassLoader.defineClass0(Native Method)
| at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
| at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
| at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
| at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
| at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
| at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:219)
| at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:200)
| at java.security.AccessController.doPrivileged(Native Method)
| at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:179)
| at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:120)
| at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:2
| at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:372
| at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment
| at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:
| at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:325)
| at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:479)
| at org.apache.axis.client.Call.getTypeMapping(Call.java:2399)
| at org.apache.axis.client.Call.registerTypeMapping(Call.java:2436)
| at org.apache.axis.client.Call.registerTypeMapping(Call.java:2465)
| at com.amd.mte.axis.service.MTEWSSoapBindingStub.createCall(MTEWSSoapBindingStub.java:2
| at com.amd.mte.axis.service.MTEWSSoapBindingStub.get(MTEWSSoapBindingStub.java:303)
| at com.amd.catalyst.fdc.MTEInterface.retrieveData(MTEInterface.java:139)
| at com.amd.catalyst.fdc.MTEInterface.<init>(MTEInterface.java:54)
| at com.amd.catalyst.jacl.JCatalyst.FDCMTEInterface.test(FDCMTEInterface.java:52)
| 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 tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:128)
| at tcl.lang.JavaInvoke.call(JavaInvoke.java:304)
| at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:161)
| at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:916)
| at tcl.lang.Interp.callCommand(Interp.java:1266)
I have noted that:
org.jboss.axis.encoding.ser.BaseSerializerFactory
is present in the JBoss 4.0.2+ soap stack, but I am NOT using 4.0.2+
I have reviewed:
http://www.jboss.org/?module=bb&op=viewtopic&p=3876437
http://wiki.jboss.org/wiki/Wiki.jsp?page=WebServiceStacks
MY QUESTION: Where is the reference coming from in my 3.2.8 deployment to:
org.jboss.axis.encoding.ser.BaseSerializerFactory
??
There are no references to the org.jboss.axis package in any of the Axis code. This is has perplexed me (and colleagues) for the last 48+ hours (almost straight).
I would greatly appreciate any knowledge shared.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995797#3995797
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995797
19 years, 4 months
[JBoss Seam] - Change Locale sequence
by rengar
When change language, in an action in the same page catch old language, that have it before, with method "Locale.instance().getLanguage()"
I change language with localeSelector :
| <h:form id="selectLanguage">
| <h:selectOneMenu value="#{localeSelector.language}">
| <f:selectItems value="#{localeSelector.supportedLocales}"/>
| </h:selectOneMenu>
| <h:commandButton action="#{localeSelector.select}" value="#{messages['ChangeLanguage']}"/>
| </h:form>
|
After in action I have :
| String language = Locale.instance().getLanguage();
|
When change language the action is executed too.
I explain :
1º
View : Default "es" -> selectOneMenu = "español", properties = messages_es
Action : Locale.instance().getLanguage() = "es"
2º
View: Change "en" -> selectOneMenu = "English", properties = messages_en
Action: Locale.instance().getLanguage() = "es"
3º
View: Change "es" -> selectOneMenu = "español", properties = messages_es
Action: Locale.instance().getLanguage() = "en"
4º
View: Change "en" -> selectOneMenu = "English", properties = messages_en
Action: Locale.instance().getLanguage() = "es"
.
.
.
.
How change language before enter in my action?
Or any other idea?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995796#3995796
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995796
19 years, 4 months