Re: [JBoss-user] what is jboss-web.xml

2001-07-01 Thread G.L. Grobe

Link the ejb-refs in jboss.xml to their jndi name? I need to do this even if
the names have stayed the same and I havn't changed them?

According to the sections "Registering a bean with a JNDI deployment name
different than the ejb-name" and "Declaring an Internal EJB reference", I
shouldn't have to do this.

I'll give it a try, but, I don't understand why I'd have to.

Thnxs

- Original Message -
From: "Allen fogleson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 01, 2001 5:02 PM
Subject: Re: [JBoss-user] what is jboss-web.xml


> you have to link your ejb-refs in jboss.xml to their jndi name. (also
> resource refs, etc)
>
> jboss-web.xml does similar things in web apps.
>
> - Original Message -
> From: G.L. Grobe <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, July 01, 2001 5:29 PM
> Subject: [JBoss-user] what is jboss-web.xml
>
>
> > Why does auto deploy suggest I use the jboss-web.xml file. I don't know
> this
> > file nor can I find any docs on it.
> >
> > I've got a session that calls an entity and they are both packaged in
the
> > same ejb.jar file and run on the same JBoss server instance. So I've
used
> > the  tag inside the 's in my ejb-jar.xml file and
> > dismissed any use of jboss.xml, but jboss-web.xml?.
> >
> > I've included the two bean descriptor sections from ejb-jar.xml and the
> > error output.
> >
> > [Auto deploy] Linking ejb-ref:
> >
> > ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
> >  to JNDI name: null
> > [Auto deploy] javax.naming.NamingException: ejb-ref:
> >
> > ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
> > , expected jndi-name in jboss-web.xml
> >
> > - snip of ejb-jar.xml --
> >
> >InitBuild
> >
> >
>
com.neuroquest.cais.ejb.session.initBuild.InitBuildBean > s>
> >com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
> >com.neuroquest.cais.ejb.session.initBuild.InitBuild
> >Stateful
> >Container
> >
> >   ejb/Build
> >   Entity
> >   com.neuroquest.cais.ejb.entity.build.BuildHome
> >   com.neuroquest.cais.ejb.entity.build.Build
> >   Build
> >
> >
> >
> >
> >Build
> >com.neuroquest.cais.ejb.entity.build.BuildBean
> >com.neuroquest.cais.ejb.entity.build.BuildHome
> >com.neuroquest.cais.ejb.entity.build.Build
> >Bean
> >
> >
>
com.neuroquest.cais.ejb.entity.build.BuildPK > >
> >False
> >
> >  snip of ejb.jar.xml 
> > (More error output from JBoss...)
> >
> > [Container factory] Deploying Account
> > [Container factory] Deploying Build
> > [Container factory] Deploying ConfigBuild
> > [Container factory] Deploying DBaseFetch
> > [Container factory] Deploying ConfigTools
> > [Container factory] Deploying InitBuild
> > [Bean Cache] Cache policy scheduler started
> > [Container factory] Deployed application:
> >
>
file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/acais-1.0.e
> > ar
> > [J2EE Deployer Default] Starting module acais-web.war
> > [Auto deploy] deploy, ctxPath=/acais,
> >
>
warUrl=file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/acai
> > s-1.0.ear/web1003/
> > 2001-07-01 05:32:09 - ContextManager: Adding context Ctx( /acais )
> > [Auto deploy] AbstractWebContainer.parseWebAppDescriptors, Begin
> > [Auto deploy] addEnvEntries
> > [Auto deploy] linkResourceRefs
> > [Auto deploy] linkEjbRefs
> > [Auto deploy] Linking ejb-ref:
> >
> > ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
> >  to JNDI name: null
> > [Auto deploy] javax.naming.NamingException: ejb-ref:
> >
> > ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
> > , expected jndi-name in jboss-web.xml
> > [Auto deploy]   at
> >
>
org.jboss.web.AbstractWebContainer.linkEjbRefs(AbstractWebContainer.java:359
> > )
> > ...
> >
> >
> > TIA
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] what is jboss-web.xml

2001-07-01 Thread Allen fogleson

you have to link your ejb-refs in jboss.xml to their jndi name. (also
resource refs, etc)

jboss-web.xml does similar things in web apps.

- Original Message -
From: G.L. Grobe <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 01, 2001 5:29 PM
Subject: [JBoss-user] what is jboss-web.xml


