Bugs item #1080095, was opened at 2004-12-06 10:03
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1080095&group_id=22866

Category: JBossServer
Group: v4.0
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Ralf Zimmermann (rz1911)
Assigned to: Nobody/Anonymous (nobody)
Summary: ejb-link fails with linked tmp directory

Initial Comment:
Hi, 

I have problems to deploy the attached EAR if the 
jboss/server/default/tmp directory is linked to another 
directoy using an symbolic link. I use JBoss 4.0.0, JDK 
1.4.2_06 and RedHat Linux. 

The EAR defins two (empty) session EJBs A and B. EJB A 
has an link to EJB B using th <ejb-link> syntax.

I get the following Exception:

2004-12-06 18:38:44,673 INFO  
[org.jboss.ejb.EjbModule] Deploying AEJB
2004-12-06 18:38:46,663 INFO  
[org.jboss.ejb.EjbModule] Deploying BEJB
2004-12-06 18:38:46,983 WARN  [org.jboss.ejb.EjbUtil] 
Can't locate deploymentInfo for target: 
file:/var/intelliform/tmp/deploy/tmp39034bug.ear-
contents/B.jar
2004-12-06 18:38:46,984 ERROR 
[org.jboss.ejb.StatelessSessionContainer] Starting
 failed jboss.j2ee:jndiName=AEJB,service=EJB
org.jboss.deployment.DeploymentException: Failed to 
resolve ejb-link: B.jar#BEJB
 make by ejb-name: ejb/BEJB
        at org.jboss.ejb.Container.setupEnvironment
(Container.java:993)
        at org.jboss.ejb.Container.startService
(Container.java:724)
        at org.jboss.ejb.SessionContainer.startService
(SessionContainer.java:381
)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStar
t(ServiceMBeanS
upport.java:271)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifec
ycle(ServiceMB
eanSupport.java:221)
        at sun.reflect.GeneratedMethodAccessor3.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
(ReflectedDispatch
er.java:141)
        at org.jboss.mx.server.Invocation.dispatch
(Invocation.java:80)
...

The EAR deploys fine, if the mtp directory is an real 
directory.

I think this is due to the failure of 
EjbUtil.resolveRelativeLink.
The use of Strings.toURL calculates the URL for the 
DeploymentInfo class different than the MainDeployer 
class.

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2004-12-29 12:51

Message:
Logged In: YES 
user_id=175228

All issues have been moved to http://jira.jboss.com. Existing
issues have been moved. New issues will be closed with this
canned reponse.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1080095&group_id=22866


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to