[JBoss-user] jboss examples accesses Bean classes from disk not from jboss

2002-01-17 Thread James Cleary



I've been trying to run Sun's J2EE 
tutorial simple Converter example within jboss with no success. I am also 
having a problem with the jboss example InterestClient. Digging into the problem 
I have found that following the web documentation and running ant with the 
build.xml file works fine. However, I found that the build.xml creates a 
classpath which includes the location of the classes for the InterestBean and 
InterestHome residing on disk as shown in bold below. 
 
Excerpt from on-line example doc  http://www.jboss.org/online-manual/HTML/ch01s15.html :
 
interest-client: [echo] Using client classpath: /tmp/JBoss-2.2.2/client/ejb.jar:/tmp/JBoss-2.2.2/client/jaas.jar:/tmp/JBoss-2.2.2/client/jbosssx-client.jar:/tmp/JBoss-2.2.2/client/jboss-client.jar:/tmp/JBoss-2.2.2/client/jnp-client.jar:/tmp/tomcat/lib/servlet.jar:/tmp/examples/build-examples/interest/classes:/tmp/examples/resources
 
This shows that the classpath used to execute the client included a number 
of jars located in the JBoss client directory as well as the directory 
containing the compiled example classes and the directory containing 
the jndi.properties file. 
 
This implies that I cannot write an application 
that accesses jboss deployed beans without having the classes for the beans 
reside on disk in my classpath.
 
I removed InterestClient from the same package 
as the EJB. If I rename the org ( to org- ) in this location (examples/build-examples/interest/classes)then the example 
does not run ( cannot find InterestHome ). I thought the idea 
was to retrieve the classes from jboss instead of from disk.  I know I have 
succesfully deployed the EJB as interest/Interest from the jboss/log file shown 
below. Can somebody enlighten me as I have pounded on this for 2 days and am 
getting nowhere. Why are the classes being included in the build.xml for 
execution of the client? The jndi.properties file resides under the resources 
dir indicated at the tail end of the classpath above.
 
ampere jec zen 151> ls 
/home/marconi/users/jec/java/jboss-examples/examples/build-examples/interest/classesInterestClient.class  
org-
 
ampere jec zen 152> jbossRunClient 
InterestClient/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jboss-j2ee.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jaas.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jbosssx-client.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jboss-client.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jnp-client.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/catalina/common/lib/servlet.jar:/home/marconi/users/jec/java/jboss-examples/examples/resources:/home/marconi/users/jec/java/jboss-examples/examples/build-examples/interest/classes:.Got 
contextjavax.naming.CommunicationException [Root exception is 
java.lang.ClassNotFoundException: 
org.jboss.docs.interest.InterestHome]
ampere jec zen 153> cd 
/home/marconi/users/jec/java/jboss-examples/examples/build-examples/interest/classesampere 
jec zen 154> mv org- orgampere jec zen 155> cd 
~/java/jboss-examples/examples/org/jboss/docs/interest ampere jec zen 
156> jbossRunClient 
InterestClient/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jboss-j2ee.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jaas.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jbosssx-client.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jboss-client.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/jboss/client/jnp-client.jar:/home/marconi/users/jec/java/JBoss/JBoss-2.4.4_Tomcat-4.0.1/catalina/common/lib/servlet.jar:/home/marconi/users/jec/java/jboss-examples/examples/resources:/home/marconi/users/jec/java/jboss-examples/examples/build-examples/interest/classes:.Got 
contextGot referenceInterest on 1000 units, at 10% per period, 
compounded over 2 periods is:210.23ampere jec zen 157> 

 
[13:52:02,440,StatelessSessionContainer] Begin 
java:comp/env for EJB: Interest[13:52:02,441,StatelessSessionContainer] TCL: 
java.net.URLClassLoader@34f7c5[13:52:02,458,StatelessSessionContainer] 
End java:comp/env for EJB: Interest[13:52:02,458,StatelessSessionContainer] 
Mapped Container method remove HASH 
-1842617161[13:52:02,459,StatelessSessionContainer] Mapped Container method 
getEJBHome HASH -993218923[13:52:02,460,StatelessSessionContainer] Mapped 
Container method getHandle HASH 
1182305581[13:52:02,460,StatelessSessionContainer] Mapped Container method 
getPrimaryKey HASH -131865408[13:52:02,461,StatelessSessionContainer] Mapped 
Container method isIdentical HASH 
285457048[13:52:02,462,StatelessSessionContainer] Mapped 
calculateCompoundInterest 130738471to public double 
org.jboss.docs.interest.InterestBean.calculateCompoundInterest(double,double,double)[13:52:02,463,Statel

[JBoss-user] child name xx is not unique

2002-02-28 Thread James Cleary

JBoss 3.0 -

can somebody explain why I keep getting this child not unique error and why
the server says it is undeploying a tmp/95.ejb-jar file 2 times, then says
it can't cause it's null or not a copy then goes and says it undeployed it.
Rather confusing.

org.jboss.deployment.DeploymentException: Error during deploy; - nested
throwable is: java.lang.IllegalArgumentException: addChild:  Child name
'/BonusRoot' is not unique
java.lang.IllegalArgumentException: addChild:  Child name '/BonusRoot' is
not unique
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCa
talinaServiceSX.java:443)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatal
inaServiceSX.java:287)
at
org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:389)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
at
org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:793)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:453)
at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
at java.lang.Thread.run(Thread.java:484)
org.jboss.deployment.DeploymentException: Error during deploy; - nested
throwable is: java.lang.IllegalArgumentException: addChild:  Child name
'/BonusRoot' is not unique
at
org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:399)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
at
org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:793)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:453)
at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:296)
at org.jboss.deployment.MainDeployer.run(MainDeployer.java:259)
at java.lang.Thread.run(Thread.java:484)
13:23:41,956 INFO  [EARDeployer] Deploying J2EE application:
file:/homes/bell/JBoss/jboss-3.0.0beta/deploy/BonusApp.ear
13:23:40,990 INFO  [MainDeployer] Undeploying
file:/homes/bell/JBoss/jboss-3.0.0beta/deploy/BonusApp.ear
13:23:40,991 INFO  [MainDeployer] Undeploying
file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/96.ejb-jar-ic4.jar
13:23:40,992 INFO  [EJBDeployer]
Undeploying:file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/96.ejb-jar-ic4
.jar
13:23:40,997 INFO  [MainDeployer] not deleting localUrl, it is null or not a
copy: file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/96.ejb-jar-ic4.jar
13:23:40,998 INFO  [MainDeployer] Undeployed
file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/96.ejb-jar-ic4.jar
13:23:40,999 INFO  [MainDeployer] Undeploying
file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/95.ejb-jar-ic.jar
13:23:41,026 INFO  [EJBDeployer]
Undeploying:file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/95.ejb-jar-ic.
jar
13:23:41,034 INFO  [MainDeployer] not deleting localUrl, it is null or not a
copy: file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/95.ejb-jar-ic.jar
13:23:41,036 INFO  [MainDeployer] Undeployed
file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/95.ejb-jar-ic.jar