> Why does auto deploy suggest I use the jboss-web.xml file. I don't know
this
> file nor can I find any docs on it.
>
> I've got a session that calls an entity and they are both packaged in the
> same ejb.jar file and run on the same JBoss server instance. So I've used
> the  tag inside the 's in my ejb-jar.xml file and
> dismissed any use of jboss.xml, but jboss-web.xml?.
>
> I've included the two bean descriptor sections from ejb-jar.xml and the
> error output.
>
> [Auto deploy] Linking ejb-ref:
>
> ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
>  to JNDI name: null
> [Auto deploy] javax.naming.NamingException: ejb-ref:
>
> ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
> , expected jndi-name in jboss-web.xml
>
> - snip of ejb-jar.xml --
>
>InitBuild
>
>
com.neuroquest.cais.ejb.session.initBuild.InitBuildBean s>
>com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
>com.neuroquest.cais.ejb.session.initBuild.InitBuild
>Stateful
>Container
>
>   ejb/Build
>   Entity
>   com.neuroquest.cais.ejb.entity.build.BuildHome
>   com.neuroquest.cais.ejb.entity.build.Build
>   Build
>
>
>
>
>Build
>com.neuroquest.cais.ejb.entity.build.BuildBean
>com.neuroquest.cais.ejb.entity.build.BuildHome
>com.neuroquest.cais.ejb.entity.build.Build
>Bean
>
>
com.neuroquest.cais.ejb.entity.build.BuildPK >
>False
>
>  snip of ejb.jar.xml 
> (More error output from JBoss...)
>
> [Container factory] Deploying Account
> [Container factory] Deploying Build
> [Container factory] Deploying ConfigBuild
> [Container factory] Deploying DBaseFetch
> [Container factory] Deploying ConfigTools
> [Container factory] Deploying InitBuild
> [Bean Cache] Cache policy scheduler started
> [Container factory] Deployed application:
>
file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/acais-1.0.e
> ar
> [J2EE Deployer Default] Starting module acais-web.war
> [Auto deploy] deploy, ctxPath=/acais,
>
warUrl=file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/acai
> s-1.0.ear/web1003/
> 2001-07-01 05:32:09 - ContextManager: Adding context Ctx( /acais )
> [Auto deploy] AbstractWebContainer.parseWebAppDescriptors, Begin
> [Auto deploy] addEnvEntries
> [Auto deploy] linkResourceRefs
> [Auto deploy] linkEjbRefs
> [Auto deploy] Linking ejb-ref:
>
> ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
>  to JNDI name: null
> [Auto deploy] javax.naming.NamingException: ejb-ref:
>
> ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
> , expected jndi-name in jboss-web.xml
> [Auto deploy]   at
>
org.jboss.web.AbstractWebContainer.linkEjbRefs(AbstractWebContainer.java:359
> )
> ...
>
>
> TIA
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] what is jboss-web.xml

2001-07-01 Thread G.L. Grobe

Why does auto deploy suggest I use the jboss-web.xml file. I don't know this
file nor can I find any docs on it.

I've got a session that calls an entity and they are both packaged in the
same ejb.jar file and run on the same JBoss server instance. So I've used
the  tag inside the 's in my ejb-jar.xml file and
dismissed any use of jboss.xml, but jboss-web.xml?.

I've included the two bean descriptor sections from ejb-jar.xml and the
error output.

[Auto deploy] Linking ejb-ref:

ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
 to JNDI name: null
[Auto deploy] javax.naming.NamingException: ejb-ref:

ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
, expected jndi-name in jboss-web.xml

- snip of ejb-jar.xml --
   
   InitBuild

com.neuroquest.cais.ejb.session.initBuild.InitBuildBean
   com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
   com.neuroquest.cais.ejb.session.initBuild.InitBuild
   Stateful
   Container
   
  ejb/Build
  Entity
  com.neuroquest.cais.ejb.entity.build.BuildHome
  com.neuroquest.cais.ejb.entity.build.Build
  Build
   
   

   
   Build
   com.neuroquest.cais.ejb.entity.build.BuildBean
   com.neuroquest.cais.ejb.entity.build.BuildHome
   com.neuroquest.cais.ejb.entity.build.Build
   Bean

com.neuroquest.cais.ejb.entity.build.BuildPK
   False
   
 snip of ejb.jar.xml 
(More error output from JBoss...)

[Container factory] Deploying Account
[Container factory] Deploying Build
[Container factory] Deploying ConfigBuild
[Container factory] Deploying DBaseFetch
[Container factory] Deploying ConfigTools
[Container factory] Deploying InitBuild
[Bean Cache] Cache policy scheduler started
[Container factory] Deployed application:
file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/acais-1.0.e
ar
[J2EE Deployer Default] Starting module acais-web.war
[Auto deploy] deploy, ctxPath=/acais,
warUrl=file:/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/acai
s-1.0.ear/web1003/
2001-07-01 05:32:09 - ContextManager: Adding context Ctx( /acais )
[Auto deploy] AbstractWebContainer.parseWebAppDescriptors, Begin
[Auto deploy] addEnvEntries
[Auto deploy] linkResourceRefs
[Auto deploy] linkEjbRefs
[Auto deploy] Linking ejb-ref:

ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
 to JNDI name: null
[Auto deploy] javax.naming.NamingException: ejb-ref:

ejb/com.neuroquest.cais.ejb.session.initBuild.InitBuildHome
, expected jndi-name in jboss-web.xml
[Auto deploy]   at
org.jboss.web.AbstractWebContainer.linkEjbRefs(AbstractWebContainer.java:359
)
...


TIA


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user