[JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException: Can't find prope
by jaikiran
As waynebaylor mentioned, the most likely reason is that the jndi.properties file is not being found in the classpath. Try out waynebaylor's suggestion. Furthermore, which version and implementation of Java are you using? When you start JBoss, it prints out the JDK information. I use JDK 5 from Sun and see this output when the server is starting:
| 16:37:22,464 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
| 16:37:22,480 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03,Sun Microsystems Inc.
| 16:37:22,480 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
What do you see on your system?
Also, you mention that your jndi.properties contains:
anonymous wrote : java.naming.factory.initial=org.jnp.interfaces.Nam ingContextFactory
I see a space between letters in "NamingContextFactory". Is this a typo while posting in the forum or is this the actual content in your jndi.properties file?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117501#4117501
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117501
18 years, 6 months
[JBossWS] - Re: Writing a client - no examples for BindingProvider based
by alessio.soldano@jboss.com
The EntityManager injection should work given you're using an EJB3 endpoint. I personally used it:
WS endpoint & EJB SLSB impl:
| @Stateless
| @WebService(name="TestCaricoWS",
| targetNamespace = "http://www.xxx.it/TestCarico",
| serviceName = "TestCaricoWSService")
| @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
| public class TestCaricoSessionBean implements TestCaricoInterface {
|
| @Resource
| private SessionContext ctx;
|
| @PersistenceContext(unitName = "TestCarico")
| private EntityManager manager;
|
| @TransactionAttribute(TransactionAttributeType.REQUIRED)
| @WebMethod(operationName="performTest")
| @Oneway
| public void performTest(@WebParam(name="uffa") Uffa uffa) {
| Query query = manager.createQuery("from TestCarico where cdTestCarico>=:from and cdTestCarico<=:to");
| query.setParameter("from", uffa.getFrom());
| query.setParameter("to", uffa.getTo());
| List<TestCarico> entities = query.getResultList();
| ....
|
Interface:
| @Local
| public interface TestCaricoInterface {
|
| public void performTest(Uffa uffa) throws Exception;
| ....
|
Datasource:
| <?xml version="1.0" encoding="UTF-8"?>
| <datasources>
|
| <xa-datasource>
| <jndi-name>TestCaricoDatasource</jndi-name>
| <track-connection-by-tx/>
| <isSameRM-override-value>false</isSameRM-override-value>
| <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
| <xa-datasource-property name="URL">jdbc:oracle:thin:@10.10.10.1:1523:MYSID</xa-datasource-property>
| <xa-datasource-property name="User">user</xa-datasource-property>
| <xa-datasource-property name="Password">pwd</xa-datasource-property>
| <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
| <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
| <!-- Checks the Oracle error codes and messages for fatal errors -->
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
| <!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa -->
| <no-tx-separate-pools/>
| <min-pool-size>1</min-pool-size>
| <max-pool-size>100</max-pool-size>
| <blocking-timeout-millis>5000</blocking-timeout-millis>
| <idle-timeout-minutes>1</idle-timeout-minutes>
| </xa-datasource>
|
| </datasources>
|
persistence.xml:
| <?xml version="1.0" encoding="UTF-8"?>
| <persistence xmlns="http://java.sun.com/xml/ns/persistence"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
| version="1.0">
|
| <persistence-unit name="TestCarico">
| <provider>org.hibernate.ejb.HibernatePersistence</provider>
| <jta-data-source>java:/TestCaricoDatasource</jta-data-source>
| <properties>
| <property name="hibernate.dialect"
| value="org.hibernate.dialect.HSQLDialect" />
| <property name="hibernate.show_sql" value="true" />
| <property name="jboss.entity.manager.factory.jndi.name"
| value="java:/TestCaricoEntityManagerFactory" />
| </properties>
| </persistence-unit>
| </persistence>
|
Please note that no manual actions with transactions and so on is required.
Hope this helps, anyway for qualified support about EJB3 questions also refer to http://www.jboss.com/index.html?module=bb&op=viewforum&f=221.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117466#4117466
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117466
18 years, 6 months
[JBossWS] - Re: Document Literal style
by zeeshan.javeed
Hi,
I have generated the code using WSCONSUME and after modifying existing code, when I try to run the old client I got Null Pointer Exception. I generated the new client using the newly generated wsdl file and the new client works fine.
I debuged more and here is the request send by old client.
| POST /wipe/service HTTP/1.1
|
| Content-Type: text/xml; charset=utf-8
|
| Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
|
| Content-Length: 655
|
| SOAPAction: ""
|
| User-Agent: Java/1.5.0_13
|
| Host: 127.0.0.1:8080
|
| Connection: keep-alive
|
|
|
| <?xml version="1.0" encoding="UTF-8"?>
| <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://ips.iplabs.de/types">
| <env:Body>
| <ns0:startSession>
| <TSession_1>
| <clientLogInfo></clientLogInfo>
| <clientName>testJavaClient</clientName>
| <clientVersion>0.5</clientVersion>
| <errorCode>0</errorCode>
| <errorMessage></errorMessage>
| <localeID>de_DE</localeID>
| <opID>20000100</opID>
| <sessionID></sessionID>
| <wipeVersion>1.1</wipeVersion>
| </TSession_1>
| </ns0:startSession>
| </env:Body>
| </env:Envelope>
|
The request generated by the new client is as
| POST /wipe/service?datatype=JBossWSMessage HTTP/1.1
|
| SOAPAction: ""
|
| Content-Type: text/xml; charset=UTF-8
|
| User-Agent: Java/1.5.0_13
|
| Host: 127.0.0.1:8080
|
| Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
|
| Connection: keep-alive
|
| Content-Length: 475
|
|
|
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header></env:Header>
| <env:Body>
| <ns1:startSession xmlns:ns1="http://ips.iplabs.de/types">
| <arg0>
| <clientLogInfo></clientLogInfo>
| <clientName>testJavaClient</clientName>
| <clientVersion>0.5</clientVersion>
| <errorCode>0</errorCode>
| <errorMessage></errorMessage>
| <localeID>de_DE</localeID>
| <opID>10000011</opID>
| <sessionID></sessionID>
| <wipeVersion>1.0</wipeVersion>
| </arg0>
| </ns1:startSession>
| </env:Body></env:Envelope
|
|
Any information , what is going wrong here.
The interface file code related to startSession is :
|
| /**
| * This class was generated by the JAX-WS RI.
| * JAX-WS RI 2.1.1-b03-
| * Generated source version: 2.0
| *
| */
| @WebService(name = "Wipe", targetNamespace = "http://ips.iplabs.de/")
| public interface Wipe {
|
|
| /**
| *
| * @param tSession1
| * @return
| * returns de.iplabs.ips.types.TSession
| */
| @WebMethod
| @WebResult(name = "result", targetNamespace = "")
| @RequestWrapper(localName = "startSession", targetNamespace = "http://ips.iplabs.de/types", className = "de.iplabs.ips.types.StartSession")
| @ResponseWrapper(localName = "startSessionResponse", targetNamespace = "http://ips.iplabs.de/types", className = "de.iplabs.ips.types.StartSessionResponse")
| public TSession startSession(
| @WebParam(name = "TSession_1", targetNamespace = "")
| TSession tSession1);
| }
|
|
and the respective implementation is as :
| @WebService(name = "Wipe", targetNamespace = "http://ips.iplabs.de/types")
| public class WipeImpl implements Wipe
| {
|
|
| /**
| *
| * @param tSession1
| * @return
| * returns de.iplabs.ips.types.TSession
| */
| @WebMethod
| public TSession startSession(TSession session)
| {
| if(session != null)
| {
| log.debug("Start session with version: " +
| return getVersion(session).startSession(session);
| }
| else
| {
| log.error("Session is null");
| return null;
| }
| }
|
| }
|
|
Plz guide me, what is going wrong. I have to update server while mainting the compatibility between old client and server.
Regards,
Zeeshan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117455#4117455
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117455
18 years, 6 months
[JNDI/Naming/Network] - Re: Naming problem after upgrade
by satish1529
I am also facing similar problem
when deployed in jboss-3.2.8 my application is working fine.
When upgraded to jboss-4.2.2 i am getting following exception
11:39:28,625 INFO [testTopic] Bound to JNDI name: topic/testTopic
11:39:28,625 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
11:39:28,656 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
11:39:28,656 INFO [testQueue] Bound to JNDI name: queue/testQueue
11:39:28,828 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
11:39:28,984 INFO [DLQ] Bound to JNDI name: queue/DLQ
11:39:29,843 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
11:39:29,968 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
11:39:30,531 INFO [EARDeployer] Init J2EE application: file:/D:/CDM564/common/local/modules/dsm/deploy/dsm.ear/
11:39:32,843 INFO [EjbModule] Deploying SM.beanManaged.WirelessDeviceProfileHome
11:39:33,093 INFO [EjbModule] Deploying SM.beanManaged.WirelessDeviceProfileRWHome
11:39:33,109 INFO [EjbModule] Deploying SM.device.CommEndPointHome
11:39:33,109 INFO [EjbModule] Deploying SM.device.CommEndPointRWHome
11:39:33,156 INFO [EjbModule] Deploying SM.user.UserHome
11:39:33,171 INFO [EjbModule] Deploying SM.user.UserRWHome
11:39:33,187 INFO [EjbModule] Deploying SM.Stateful.CustomServiceBean
11:39:33,234 INFO [EjbModule] Deploying SM.chat.MessageHome
11:39:33,250 INFO [EjbModule] Deploying SM.contactlist.ContactListHome
11:39:33,250 INFO [EjbModule] Deploying SM.custom.CustomServiceNotifierHome
11:39:33,281 INFO [EjbModule] Deploying SM.device.DeviceDirectoryHome
11:39:33,281 INFO [EjbModule] Deploying SM.device.NetworkDirectoryHome
11:39:33,296 INFO [EjbModule] Deploying SM.sequence.OIDGenerator
11:39:33,296 INFO [EjbModule] Deploying SM.service.ServiceDirectoryHome
11:39:33,312 INFO [EjbModule] Deploying SM.session.UserSessionHome
11:39:33,328 INFO [EjbModule] Deploying SM.transfer.FileTransferHome
11:39:33,343 INFO [EjbModule] Deploying SM.user.UserDirectoryHome
11:39:33,359 INFO [EjbModule] Deploying SM.action.RefusableActionManagerHome
11:39:33,359 INFO [EjbModule] Deploying SM.session.PublicAccessUserSessionHome
11:39:33,375 INFO [EjbModule] Deploying SM.service.ServiceRouterHome
11:39:34,562 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: com.mportal.provisioning.startup.PITestingServlet
11:39:34,562 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: com.mportal.provisioning.startup.ProvisioningGatewayServlet
11:39:34,578 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: com.mportal.contentinterface.startup.CIListnerServlet
11:39:34,593 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: com.mportal.webapi.router.ContentRetrievalListener
11:39:34,593 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: com.mportal.contentinterface.startup.CITesting
11:39:34,640 INFO [ProxyFactory] Bound EJB Home 'SM.beanManaged.WirelessDeviceProfileHome' to jndi 'SM.beanManaged.WirelessDeviceProfileHome'
11:39:35,109 INFO [ProxyFactory] Bound EJB Home 'SM.beanManaged.WirelessDeviceProfileRWHome' to jndi 'SM.beanManaged.WirelessDeviceProfileRWHome'
11:39:35,140 INFO [ProxyFactory] Bound EJB Home 'SM.device.CommEndPointHome' to jndi 'SM.device.CommEndPointHome'
11:39:35,156 INFO [ProxyFactory] Bound EJB Home 'SM.device.CommEndPointRWHome' to jndi 'SM.device.CommEndPointRWHome'
11:39:35,187 INFO [ProxyFactory] Bound EJB Home 'SM.user.UserHome' to jndi 'SM.user.UserHome'
11:39:35,187 INFO [ProxyFactory] Bound EJB Home 'SM.user.UserRWHome' to jndi 'SM.user.UserRWHome'
11:39:35,203 INFO [ProxyFactory] Bound EJB Home 'SM.Stateful.CustomServiceBean' to jndi 'SM.Stateful.CustomServiceBean'
11:39:35,234 INFO [ProxyFactory] Bound EJB Home 'SM.chat.MessageHome' to jndi 'SM.chat.MessageHome'
11:39:35,250 INFO [ProxyFactory] Bound EJB Home 'SM.contactlist.ContactListHome' to jndi 'SM.contactlist.ContactListHome'
11:39:35,281 INFO [ProxyFactory] Bound EJB Home 'SM.custom.CustomServiceNotifierHome' to jndi 'SM.custom.CustomServiceNotifierHome'
11:39:35,296 INFO [ProxyFactory] Bound EJB Home 'SM.device.DeviceDirectoryHome' to jndi 'SM.device.DeviceDirectoryHome'
11:39:35,312 INFO [ProxyFactory] Bound EJB Home 'SM.device.NetworkDirectoryHome' to jndi 'SM.device.NetworkDirectoryHome'
11:39:35,328 INFO [ProxyFactory] Bound EJB Home 'SM.sequence.OIDGenerator' to jndi 'SM.sequence.OIDGenerator'
11:39:35,390 INFO [ProxyFactory] Bound EJB Home 'SM.service.ServiceDirectoryHome' to jndi 'SM.service.ServiceDirectoryHome'
11:39:35,406 INFO [ProxyFactory] Bound EJB Home 'SM.session.UserSessionHome' to jndi 'SM.session.UserSessionHome'
11:39:35,421 INFO [ProxyFactory] Bound EJB Home 'SM.transfer.FileTransferHome' to jndi 'SM.transfer.FileTransferHome'
11:39:35,484 INFO [ProxyFactory] Bound EJB Home 'SM.user.UserDirectoryHome' to jndi 'SM.user.UserDirectoryHome'
11:39:35,812 INFO [ProxyFactory] Bound EJB Home 'SM.action.RefusableActionManagerHome' to jndi 'SM.action.RefusableActionManagerHome'
11:39:35,843 INFO [ProxyFactory] Bound EJB Home 'SM.session.PublicAccessUserSessionHome' to jndi 'SM.session.PublicAccessUserSessionHome'
11:39:35,859 INFO [ProxyFactory] Bound EJB Home 'SM.service.ServiceRouterHome' to jndi 'SM.service.ServiceRouterHome'
11:39:35,859 INFO [EJBDeployer] Deployed: file:/D:/CDM564/common/local/modules/dsm/deploy/dsm.ear/dsm.jar
11:39:36,093 INFO [TomcatDeployer] deploy, ctxPath=/dsm, warUrl=file:/D:/CDM564/common/local/modules/dsm/deploy/dsm.ear/web.war/
11:39:36,687 INFO [STDOUT] Exception occured: java.lang.NullPointerException
11:39:36,687 INFO [STDOUT] Exception occured: java.io.FileNotFoundException: D:\CDM564\common\local\modules\dsm\logs\spg\spg080107_113936.log (The system cannot find the path specified)
11:39:36,687 INFO [STDOUT] Exception occured: java.lang.NullPointerException
11:39:36,687 INFO [STDOUT] Exception occured: java.io.FileNotFoundException: D:\CDM564\common\local\modules\dsm\logs\edr\edr080107_113936.log (The system cannot find the path specified)
11:39:36,687 INFO [STDOUT] Exception occured: java.lang.NullPointerException
11:39:36,687 INFO [STDOUT] Exception occured: java.io.FileNotFoundException: D:\CDM564\common\local\modules\dsm\logs\edr\status080107_113936.log (The system cannot find the path specified)
11:39:37,562 INFO [STDOUT] jndiHomeInterfaceName::::::::SM.service.ServiceDirectoryHome
11:39:37,609 INFO [STDOUT] lookup::::::::SM.service.ServiceDirectoryHomeHome
11:39:37,609 ERROR [STDERR] java.lang.ClassCastException: $Proxy97
11:39:37,609 ERROR [STDERR] at com.mportal.api.home_factory.AbstractHomeInterfaceFactory.getHomeInterface(AbstractHomeInterfaceFactory.java:867)
11:39:37,609 ERROR [STDERR] at com.mportal.api.home_factory.AbstractHomeInterfaceFactory.getServiceDirectoryHome(AbstractHomeInterfaceFactory.java:292)
11:39:37,609 ERROR [STDERR] at com.mportal.server.startup.mPortalStartup.initializeServer(mPortalStartup.java:134)
11:39:37,609 ERROR [STDERR] at com.mportal.server.startup.mPortalStartupServlet.init(mPortalStartupServlet.java:18)
11:39:37,625 ERROR [STDERR] at javax.servlet.GenericServlet.init(GenericServlet.java:212)
11:39:37,625 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
11:39:37,625 ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
11:39:37,625 ERROR [STDERR] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
11:39:37,625 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
11:39:37,625 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
11:39:37,625 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
11:39:37,625 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
11:39:37,625 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:39:37,625 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11:39:37,625 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11:39:37,625 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
11:39:37,625 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
11:39:37,625 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
11:39:37,625 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
11:39:37,625 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
11:39:37,625 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:39:37,625 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11:39:37,625 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11:39:37,625 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
11:39:37,625 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
11:39:37,625 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
11:39:37,625 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
11:39:37,625 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
11:39:37,625 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
11:39:37,625 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
11:39:37,625 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
11:39:37,625 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
11:39:37,625 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
11:39:37,625 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
11:39:37,625 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
11:39:37,625 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11:39:37,625 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
11:39:37,625 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
11:39:37,625 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
11:39:37,625 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
11:39:37,640 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
11:39:37,640 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
11:39:37,640 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
11:39:37,640 ERROR [STDERR] at $Proxy0.start(Unknown Source)
11:39:37,640 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
11:39:37,640 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
11:39:37,640 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11:39:37,640 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
Here is the code , while typecast the above exception is coming
home = (EJBHome)getInitialContext().lookup( "SM.service.ServiceDirectoryHome" );
Please suggest on this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117441#4117441
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117441
18 years, 6 months