**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***

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



Re: [JBoss-user] Beta can't deploy my entity beans

2002-03-01 Thread James Cleary

I went through the Enterprise Java Beans tutorial exercises.. under lesson1
is a BonusApp that has an entity bean in it ( i think ). Works for me with
3.0beta (Solaris). Give this one a shot and goto

localhost:8080/BonusRoot/bonus.html

ampere jec partslists 1037> echo $JBOSS_DIST/
/homes/bell/JBoss/jboss-3.0.0beta/

09:34:56,761 INFO  [MainDeployer] Deploying:
file:/homes/bell/JBoss/jboss-3.0.0beta/deploy/BonusApp.ear
09:34:56,776 INFO  [EARDeployer] Init J2EE application:
file:/homes/bell/JBoss/jboss-3.0.0beta/deploy/BonusApp.ear
09:34:57,739 INFO  [MainDeployer] Deploying:
file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/87.ejb-jar-ic.jar
09:34:58,048 INFO  [EJBDeployer] Deploying CalcBean
09:34:59,156 INFO  [MainDeployer] Deploying:
file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/88.ejb-jar-ic4.jar
09:35:00,758 INFO  [EJBDeployer] Deploying BonusBean
09:35:04,274 INFO  [JDBCInitCommand] Table 'BonusBean' already exists
09:35:04,546 INFO  [EnterpriseContextCachePolicy] Cache policy scheduler
started
09:35:04,552 INFO  [MainDeployer] Deploying:
file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/89.war-ic.war
09:35:04,639 INFO  [EmbeddedCatalinaServiceSX] deploy, ctxPath=/BonusRoot,
warUrl=file:/homes/bell/JBoss/jboss-3.0.0beta/tmp/deploy/89.war-ic.war
09:35:11,799 INFO  [EmbeddedCatalinaServiceSX] WebappLoader[/BonusRoot]:
Deploying class repositories to work directory
/homes/bell/JBoss/jboss-3.0.0beta/jakarta-tomcat-4.0.2/work/localhost/BonusR
oot
09:35:11,875 INFO  [EmbeddedCatalinaServiceSX] WebappLoader[/BonusRoot]:
Deploy class files /WEB-INF/classes to
/homes/bell/JBoss/jboss-3.0.0beta/jakarta-tomcat-4.0.2/work/localhost/BonusR
oot/WEB-INF/classes
09:35:12,582 INFO  [EmbeddedCatalinaServiceSX] StandardManager[/BonusRoot]:
Seeding random number generator class java.security.SecureRandom
09:35:12,631 INFO  [EmbeddedCatalinaServiceSX] StandardManager[/BonusRoot]:
Seeding of random number generator has been completed
09:35:14,819 INFO  [EmbeddedCatalinaServiceSX] ContextConfig[/BonusRoot]:
Added certificates -> request attribute Valve
09:35:15,724 INFO  [EmbeddedCatalinaServiceSX]
StandardWrapper[/BonusRoot:default]: Loading container servlet default
09:35:17,734 INFO  [EmbeddedCatalinaServiceSX] default: init
09:35:17,786 INFO  [EmbeddedCatalinaServiceSX]
StandardWrapper[/BonusRoot:invoker]: Loading container servlet invoker
09:35:18,081 INFO  [EmbeddedCatalinaServiceSX] invoker: init
09:35:19,135 INFO  [EmbeddedCatalinaServiceSX] jsp: init
09:35:24,965 INFO  [EARDeployer] Deploying J2EE application:
file:/homes/bell/JBoss/jboss-3.0.0beta/deploy/BonusApp.ear





