[jboss-jira] [JBoss JIRA] Created: (JBAS-3672) EJB3.0 session bean look up and data source configuration

madan srinivas (JIRA) jira-events at jboss.com
Wed Sep 20 02:29:56 EDT 2006


EJB3.0 session bean look up and data source configuration
---------------------------------------------------------

                 Key: JBAS-3672
                 URL: http://jira.jboss.com/jira/browse/JBAS-3672
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: EJB3
    Affects Versions: JBossAS-4.0.4.CR2
         Environment: Windows 2000 Professional , JBoss 4.0.4CR2, SQL Server 2005
            Reporter: madan srinivas
         Assigned To: Bill Burke


I have deployed datasource using mssqlds.xml in jboss/server/default/deploy

sqljdbc.jar has been placed in jboss/server/default/lib directory

driver class is com.microsoft.sqlserver.jdbc.SQLServerDriver but if i use it i get Wrong driver class error 

hence i changed it to com.microsoft.jdbc.sqlserver.SQLServerDriver but irt fails to register the river 

Error : 
Caused by: org.jboss.resource.JBossResourceException: Failed to register driver
for: com.microsoft.jdbc.sqlserver.SQLServerDriver; - nested throwable: (java.lan
g.ClassNotFoundException: No ClassLoaders found for: com.microsoft.jdbc.sqlserve
r.SQLServerDriver)

Server output on console for EJB deployment : 

But when i do jndi look up i get received timed out error , pls help

11:47:06,356 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.fa
ctory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.p
kgs=org.jboss.naming:org.jnp.interfaces}
11:47:06,403 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=Test.
jar,name=FileDetailsClientBean,service=EJB3 with dependencies:
11:47:06,403 INFO  [JmxKernelAbstraction]       persistence.units:jar=Test.jar,u
nitName=manager1
11:47:06,653 INFO  [EJBContainer] STARTED EJB: com.hqs.ppsadvantage.ejb.FileDeta
ilsClientBean ejbName: FileDetailsClientBean
11:47:06,731 INFO  [EJB3Deployer] Deployed: file:/D:/jboss-4.0.4.CR2/server/defa
ult/deploy/Test.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list