Hi ashish, do you receive the ApplicationClient.war that I sent ?

On Thu, Mar 20, 2008 at 12:35 PM, CG <[EMAIL PROTECTED]> wrote:
> Ok, here it is.
>
>
>
>  On Thu, Mar 20, 2008 at 11:42 AM, Ashish Jain <[EMAIL PROTECTED]> wrote:
>  > Hi,
>  > Can you send me your version of ApplicationClient.war? I would like to have
>  > a look at it.
>  >
>  > Thanks
>  > Ashish
>  >
>  >
>  >
>  > On Thu, Mar 20, 2008 at 9:02 AM, CG <[EMAIL PROTECTED]> wrote:
>  >
>  > > Hi, Ashish
>  > >  would you mind give me your version of ApplicationClient.war to let me
>  > try ?
>  > >
>  > > CG
>  > >
>  > >
>  > >
>  > >
>  > > On Thu, Mar 20, 2008 at 10:30 AM, CG <[EMAIL PROTECTED]> wrote:
>  > > > hi,
>  > > >   I think is the datasource problem that cause the exception but I did
>  > > >  follow the steps to configure it.
>  > > >
>  > > >  I have create all those .jsp under WebContent , reexport and redeploy
>  > > >  , no luck, problem still persist.
>  > > >
>  > > >  To my understand , apache used to have a DocumentRoot , i wonder the
>  > > >  geronimo-tomcat default DocumentRoot is at which directory , and where
>  > > >  can I see the configuration ?
>  > > >
>  > > >  I notice that some built-in example , like dojo , remote-deploy etc
>  > > >  are having the HTTP 404 error also , only juddi , CAHelper works .
>  > > >
>  > > >
>  > > >  I am still reading the documentation to find out the problem but any
>  > > >  guidance will much be appreciated , thanks.
>  > > >
>  > > >
>  > > >  CG
>  > > >
>  > > >
>  > > >
>  > > >
>  > > >
>  > > >
>  > > >  On Thu, Mar 20, 2008 at 12:51 AM, Ashish Jain <[EMAIL PROTECTED]>
>  > wrote:
>  > > >  > Hi CG,
>  > > >  > So was the missing datasource the cause of exception? Regarding the
>  > current
>  > > >  > problem
>  > > >  > create index.jsp as well as other jsp's under WebContent.
>  > > >  >
>  > > >  > Thanks
>  > > >  > Ashish
>  > > >  >
>  > > >  >
>  > > >  >
>  > > >  > On Wed, Mar 19, 2008 at 9:09 PM, CG <[EMAIL PROTECTED]> wrote:
>  > > >  >
>  > > >  > > Hi Ashish ,
>  > > >  > > I am using AG 2.1.
>  > > >  > >
>  > > >  > >  I did follow the tutorial to create the datasource.
>  > > >  > > Anyway,   I follow your steps, and I manage to deploy the
>  > > >  > > StatelessSession.ejb and ApplicationClient.war .
>  > > >  > >
>  > > >  > > However, when I browser at
>  > http://localhost:8080/ApplicationClient/,
>  > > >  > > it gives me HTTP 404 error.
>  > > >  > >
>  > > >  > > type Status report
>  > > >  > > message /ApplicationClient/login.jsp
>  > > >  > > The requested resource (/ApplicationClient/) is not available.
>  > > >  > >
>  > > >  > >
>  > > >  > > I believe it maybe due to the file path problem , is it?
>  > > >  > >
>  > > >  > > It seems like cannot find the index.jsp ?
>  > > >  > >
>  > > >  > > Where should the index.jsp been put ? according to the tutorial
>  > should
>  > > >  > > be under the WEB-INF.
>  > > >  > >
>  > > >  > >
>  > > >  > > Thanks
>  > > >  > > CG
>  > > >  > >
>  > > >  > >
>  > > >  > >
>  > > >  > >
>  > > >  > >
>  > > >  > >
>  > > >  > >
>  > > >  > >
>  > > >  > >
>  > > >  > > On Wed, Mar 19, 2008 at 4:08 PM, Ashish Jain <[EMAIL PROTECTED]>
>  > wrote:
>  > > >  > > > There are only two possibilities for such an error.
>  > > >  > > > 1) Either you have not mentioned the correct dependency in the
>  > > >  > deployment
>  > > >  > > > plan.
>  > > >  > > > 2) You have not created the datasource.
>  > > >  > > >
>  > > >  > > > Since 1) is not possible becoz you are using the correct plan. I
>  > guess
>  > > >  > there
>  > > >  > > > is some issue with your datasource. You can try the following
>  > > >  > > >  1) Create a database as suggested by the turorial
>  > > >  > > >
>  > > >  >
>  > 
> http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-CreatingadatabaseusingAdministrativeConsole
>  > > >  > > >  2) Deploy tranql-connector-derby-embed-xa-1.3.rar which is
>  > present in
>  > > >  > > >
>  > > >  >
>  > <GERONIMO_HOME>\repository\org\tranql\tranql-connector-derby-embed-xa\1.3
>  > > >  > > > using the plan attached.
>  > > >  > > > 3) Now deploy the StatelessSessionEJB.jar.
>  > > >  > > >
>  > > >  > > > This should help you. BTW what is the version of AG you are
>  > using?
>  > > >  > > >
>  > > >  > > > Thanks
>  > > >  > > > Ashish
>  > > >  > > >
>  > > >  > > >
>  > > >  > > >
>  > > >  > > > On Wed, Mar 19, 2008 at 11:32 AM, CG <[EMAIL PROTECTED]> wrote:
>  > > >  > > >
>  > > >  > > > > Hi,
>  > > >  > > > >  I have downloaded the file , and use the console to deploy 
> it.
>  > > >  > > > > No luck , same error.
>  > > >  > > > >    I am a total newbie , not sure any futher steps that I can
>  > try to
>  > > >  > do .
>  > > >  > > > > Hope that you can give a futher guidance , thanks.
>  > > >  > > > >
>  > > >  > > > >
>  > > >  > > > > Rgds,
>  > > >  > > > >  CG
>  > > >  > > > >
>  > > >  > > > >
>  > > >  > > > >
>  > > >  > > > >
>  > > >  > > > > On Wed, Mar 19, 2008 at 1:39 AM, Ashish Jain
>  > <[EMAIL PROTECTED]>
>  > > >  > wrote:
>  > > >  > > > > > Hi CG,
>  > > >  > > > > > I just now executed the complete tutorial and found no
>  > problems with
>  > > >  > > > > > StatelessSessionEJB.jar. I am attaching the recently created
>  > > >  > > > > > StatelessSessionEJB.jar. Have a look at it and compare it
>  > with the
>  > > >  > one
>  > > >  > > > you
>  > > >  > > > > > have created
>  > > >  > > > > >
>  > > >  > > > > > Hope it helps
>  > > >  > > > > >
>  > > >  > > > > > Thanks
>  > > >  > > > > > Ashish
>  > > >  > > > > >
>  > > >  > > > > >
>  > > >  > > > > >
>  > > >  > > > > > On Tue, Mar 18, 2008 at 9:09 PM, CG <[EMAIL PROTECTED]>
>  > wrote:
>  > > >  > > > > > > Hi Ashish,
>  > > >  > > > > > >  Thanks for your reply.
>  > > >  > > > > > >
>  > > >  > > > > > > I have updated the geronimo-web.xml and openejb-jar.xml,
>  > and
>  > > >  > reexport
>  > > >  > > > > > > the archieve, and deploy using the console.
>  > > >  > > > > > >
>  > > >  > > > > > > However, the problem still there when I deploy
>  > > >  > StatelessSessionEJB.jar
>  > > >  > > > > > >  (ApplicationClient.war no problem)
>  > > >  > > > > > > still the dependency problem ..
>  > > >  > > > > > >
>  > > >  > > > > > > need your guidance , thanks in advance.
>  > > >  > > > > > >
>  > > >  > > > > > > Error message:
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > > Caused by:
>  > > >  > > > > >
>  > org.apache.geronimo.kernel.repository.MissingDependencyException:
>  > > >  > > > > > > Missing dependency: console.dbpool/jdbc%2Fuserds//
>  > > >  > > > > > >        at
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:111)
>  > > >  > > > > > >        at
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:104)
>  > > >  > > > > > >        at
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:473)
>  > > >  > > > > > >        at
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:431)
>  > > >  > > > > > >        at
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:296)
>  > > >  > > > > > >        ... 21 more
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > > > On Tue, Mar 18, 2008 at 11:09 PM, Ashish Jain
>  > <[EMAIL PROTECTED]>
>  > > >  > > > wrote:
>  > > >  > > > > > > > Hi,
>  > > >  > > > > > > >
>  > > >  > > > > > > > Thanks for bringing this forward. The tutorial has been
>  > updated
>  > > >  > to
>  > > >  > > > > > reflect
>  > > >  > > > > > > > the final geronimo-web.xml and openejb-jar.xml.
>  > > >  > > > > > > >
>  > > >  > > > > > > > Thanks
>  > > >  > > > > > > > Ashish
>  > > >  > > > > > > >
>  > > >  > > > > > > >
>  > > >  > > > > > > >
>  > > >  > > > > > > > On Tue, Mar 18, 2008 at 8:26 PM, Ashish Jain
>  > > >  > <[EMAIL PROTECTED]>
>  > > >  > > > wrote:
>  > > >  > > > > > > >
>  > > >  > > > > > > > > Hi,
>  > > >  > > > > > > > > Ans1: openejb-jar.xml seems to be correct.
>  > openejb-jar.xml for
>  > > >  > the
>  > > >  > > > > > > > application should look like this
>  > > >  > > > > > > > > openejb-jar.xml
>  > > >  > > > > > > > >
>  > > >  > > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
>  > > >  > > > > > > > > <openejb-jar
>  > > >  > xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.2";
>  > > >  > > > > > > > xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2";
>  > > >  > > > > > > > xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0";
>  > > >  > > > > > > >
>  > xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.2";
>  > > >  > > > > > > >
>  > xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2";>
>  > > >  > > > > > > > >   <sys:environment>
>  > > >  > > > > > > > >   <sys:dependencies>
>  > > >  > > > > > > > >             <sys:dependency>
>  > > >  > > > > > > > >
>  > <sys:groupId>console.dbpool</sys:groupId>
>  > > >  > > > > > > > >
>  > <sys:artifactId>jdbc%2Fuserds</sys:artifactId>
>  > > >  > > > > > > > >             </sys:dependency>
>  > > >  > > > > > > > > </sys:dependencies>
>  > > >  > > > > > > > >     <sys:moduleId>
>  > > >  > > > > > > > >       <sys:groupId>default</sys:groupId>
>  > > >  > > > > > > > >
>  > <sys:artifactId>StatelessSessionEJB</sys:artifactId>
>  > > >  > > > > > > > >       <sys:version>1.0</sys:version>
>  > > >  > > > > > > > >       <sys:type>car</sys:type>
>  > > >  > > > > > > > >     </sys:moduleId>
>  > > >  > > > > > > > >     </sys:environment>
>  > > >  > > > > > > > >   <enterprise-beans/>
>  > > >  > > > > > > > > </openejb-jar>
>  > > >  > > > > > > > > I hope you have followed all the steps and created a
>  > > >  > datasource as
>  > > >  > > > > > > > suggested by the tutorial.
>  > > >  > > > > > > > >
>  > > >  > > > > > > > > Ans2: geronimo-web.xml is automatically created once
>  > you have
>  > > >  > your
>  > > >  > > > > > > > environment set up with geronimo eclipse plugin. You 
> need
>  > not
>  > > >  > create
>  > > >  > > > > > one.
>  > > >  > > > > > > > >
>  > > >  > > > > > > > > geronimo-web.xml
>  > > >  > > > > > > > >
>  > > >  > > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
>  > > >  > > > > > > > > <web-app
>  > > >  > xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1";
>  > > >  > > > > > > > xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1";
>  > > >  > > > > > > >
>  > xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1";
>  > > >  > > > > > > >
>  > xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1";>
>  > > >  > > > > > > > >   <sys:environment>
>  > > >  > > > > > > > >
>  > > >  > > > > > > > >     <sys:moduleId>
>  > > >  > > > > > > > >       <sys:groupId>default</sys:groupId>
>  > > >  > > > > > > > >
>  > <sys:artifactId>ApplicationClient</sys:artifactId>
>  > > >  > > > > > > > >
>  > > >  > > > > > > > >       <sys:version>1.0</sys:version>
>  > > >  > > > > > > > >       <sys:type>car</sys:type>
>  > > >  > > > > > > > >     </sys:moduleId>
>  > > >  > > > > > > > >
>  > > >  > > > > > > > >     <sys:dependencies>
>  > > >  > > > > > > > >        <sys:dependency>
>  > > >  > > > > > > > >             <sys:groupId>default</sys:groupId>
>  > > >  > > > > > > > >
>  > > >  > <sys:artifactId>StatelessSessionEJB</sys:artifactId>
>  > > >  > > > > > > > >               <sys:version>1.0</sys:version>
>  > > >  > > > > > > > >               <sys:type>car</sys:type>
>  > > >  > > > > > > > >        </sys:dependency>
>  > > >  > > > > > > > > </sys:dependencies>
>  > > >  > > > > > > > >   </sys:environment>
>  > > >  > > > > > > > >   <context-root>/ApplicationClient</context-root>
>  > > >  > > > > > > > > </web-app>
>  > > >  > > > > > > > >
>  > > >  > > > > > > > >
>  > > >  > > > > > > > >
>  > > >  > > > > > > > >
>  > > >  > > > > > > > >
>  > > >  > > > > > > > > On Tue, Mar 18, 2008 at 5:55 PM, CG
>  > <[EMAIL PROTECTED]>
>  > > >  > wrote:
>  > > >  > > > > > > > >
>  > > >  > > > > > > > > > Hi,
>  > > >  > > > > > > > > >  I am now trying the tutorial  "Stateless Session
>  > Bean"
>  > > >  > > > > > > > > >
>  > > >  > > > > > > >
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> http://cwiki.apache.org/GMOxDOC21/stateless-session-bean.html#StatelessSessionBean-DeployandRun
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > And I am stuck at section  "Few more 
> configurations",
>  > where
>  > > >  > need
>  > > >  > > > to
>  > > >  > > > > > > > > > configure dependencies because the steps are a bit
>  > unclear.
>  > > >  > > > > > > > > > I try to follow but get the following error which
>  > seems like
>  > > >  > is
>  > > >  > > > > > caused
>  > > >  > > > > > > > > > by the dependecies configuration
>  > > >  > > > > > > > > > Hope that somebody can help . thanks.
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > [error]
>  > > >  > > > > > > > > > Caused by:
>  > > >  > > > > > > >
>  > > >  > org.apache.geronimo.kernel.repository.MissingDependencyException:
>  > > >  > > > > > > > > > Missing dependency: console.dbpool/jdbc%2Fuserds//
>  > > >  > > > > > > > > >        at
>  > > >  > > > > > > >
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:111)
>  > > >  > > > > > > > > >        at
>  > > >  > > > > > > >
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:104)
>  > > >  > > > > > > > > >        at
>  > > >  > > > > > > >
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:473)
>  > > >  > > > > > > > > >        at
>  > > >  > > > > > > >
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:431)
>  > > >  > > > > > > > > >        at
>  > > >  > > > > > > >
>  > > >  > > > > >
>  > > >  > > >
>  > > >  >
>  > 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:296)
>  > > >  > > > > > > > > >        ... 21 more
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > [/error]:
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > Below are my questions:
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > Question 1 : At which part of openejb-jar.xml, the
>  > following
>  > > >  > > > > > > > > > datasource dependency should be inserted ?
>  > > >  > > > > > > > > > <sys:dependencies>
>  > > >  > > > > > > > > >            <sys:dependency>
>  > > >  > > > > > > > > >
>  > <sys:groupId>console.dbpool</sys:groupId>
>  > > >  > > > > > > > > >
>  > > >  > <sys:artifactId>jdbc%2Fuserds</sys:artifactId>
>  > > >  > > > > > > > > >            </sys:dependency>
>  > > >  > > > > > > > > > </sys:dependencies>
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > This is how I do
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
>  > > >  > > > > > > > > > <openejb-jar
>  > > >  > > > xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.2";
>  > > >  > > > > > > > > >
>  > xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2";
>  > > >  > > > > > > > > > 
> xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0";
>  > > >  > > > > > > > > >
>  > xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.2";
>  > > >  > > > > > > > > >
>  > > >  > xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2";>
>  > > >  > > > > > > > > >  <sys:environment>
>  > > >  > > > > > > > > >      <sys:dependencies>
>  > > >  > > > > > > > > >        <sys:dependency>
>  > > >  > > > > > > > > >          <sys:groupId>console.dbpool</sys:groupId>
>  > > >  > > > > > > > > >
>  > <sys:artifactId>jdbc%2Fuserds</sys:artifactId>
>  > > >  > > > > > > > > >        </sys:dependency>
>  > > >  > > > > > > > > >          </sys:dependencies>
>  > > >  > > > > > > > > >    <sys:moduleId>
>  > > >  > > > > > > > > >      <sys:groupId>default</sys:groupId>
>  > > >  > > > > > > > > >
>  > <sys:artifactId>StatelessSessionEJB</sys:artifactId>
>  > > >  > > > > > > > > >      <sys:version>1.0</sys:version>
>  > > >  > > > > > > > > >      <sys:type>car</sys:type>
>  > > >  > > > > > > > > >    </sys:moduleId>
>  > > >  > > > > > > > > >  </sys:environment>
>  > > >  > > > > > > > > >  <enterprise-beans/>
>  > > >  > > > > > > > > > </openejb-jar>
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > Question 2:  There is no geronimo-web.xml(there is
>  > only
>  > > >  > web.xml)
>  > > >  > > > > > under
>  > > >  > > > > > > > > > WEB-INF , should I create a new one ?
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > <sys:dependencies>
>  > > >  > > > > > > > > >       <sys:dependency>
>  > > >  > > > > > > > > >            <sys:groupId>default</sys:groupId>
>  > > >  > > > > > > > > >
>  > > >  > > > <sys:artifactId>StatelessSessionEJB</sys:artifactId>
>  > > >  > > > > > > > > >                <sys:version>1.0</sys:version>
>  > > >  > > > > > > > > >                <sys:type>car</sys:type>
>  > > >  > > > > > > > > >       </sys:dependency>
>  > > >  > > > > > > > > > </sys:dependencies>
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > > > Thanks.
>  > > >  > > > > > > > > >
>  > > >  > > > > > > > >
>  > > >  > > > > > > > >
>  > > >  > > > > > > >
>  > > >  > > > > > > >
>  > > >  > > > > > >
>  > > >  > > > > >
>  > > >  > > > > >
>  > > >  > > > >
>  > > >  > > >
>  > > >  > > >
>  > > >  > >
>  > > >  >
>  > > >  >
>  > > >
>  > >
>  >
>  >
>

Reply via email to