- Original Message -
From: "Eric Jain" <[EMAIL PROTECTED]>
To: "Jboss-User" <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 8:58 AM
Subject: [JBoss-user] Beta can't deploy my entity beans


> While TestSessionEJB alone can be deployed, deployment fails if I add an
> entity bean. Used to work with JBoss alpha!
>
>
> INFO  [MainDeployer] Deploying: file:/C:/Programme/JBoss/deploy/test.jar
> INFO  [EJBDeployer] Deploying TestEntityEJB
> INFO  [EJBDeployer] Deploying TestSessionEJB
> ERROR [EntityContainer] Exception in service lifecyle operation: create
> org.jboss.deployment.DeploymentException: expected one strategy tag
> at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:95)
> at
org.jboss.metadata.MetaData.getUniqueChildContent(MetaData.java:202)
> at
>
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData.(JDBCRea
> dAheadMetaData.java:91)
> ...
>
>
> --
> Eric Jain
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***


BonusApp.ear
Description: Binary data
Title: Writing Enterprise Applications









  
  
  

  
  


  
  

  
  

  

  

  

  

  

  

  
  

  
  

Re: [JBoss-user] problem in interest example - class not found!!!

2002-06-04 Thread James Cleary

I'm guessing missing servlet.jar  in classpath.. I haven't switched to 3.0RC
yet so maybe jnet.jar is the new servlet jar?


- Original Message -
From: "Marius Kotsbak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 7:02 AM
Subject: Re: [JBoss-user] problem in interest example - class not found!!!


> Include jnet.jar in your classpath.
>
> On Tue, 2002-06-04 at 12:55, Ibrahim Salloum wrote:
> hello,
>
> in the interest example, iam able to deploy the bean, but when i try to
> "ant" the client, it reports an error... and here is the full store...
>
>
> >ant intro-interest-client
> Buildfile: build.xml
> validate-servlet:
> validate-jboss:
> fail_if_not_valid:
> init:
>  [echo] Using JBoss directory=E:\tools\jboss-3.0.0RC3_tomcat-4.0.3
>  [echo] Using base
>
classpath=E:\tools\jboss-3.0.0RC3_tomcat-4.0.3\client\jboss-j2ee.jar;E:\tool
s\jboss-3.0.0RC3_tomcat-4.0.3\client\jaas.jar;E:\to
>
ols\jboss-3.0.0RC3_tomcat-4.0.3\client\jbosssx-client.jar;E:\tools\jboss-3.0
.0RC3_tomcat-4.0.3\client\jboss-client.jar;E:\tools\jboss-3.0.0RC3_tomcat-
> 4.0.3\client\jnp-client.jar;E:\Docs\JBoss
> 3.0\documentation-example\examples\COULD_NOT_FIND_SERVLET_JAR
>  [echo] Using Source directory=E:\Docs\JBoss
> 3.0\documentation-example\examples
>  [echo] Using Build directory=E:\Docs\JBoss
> 3.0\documentation-example\examples/build-examples
> intro-interest-client:
> compile:
> [javac] Warning: org\jboss\docs\interest\InterestBean.java modified
> in the future.
> [javac] Warning: org\jboss\docs\interest\InterestClient.java
> modified in the future.
> [javac] Warning: org\jboss\docs\interest\InterestHome.java modified
> in the future.
> [javac] Compiling 3 source files to E:\Docs\JBoss
> 3.0\documentation-example\examples\build-examples\interest\classes
>
> interest-client:
>  [java] Exception in thread main
>  [java] java.lang.NoClassDefFoundError: javax.net.SocketFactory
>  [java] javax.naming.Context
>
org.jnp.interfaces.NamingContextFactory.getInitialContext(java.util.Hashtabl
e)
>  [java] javax.naming.Context
> javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable)
>  [java] javax.naming.Context
> javax.naming.InitialContext.getDefaultInitCtx()
>  [java] void
> javax.naming.InitialContext.init(java.util.Hashtable)
>  [java] void javax.naming.InitialContext.()
>  [java] void
> org.jboss.docs.interest.InterestClient.main(java.lang.String[])
>  [java] Java Result: 1
> BUILD SUCCESSFUL
> Total time: 1 second
>
> regards,
>
> 
> Join the world?s largest e-mail service with MSN Hotmail. Click Here
> ___ Don't
> miss the 2002 Sprint PCS Application Developer's Conference August 25-28
> in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> ___ JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

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



Re: [JBoss-user] problem in interest example - class not found!!!

2002-06-04 Thread James Cleary



missing in your classpath:
 
$JBOSS_DIST/catalina/common/lib/servlet.jar
 
I think i recall on the Sun having to set the link 
catalina under JBOSS_DIST so the above path would be valid.
 

  - Original Message - 
  From: 
  Ibrahim 
  Salloum 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, June 04, 2002 6:55 
AM
  Subject: [JBoss-user] problem in interest 
  example - class not found!!!
  
  
  hello,
   
  in the interest example, iam able to deploy the bean, but when i try to 
  "ant" the client, it reports an error... and here is the full 
  store...
   
   
  >ant intro-interest-clientBuildfile: build.xml
  validate-servlet:
  validate-jboss:
  fail_if_not_valid:
  init: [echo] Using JBoss 
  directory=E:\tools\jboss-3.0.0RC3_tomcat-4.0.3 
  [echo] Using base 
  classpath=E:\tools\jboss-3.0.0RC3_tomcat-4.0.3\client\jboss-j2ee.jar;E:\tools\jboss-3.0.0RC3_tomcat-4.0.3\client\jaas.jar;E:\tools\jboss-3.0.0RC3_tomcat-4.0.3\client\jbosssx-client.jar;E:\tools\jboss-3.0.0RC3_tomcat-4.0.3\client\jboss-client.jar;E:\tools\jboss-3.0.0RC3_tomcat-4.0.3\client\jnp-client.jar;E:\Docs\JBoss 
  3.0\documentation-example\examples\COULD_NOT_FIND_SERVLET_JAR 
  [echo] Using Source directory=E:\Docs\JBoss 
  3.0\documentation-example\examples [echo] Using 
  Build directory=E:\Docs\JBoss 
  3.0\documentation-example\examples/build-examples
  intro-interest-client:
  compile:    [javac] Warning: 
  org\jboss\docs\interest\InterestBean.java modified in the 
  future.    [javac] Warning: 
  org\jboss\docs\interest\InterestClient.java modified in the 
  future.    [javac] Warning: 
  org\jboss\docs\interest\InterestHome.java modified in the 
  future.    [javac] Compiling 3 source files to 
  E:\Docs\JBoss 
  3.0\documentation-example\examples\build-examples\interest\classes
   
  interest-client: [java] Exception in 
  thread main [java] java.lang.NoClassDefFoundError: 
  javax.net.SocketFactory 
  [java] javax.naming.Context 
  org.jnp.interfaces.NamingContextFactory.getInitialContext(java.util.Hashtable) 
  [java] javax.naming.Context 
  javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable) 
  [java] javax.naming.Context 
  javax.naming.InitialContext.getDefaultInitCtx() 
  [java] void 
  javax.naming.InitialContext.init(java.util.Hashtable) 
  [java] void 
  javax.naming.InitialContext.() 
  [java] void 
  org.jboss.docs.interest.InterestClient.main(java.lang.String[]) &n! 
  bsp;   [java] Java Res ult: 1
  BUILD SUCCESSFUL
  Total time: 1 second
   
  regards,
  
  Join the world’s largest e-mail service with MSN Hotmail. Click 
  Here___ 
  Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 
  in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm 
  ___ JBoss-user mailing list 
  [EMAIL PROTECTED] 
  https://lists.sourceforge.net/lists/listinfo/jboss-user 



Re: [JBoss-user] socket error trying to create a session bean

2002-06-07 Thread James Cleary

Is your application running the same or greater jre as JBoss?

I've seen socket errors when the client is running 1.4 and JBoss running
1.3.

Make them the same.  I thought i saw someone mention a bug with JBoss 3.0
final running 1.4.  Think you need to use 1.3 to kick off JBoss.




- Original Message -
From: "Chris Chen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 06, 2002 5:08 PM
Subject: RE: [JBoss-user] socket error trying to create a session bean


> Hi,
>
> This is my jboss.properties:
>
> java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
> java.naming.provider.url=jnp://localhost:1099
> java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
>
> Don't know if this will help you though, but I hope so.
>
> Chris
>
>
> At 02:00 PM 06/06/2002, you wrote:
> >Does anybody have the slightest idea of what could be causing such a
> >low-level socket type error?  I've since upgraded to jdk1.4 but to no
avail.
> >Still the same error.  Here's what I'm using for the jndi.properties on
the
> >client side.  Does this look right?
> >
> >java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
> >java.naming.provider.url=localhost:1099
> >java.naming.factory.url.pkgs=org.jboss.naming
> >
> >Thanks,
> >
> >Gray Jones
> >
> >-Original Message-
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Gray Jones
> >Sent: Thursday, June 06, 2002 1:37 PM
> >To: [EMAIL PROTECTED]
> >Subject: [JBoss-user] socket error trying to create a session bean
> >
> >
> >
> >Hello,
> >
> >I am excited that 3.0 has been released.  I'm trying to convert a 2.4
> >project over to 3.0 and get a socket error when I try to call create on a
> >session bean.  I don't understand what the problem is and am not sure how
i
> >can diagnose the problem.  Can anybody give me some pointers as to where
i
> >could look?
> >
> >I'm using jdk 1.3.1_02.  I copied the entire client directory under
jboss3.0
> >to the class path of the client (which is a web application running under
> >tomcat).  The jboss server doesnt' make it to the point of calling my
> >ejbCreate method.
> >
> >Thanks for any help,
> >
> >Gray Jones
> >
> >java.net.SocketException: Connection aborted by peer: socket write error
> > at java.net.SocketOutputStream.socketWrite(Native Method)
> > at java.net.SocketOutputStream.write(SocketOutputStream.java:96)
> > at
java.io.BufferedOutputStream.write(BufferedOutputStream.java:112)
> > at
java.io.ObjectOutputStream.drain(ObjectOutputStream.java:1463)
> > at
> >java.io.ObjectOutputStream.setBlockData(ObjectOutputStream.java:1486)
> >
> > at
> >java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:407)
> > at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:268)
> > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:106)
> > at
org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown
> >Sour
> >ce)
> > at
> >org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvo
> >kerProxy.java:128)
> > at
> >org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
> >a:108)
> > at
> >org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
> >java:73)
> > at
> >org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:7
> >6)
> > at
> >org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
> > at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
> > at $Proxy1.create(Unknown Source)
> > at
> >com.xtriahc.xsecure.model.ejb.client.EJBXSecureManager.acquireHomeRef
> >erences(EJBXSecureManager.java:84)
> >
> >
> >___
> >
> >Don't miss the 2002 Sprint PCS Application Developer's Conference
> >August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> >
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> >___
> >
> >Don't miss the 2002 Sprint PCS Application Developer's Conference
> >August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> >
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> PGP at ldap://certserver.pgp.com/
>
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



**
This e-mai

Re: [JBoss-user] why EJBs?

2002-10-16 Thread James Cleary

Maybe by going thru a simple tutorial it will become obvious to him whether
his app would benefit by moving to EJBs ->

http://developer.java.sun.com/developer/onlineTraining/J2EE/Intro2/j2ee.html

also..

http://www.jboss.org/overview.jsp





- Original Message -
From: <[EMAIL PROTECTED]>
To: <>
Sent: Wednesday, October 16, 2002 10:36 AM
Subject: Re: [JBoss-user] why EJBs?


> Vincent,
>
> No one can answer your question without knowing your app requirements.
>
> Vincent Stoessel wrote:
>
> > Hello,
> > I am using struts 1.1b2
> > I am finding that modeling my business logic in custom beans seems to be
> > working fine for me in tomcat 4.1.x enviroment. But I know that my
> > management would really like for me to add EJBs to the mix. I was
> > looking at using jboss. Can some pro-Jboss/EJB person tell why in the
> > world I need to be using EJB instead of using my own model classes? It
> > is a relatively small app but an important one for the company.
> > Thanks.
>
>
> --
> Greg Turner, JBoss Authorized Consultant
>
> Tiburon Enterprise Systems
> http://www.tiburon-e-systems.com
> Box 1171
> Tiburon, CA 94920
> 415-927-2543
>
>
>
>
>
>
> ---
> This sf.net email is sponsored by: viaVerio will pay you up to
> $1,000 for every account that you consolidate with us.
> http://ad.doubleclick.net/clk;4749864;7604308;v?
> http://www.viaverio.com/consolidator/osdn.cfm
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***


---
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] forum search not working?

2002-11-06 Thread James Cleary
I've tried both Konqueror and Netscape doing searches in the forums and
never get anything back. I browsed the installation and config forum.. noted
xalan mentioned and then searched for xalan in that forum. Nothing returned.
I'm logged in as user cleary. What gives?

James



**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBOss server : HTTP Error: Internal server

2002-11-07 Thread James Cleary
works for me

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 07, 2002 1:06 PM
Subject: RE: [JBoss-user] JBOss server : HTTP Error: Internal server


> I mean the Jboss webserver http://www.jboss.org
> 
> -Original Message-
> From: Jules Gosnell [mailto:jules@;mortbay.com]
> Sent: donderdag 07 november 2002 12:43
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JBOss server : HTTP Error: Internal server
> Error
> 
> 
> What version ?
> What port ?
> Logfile ?
> OS ?
> JVM ?
> etc ?
> 
> Jules
> 
> 
> Kazandjian Erik wrote:
> 
> > Is there anyone who can connect to the JBoss server. I always get
> >
> >  
> >
> >
> > HTTP ERROR: 500 Internal Server Error
> >
> > RequestURI=/
> >
> >  
> >
> >  
> >
> > Thanks
> >
> > Erik
> >
> 
> 
> 
> 
> 
> This email has been scanned for all viruses by the MessageLabs SkyScan
> service. For more information on a proactive anti-virus service working
> around the clock, around the globe, visit http://www.messagelabs.com
> 
> 
> 
> ---
> This sf.net email is sponsored by: See the NEW Palm 
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ---
> This sf.net email is sponsored by: See the NEW Palm 
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] resource-loading in .war

2002-11-08 Thread James Cleary
Hope this helps.. an example i think i grabbed from JBoss example dir:

//web page ->
marconi jec zen 142> grep MailerServlet war/home.html
  

//compile classes to build dir ->
marconi jec zen 144> ls build/classes/cae/javamail/
Mailer.class   MailerHome.class   MailerLocalHome.class
MailerBean.class   MailerLocal.class  MailerServlet.class

//copy Servlet class to WEB-INF ->
marconi jec zen 143> ls build/javamail/WEB-INF/classes/cae/javamail/
MailerServlet.class

//web.xml says what EJBs to use and which servlet ->
marconi jec zen 146> more build/javamail/WEB-INF/web.xml


http://localhost:/dtd/web-app_2_2.dtd";>



MailerServlet
cae.javamail.MailerServlet


MailerServlet
/MailerServlet



  home.html




ejb/Mailer
Session
cae.javamail.MailerHome
cae.javamail.Mailer




//shove EJBs in jar ->
marconi jec zen 147> jar tf build/javamail/mailer.jar
META-INF/
META-INF/MANIFEST.MF
cae/
cae/javamail/
cae/javamail/Mailer.class
cae/javamail/MailerBean.class
cae/javamail/MailerHome.class
cae/javamail/MailerLocal.class
cae/javamail/MailerLocalHome.class
META-INF/ejb-jar.xml
META-INF/jboss.xml

//shove Servlet in war ->
marconi jec zen 148> jar tf build/javamail/mailer.war
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/classes/
WEB-INF/classes/cae/
WEB-INF/classes/cae/javamail/
WEB-INF/web.xml
WEB-INF/jboss-web.xml
WEB-INF/classes/cae/javamail/MailerServlet.class
home.html

// then cram war and jar into ear and deploy the ear ->
marconi jec zen 149> jar tf build/javamail/mailer.ear
META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
mailer.jar
mailer.war

//here's my application.xml that goes in the ear ->
marconi jec zen 151> more build/javamail/META-INF/application.xml



Javamail



mailer.war
/mailer




mailer.jar




//add a jboss.xml if you want ( doesn't look like i have it in the ear file
though for my case ) ->
marconi jec zen 152> more build/javamail/META-INF/jboss.xml


  

  Mailer
  Mailer
  MailerLocal

  
  

  mail/Mail
  Mail

  


James


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 12:37 PM
Subject: [JBoss-user] resource-loading in .war


> I'm running JBoss 3.0.4 w/Jetty. My servlets / JSPs cannot find resources
> located under WEB-INF/classes. Am I missing something? Isn't
WEB-INF/classes
> the 'default' root directory for servlets loading resources?
>
> - Henning
>
>
> ---
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Re: resource-loading in .war

2002-11-11 Thread James Cleary
Good question. Not sure.ClassLoaders must be different? Try printing them
out:

getClass().getClassLoader() vs Thread...



- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 11:17 PM
Subject: [JBoss-user] Re: resource-loading in .war


> Case closed - the problem is in the tapestry library version 2.2. I
browsed
> the wrong version. :p
>
> But why does getClass().getResource() fail? Is
> Thread.currentThread.getContextClassLoader() always the way to go?
>
> - Henning
>
> > Seems like you're right after all James, I just had to remove
> > the leading
> > "/" in the resource path. :)
> >
> > I've done some research, and found something strange:
> > If I bundled my war inside an ear, I was able to load the
> > resource using the
> > following lines of code:
> >
> > ClassLoader cl =
> > Thread.currentThread().getContextClassLoader();
> > java.net.URL resource =
> > cl.getResource("intraweb/Intraweb.application");
> >
> > Effectively the same code is used in
> > net.sf.tapestry.DefaultResourceResolver.getResource(), but
> > the tapestry
> > ApplicationServlet is _not_ able to load the resource.
> >
> > Do you have any suggestions what may cause this behaviour?
>
>
> ---
> This sf.net email is sponsored by: See the NEW Palm
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss on Linux Problem

2002-12-02 Thread James Cleary

Can you run with 1.4 when you first boot JBoss? I've seen problem when
redeploying. Have to restart JBoss every time I deploy.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 1:42 AM
Subject: [JBoss-user] JBoss on Linux Problem


>
> I have some problem when run application on Linux. I was able to start
> JBoss and deploy the application. But facing the problem when try to call
> the jsp page, return nothing. But when I change JRE to version 1.3, it
able
> to run without any problem.
>
> Server spec:
> Linux RedHat 8.0
> JBoss 3.0.4
> JRE 1.4
>
> Does anybody have expience about this kind of problem, how to fix it?
>
> Thanks in advance,
> Phuwarin
>
>
>
> ---
> This SF.net email is sponsored by: Get the new Palm Tungsten T
> handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



**
This e-mail and any files transmitted with it are confidential and may
be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.
***


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Store large pdfs with JBoss

2003-01-03 Thread James Cleary



Our Product Data Manager system does the same. Just 
stores the files on disk with encrypted names. The database has the URLs to the 
correct PDF for a particular document number. We can reach those URLs on our 
Apache web server. If trying the JBoss route you could modify your 
$JAVA_HOME/jre/lib/security/java.policy file to ALL Permissions for your local 
disk drive. Not very portable then but depends on the application/environment. 
Not sure how you'd reference the PDFs though. Maybe placing your files under a 
webapp directory?
  

  - Original Message - 
  From: 
  Nelson, Tracy 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Friday, January 03, 2003 1:07 
  PM
  Subject: RE: [JBoss-user] Store large 
  pdfs with JBoss
  
  I've always done it with the filesystem.  The 
  database just stores the path to the file.  Typically you establish some 
  rules for the filesystem store (retention time, max space, maybe use quotas) 
  and have it owned by whatever user the app server runs as.
  
-Original Message-From: Luttrell, Peter 
[mailto:[EMAIL PROTECTED]]Sent: Friday, January 03, 
2003 09:14To: [EMAIL PROTECTED]Subject: 
[JBoss-user] Store large pdfs with JBoss
Has anyone had experience 
storing large pdfs with jboss, say ~5mbs each?
 
I would like to do it with 
Oracle and BLOBs, but i've read that there's problems with the drivers and 
jboss and it doesn't look like it will be possible.
 
Has anyone done with with 
any other database?
 
Does anyone have ideas on 
how else to store these files, maybe without a database? I've always thought 
the filesystem was pretty much off limits from the 
appserver.
 
thanks.
.peter
 
This transmission contains information solely for 
intended recipient and may be privileged, confidential and/or otherwise 
protect from disclosure. If you are not the intended recipient, please 
contact the sender and delete all copies of this transmission. This message 
and/or the materials contained herein are not an offer to sell, or a 
solicitation of an offer to buy, any securities or other instruments. The 
information has been obtained or derived from sources believed by us to be 
reliable, but we do not represent that it is accurate or complete. Any 
opinions or estimates contained in this information constitute our judgment 
as of this date and are subject to change without notice. Any information 
you share with us will be used in the operation of our business, and we do 
not request and do not want any material, nonpublic information. Absent an 
express prior written agreement, we are not agreeing to treat any 
information confidentially and will use any and all information and reserve 
the right to publish or disclose any information you share with 
us.


Re: [JBoss-user] MySQL Datasource configuration problem

2003-01-16 Thread James Cleary

Try changing the first occurence of "name" to "service" as follows.  Not
sure which version of JBoss they changed this in but it's always biting me
because we run several versions.

 jboss.secur
ity:service=JaasSecurityManager




> 
optional-attribute-name="JaasSecurityManagerService">jboss.security:service=
JaasSecurityManager
>
>




**
This e-mail and any files transmitted with it may be confidential and
may be legally privileged or otherwise exempt from disclosure under
applicable law. This e-mail and its files are intended solely for
the individual or entity to whom they are addressed and their content
is the property of Smiths Aerospace.  If you are not the intended
recipient, please do not read, copy, use or disclose this communication.
If you have received this e-mail in error please notify the e-mail 
administrator at [EMAIL PROTECTED] and then delete this e-mail, its
files and any copies.

This footnote also confirms that this e-mail message has been scanned
for the presence of known computer viruses.

Smiths addresses are changing!  The new addresses are of the form
[EMAIL PROTECTED]  Please update your address
books!  Please begin using the new form immediately.
***


---
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] unable to deploy my application to JBoss-Jetty: java.lang.ClassNotFoundException: org.mortbay.j2ee.session.JGStore

2003-01-20 Thread James Cleary
Title: RE: [JBoss-user] unable to deploy my application to JBoss-Jetty: java.lang.ClassNotFoundException: org.mortbay.j2ee.session.JGStore



here here..  i just spent 1 hour searching 
jboss forum and jboss user for the answer you said is out there with no luck. 

 
found a lot of posts complaining about it but no 
answer
 

  - Original Message - 
  From: 
  Herve 
  Tchepannou 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, January 20, 2003 8:57 
  AM
  Subject: RE: [JBoss-user] unable to 
  deploy my application to JBoss-Jetty: java.lang.ClassNotFoundException: 
  org.mortbay.j2ee.session.JGStore
  
  jboss-dev has ~16000 messages and there is no seach facility 
  on sf for mailing lists. Can you jsut tell me how to 
  fix that prob? thanx 
  -Original Message- From: Jules 
  Gosnell [mailto:[EMAIL PROTECTED]] Sent: 20 January 2003 05:07 To: [EMAIL PROTECTED] 
  Cc: jboss Subject: Re: [JBoss-user] 
  unable to deploy my application to JBoss-Jetty: 
  java.lang.ClassNotFoundException: org.mortbay.j2ee.session.JGStore 
  search this list's and jboss-dev's archive, I've already 
  answered this question, 
  Jules 
  Herve Tchepannou wrote: 
  >I'm trying to deploy an application that I've successfully 
  deployed on >JBoss-Tomcat, but Im receiving the 
  following errors: > >java.lang.ClassNotFoundException: 
  org.mortbay.j2ee.session.JGStore >    at 
  java.net.URLClassLoader$1.run(URLClassLoader.java:198) >    at 
  java.security.AccessController.doPrivileged(Native Method) >    at 
  java.net.URLClassLoader.findClass(URLClassLoader.java:186) >    at >org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:227) 
  >    at 
  >org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:200) 
  >    at 
  java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) >    at 
  java.lang.Class.forName0(Native Method) >    at 
  java.lang.Class.forName(Class.java:217) >    at 
  org.mortbay.j2ee.session.Manager.initialize(Manager.java:249) >    at >org.mortbay.jetty.servlet.ServletHandler.setSessionManager(ServletHandler.java:167) 
  >    at 
  >org.jboss.jetty.JBossWebApplicationContext.setUpDistributableSessionManager(JBossWebApplicationContext.java:293)    
  at 
  org.jboss.jetty.JBossWebApplicationContext.startHandlers(JBossWebApplicationContext.java:270)
  >    at 
  org.mortbay.http.HttpContext.start(HttpContext.java:1763) >    at >org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:471) 
  >    at 
  >org.mortbay.j2ee.J2EEWebApplicationContext.start(J2EEWebApplicationContext.java:85) 
  >    at 
  org.jboss.jetty.Jetty.deploy(Jetty.java:414) >    at >org.jboss.jetty.JettyService.performDeploy(JettyService.java:243) 
  >    at 
  >org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300) 
  >    at 
  >org.jboss.deployment.MainDeployer.start(MainDeployer.java:807) 
  >    at 
  >org.jboss.deployment.MainDeployer.start(MainDeployer.java:799) 
  >    at 
  >org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621) 
  >    at 
  >org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585) 
  >    at 
  sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) >    at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
  >    at 
  java.lang.reflect.Method.invoke(Method.java:324) >    at >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) 
  >    at 
  >org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) 
  >    at 
  org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) >    at 
  $Proxy4.deploy(Unknown Source) >    at >org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435) 
  >    at 
  >org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656) 
  >    at 
  >org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507) 
  >    at 
  >org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212) 
  >    at 
  >org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225) 
  >    at 
  >org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202) 
  >22:23:40,387 INFO  
  [JBossWebApplicationContext#/xpetstore] using >Distributable HttpSession Manager: org.mortbay.j2ee.sessio 
  > 
   
  This email has been scanned for all viruses by the 
  MessageLabs SkyScan service. For more information on a 
  proactive anti-virus service working around the clock, 
  around the globe, visit http://www.messagelabs.com  
  
  --

Re: [JBoss-user] Problems deploying an EAR on JBoss 3.2

2003-02-03 Thread James Cleary



Check the other .jar and .ear files in deploy for 
the same BarHomeRemote entry. Clear out everything if possible and deploy this 
ear only.
 
Try removing everything 
in the  $JBOSS_DEPLOY/../tmp/deploy/server/default/deploy/   
directory first.

  - Original Message - 
  From: 
  Christian Neuroth 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, February 03, 2003 10:16 
  AM
  Subject: [JBoss-user] Problems deploying 
  an EAR on JBoss 3.2
  
  Hi!
   
  Deploying the single 
  ejb-jar works... But when I pack them into an ear archive I receive the 
  following message:
   
  javax.management.InstanceAlreadyExistsException: 
  jboss.management.local:EJBModule=Foo-ejb.jar,J2EEApplication= 
  ,J2EEServer=example.ear,j2eeType=StatelessSessionBean,name=BarHomeRemote 
  already registered.
   
  I deleted everything from the deploy folder and 
  tried again - without success
   
   
  The application.xml:
  
  
  
  
  ExampleEAR
  blub
  
  Foo-ejb.jar
  
  
  Bar-ejb.jar
  
  
   
  Thanks!
      
Christian