Re: [JBoss-user] Problem mit 3.0.0RC1

2002-04-16 Thread Dmitri Colebatch

From watching the commit messages on the dev list it seems that this has only just 
been fixed.  I _think_ that the recent
jboss3-tomcat4 bundle might include this fix - maybe try that.

alternatively, the problem only occurs using the njar protocol - so if you can deploy 
some other way, then that will avoid it.

cheers
dim

- Original Message -
From: Ren Weili [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 3:34 PM
Subject: [JBoss-user] Problem mit 3.0.0RC1


 hi all,
 I have installed JBoss-3.0.0RC1 on Debian Linux.
 And I replaced jetty with Tomcat-4.0.4-b2-01.

 After I started with run.sh, it complains the same error:

   Starting deployment of package:
 file:/opt/jboss-3.0.0RC1/server/default/deploy/webtest.ear
   13:04:49,898 INFO  [EARDeployer] Init J2EE application: file:/opt/jboss-3.
 0.0RC1/server/default/deploy/webtest.ear
   13:04:50,184 INFO  [EmbeddedCatalinaServiceSX] deploy, ctxPath=,
 warUrl=njar:file:/opt/jboss-3.0.0RC1/server/default/tmp/deploy/opt/jboss-3.0
 .0RC1/server/default/deploy/webtest.ear/105.webtest.ear^/ROOT.war
   13:04:52,392 INFO  [Engine] StandardContext[]: Error initializing
 resources: Doc base must point to a WAR file
   13:04:54,666 INFO  [Engine] StandardContext[]: Context startup failed due
 to previous errors
   13:04:54,686 ERROR [Engine] StandardContext[]: Exception during cleanup
 after start failed
   LifecycleException:  Container StandardContext[] has not been started




  deploy, ctxPath=/lreg1,
 warUrl=njar:file:/opt/jboss-3.0.0RC1/server/default/tmp/deploy/opt/jboss-3.0
 .0RC1/server/default/deploy/lr_eg1.ear/106.lr_eg1.ear^/lr_eg1.war
  13:04:56,754 INFO  [Engine] StandardContext[/lreg1]: Error initializing
 resources: Doc base must point to a WAR file
  13:04:56,759 INFO  [Engine] StandardContext[/lreg1]: Context startup failed
 due to previous errors
  13:04:56,780 ERROR [Engine] StandardContext[/lreg1]: Exception during
 cleanup after start failed
  LifecycleException:  Container StandardContext[/lreg1] has not been started


 can anybody help me?


 Mit freundlichen Gruessen
 Ren Weili
 mailto:[EMAIL PROTECTED]
 TEL : 0086-21-695-62686
 FAX : 0086-21-595-77922
 SVW CS *-1


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


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



[JBoss-user] Fleurys basic problem!

2002-04-16 Thread David Hamilton

From JavaWorld
http://www.javaworld.com/javaworld/jw-04-2002/jw-0412-opensource.html

quote
The most vocal proponent of an open source-compatible J2EE is JBoss founder
Marc Fleury, who fears that opening up J2EE may happen too late. We need
the whole of J2EE to be compatible [with open source], and we need it to be
now, he says. Fleury, who has also founded the JBoss Group consulting
company, claims that although his project is essentially J2EE's reference
implementation, its adoption is hurting because, due to its open source
license, it cannot get J2EE certification. That lack of certification is
causing some potential JBoss users to turn to Microsoft, simply because
JBoss doesn't have a trusted brand like J2EE. If you don't have J2EE
certification, you don't have a level playing field, he says. We have a
problem fighting .Net because we don't have the brand.
'Sun says it's aware of JBoss's issues and that it is working to resolve
Fleury's concerns. It's going to take awhile to get it right, says one Sun
executive familiar with the situation. [Fleury's] basic problem is that the
project that he started was in violation of a specification license. Also
according to the Sun executive, JBoss is in a different position from Tomcat
because [Sun] asked Tomcat to do what they're doing. JBoss is also in a
different position because Sun is extremely concerned with maintaining
compatibility for the J2EE platform, and it views open source as a potential
threat to that compatibility. As Karen Tegan, director of Sun's J2EE
compatibility and platform services, said in a TheServerside.com interview
earlier this year, the J2EE Compatible brand has achieved significant
momentum over the past two years, and we want to make sure that any open
source efforts don't impact the viability of that effort.
quote
So JBoss is basically in violation with J2EE?  I think Sun are just having a
their own little legal trip here - not really tied in with reality.  Any
other thoughts?
david


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



Re: [JBoss-User] Entity Bean Test Failure

2002-04-16 Thread ObjectWiz

Hi again,

I forgot to say... I've tried this on the CVS from today (16th April 2002) and on RC1. 
I run RH7.2 with the Blackdown JVM (JDK 1.3.1).

Peter.

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



[JBoss-user] Entity Bean Test Failure

2002-04-16 Thread Peter Shillan

Hi there,

I have a really simple bean and test for that bean. I'm building the test gradually. 
I've included what I have so far. The problem is that although the bean is created, 
findByPrimaryKey() never finds any beans and findAll() always returns 0. If I try to 
create the bean again though, the bean is already there and a ServerException is 
thrown. (BTW, why a ServerException? Should it not be a CreateException?).

The error from the line:

Message beanByPK = _home.findByPrimaryKey(new Integer(1));

is:

 [java] javax.ejb.ObjectNotFoundException: No such entity!
 [java] at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
 [java] at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
 [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
 [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
 [java] at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
 [java] at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
 [java] .F
 [java] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
 [java] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
 [java] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
 [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96)
 [java] at $Proxy0.findByPrimaryKey(Unknown Source)

The error from the line:

Message beanByPK = _home.findByPrimaryKey(new Integer(1));

is:

1) 
testCreateMessageBean(client.uk.org.objectwiz.model.forum.ejb.TestClient)junit.framework.AssertionFailedError:
 [TestClient.removeAllBeans()] number of beans: 0

But if I try to insert the bean again, the error is:

 [java] java.rmi.ServerException: RemoteException occurred in server thread; 
nested exception is:
 [java] javax.transaction.TransactionRolledbackException: INSERTING AN ALREADY 
EXISTING BEAN, ID = 1; nested exception is:
 [java] java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, 
ID = 1
 [java] javax.transaction.TransactionRolledbackException: INSERTING AN ALREADY 
EXISTING BEAN, ID = 1; nested exception is:
 [java] java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, 
ID = 1
 [java] java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, ID = 1
 [java] .F
 [java] at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
 [java] at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
 [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
 [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
 [java] at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)

Can anyone shed any light on this?

Peter.

- 8 - INCLUDED CODE - 8 -

public class TestClient extends TestCase
{
  private MessageHome _home;

  public static void main(String[] args)
  {
junit.textui.TestRunner.run(TestClient.class);
  }

  public TestClient(String name)
  {
super(name);
  }

  public void testCreateMessageBean()
  {
try
  {
Integer beanKey = new Integer(1);
_home.create(beanKey, Test, This is a test);

Message beanByPK = _home.findByPrimaryKey(new Integer(1));
assertNotNull([TestClient.testCreateMessageBean()] findByPrimaryKey(1) 
returned null, beanByPK);
  }
catch(Exception e)
  {
e.printStackTrace();
fail();
  }
  }

  protected void setUp() throws Exception
  {
// Get a naming context
InitialContext jndiContext = new InitialContext();

// Get a reference to the message bean
Object ref = jndiContext.lookup(ejb/forum/Message);

// Get a reference from this to the bean's Home interface
 _home = (MessageHome) PortableRemoteObject.narrow(ref, MessageHome.class);
  }

  protected void tearDown() throws Exception
  {
try
  {
removeAllBeans();
  }
catch(Exception e)
  {
e.printStackTrace();
  }
  }

  /**
   * Remove all beans
   */
  private void removeAllBeans() throws Exception
  {
Collection allBeans = _home.findAll();

assertTrue([TestClient.removeAllBeans()] number of beans:  + allBeans.size(), 
allBeans.size()  0);

Iterator allBeansIterator = allBeans.iterator();

while(allBeansIterator.hasNext())
  {
Message bean = (Message)allBeansIterator.next();
_home.remove(bean.getHandle());
  }
  }
}

- 8 - INCLUDED CODE - 8 -



E-mail is an informal method of communication and may be subject to data corruption, 
interception and unauthorised amendment for which 

Re: [JBoss-User] Entity Bean Test Failure

2002-04-16 Thread Peter Shillan

Hi again,

I forgot to say... I've tried this on the CVS from today (16th April 2002) and on RC1. 
I run RH7.2 with the Blackdown JVM (JDK 1.3.1).

Peter.



E-mail is an informal method of communication and may be subject to data corruption, 
interception and unauthorised amendment for which Digital Bridges Ltd will accept no 
liability. Therefore, it will normally be inappropriate to rely on information 
contained on e-mail without obtaining written confirmation.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.




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



[JBoss-user] Re: ALERT - GroupShield ticket number OA29_1018913916_AAQMAIP01_3 wa s generated

2002-04-16 Thread Stephen Davidson

-Steve

Are we not allowed to attach files to the mailing list?  The are no XML based virii 
yet, so I thought there would not be a problem.

-Steve

GroupShield for Exchange (AAQMAIP01) wrote:

 Action Taken:
 The attachment was quarantined from the message and replaced with a text
 file informing the recipient of the action taken.
 
 To:
 jboss-user [EMAIL PROTECTED]
 
 From:
 Stephen Davidson [EMAIL PROTECTED]
 
 Sent:
 -997284224,29484243
 
 Subject:
 [JBoss-user] Stupid User? JCA Problem with Oracle Database (JBoss V3.0RC1)
 
 Attachment Details:-
 
 Attachment Name: oracle-service.xml
 File: oracle-service.xml
 Infected? No
 Repaired? No
 Blocked? Yes
 Deleted? No
 Virus Name: 
 
 
 
   
 



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



[JBoss-user] Oracle claims to be our partner

2002-04-16 Thread marc fleury

http://www.oracle.com/corporate/press/index.html?1279885.html

and we didn't even know about it! how about that...

these people are incredible, I need someone like that JBoss partners with
AOL and BellSouth to deliver the infrastructure of tomorrow and say it with
a straight face.

The world is coming to an end.

marcf

x
Marc Fleury, Ph.D
President and CEO
JBoss Group, LLC
x



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



Re: [JBoss-user] Oracle claims to be our partner

2002-04-16 Thread David Ward

On a related note - I downloaded their OC4J app server (just being 
curious, not really straying from JBoss) in mid-March and it appears to 
be Orion underneath.  All the xml config files are orion-this and 
orion-that.

--

marc fleury wrote:
 http://www.oracle.com/corporate/press/index.html?1279885.html
 
 and we didn't even know about it! how about that...
 
 these people are incredible, I need someone like that JBoss partners with
 AOL and BellSouth to deliver the infrastructure of tomorrow and say it with
 a straight face.
 
 The world is coming to an end.
 
 marcf
 
 x
 Marc Fleury, Ph.D
 President and CEO
 JBoss Group, LLC
 x


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



[JBoss-user] Postgres ConnectionManager error

2002-04-16 Thread Simon Stewart

Thanks to all of you who offered advice before: I'm now a bit more
confident that this can be made to work. I'm still using JDK 1.4,
JBoss 3RC1, Postgres 7.2.1 and the pgjdbc2.jar driver on Linux and I
now have a PostgresDS appearing in my list of MBeans. I've bound
this to the JNDI name DefaultDS in the postgres-service.xml file
and removed the corresponding db-service.xml file for hsql.

JBoss now appears to start up cleanly, but as soon as I copy my .ear
file to the deploy directory, I get a string of Exceptions being
thrown. The first of these appears to be the most serious, and the
reason why the later exceptions are thrown:

2002-04-16 13:10:25,422 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Load SQL: 
SELECT OSUser.id,OSUser.passwordHash,OSUser.name FROM OSUser WHERE id=?
2002-04-16 13:10:26,052 ERROR 
[org.jboss.resource.security.ConfiguredIdentityLoginModule] The ConnectionManager 
mbean: jboss.jca:service=LocalTxDS,name=PostgresDS specified in a 
ConfiguredIdentityLoginModule could not be found.  ConnectionFactory will be unusable!
2002-04-16 13:10:26,114 ERROR [org.jboss.ejb.EntityContainer] Exception in service 
lifecyle operation: create
java.lang.SecurityException: Invalid authentication attempt, principal=null
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:542)

So it looks like in the postgres-service.xml file, I need to specify a
different ConnectionManager. Anyone out there know which one?

Cheers,

Simon

-- 
For non-deterministic read 'Inhabited by pixies.'

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



Re: [JBoss-user] Entity Bean Test Failure

2002-04-16 Thread Dain Sundstrom

What is the code for the create and post create?  What is the serverside 
exception?  What is the primary key type?

-dain

Peter Shillan wrote:

 Hi there,
 
 I have a really simple bean and test for that bean. I'm building the test gradually. 
I've included what I have so far. The problem is that although the bean is created, 
findByPrimaryKey() never finds any beans and findAll() always returns 0. If I try to 
create the bean again though, the bean is already there and a ServerException is 
thrown. (BTW, why a ServerException? Should it not be a CreateException?).
 
 The error from the line:
 
 Message beanByPK = _home.findByPrimaryKey(new Integer(1));
 
 is:
 
  [java] javax.ejb.ObjectNotFoundException: No such entity!
  [java] at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
  [java] at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
  [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
  [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
  [java] at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
  [java] at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
  [java] .F
  [java] at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
  [java] at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
  [java] at 
org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
  [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96)
  [java] at $Proxy0.findByPrimaryKey(Unknown Source)
 
 The error from the line:
 
 Message beanByPK = _home.findByPrimaryKey(new Integer(1));
 
 is:
 
 1) 
testCreateMessageBean(client.uk.org.objectwiz.model.forum.ejb.TestClient)junit.framework.AssertionFailedError:
 [TestClient.removeAllBeans()] number of beans: 0
 
 But if I try to insert the bean again, the error is:
 
  [java] java.rmi.ServerException: RemoteException occurred in server thread; 
nested exception is:
  [java] javax.transaction.TransactionRolledbackException: INSERTING AN 
ALREADY EXISTING BEAN, ID = 1; nested exception is:
  [java] java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, 
ID = 1
  [java] javax.transaction.TransactionRolledbackException: INSERTING AN ALREADY 
EXISTING BEAN, ID = 1; nested exception is:
  [java] java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, 
ID = 1
  [java] java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, ID 
= 1
  [java] .F
  [java] at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
  [java] at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
  [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
  [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
  [java] at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
 
 Can anyone shed any light on this?
 
 Peter.
 
 - 8 - INCLUDED CODE - 8 -
 
 public class TestClient extends TestCase
 {
   private MessageHome _home;
 
   public static void main(String[] args)
   {
 junit.textui.TestRunner.run(TestClient.class);
   }
 
   public TestClient(String name)
   {
 super(name);
   }
 
   public void testCreateMessageBean()
   {
 try
   {
 Integer beanKey = new Integer(1);
 _home.create(beanKey, Test, This is a test);
 
 Message beanByPK = _home.findByPrimaryKey(new Integer(1));
 assertNotNull([TestClient.testCreateMessageBean()] findByPrimaryKey(1) 
returned null, beanByPK);
   }
 catch(Exception e)
   {
 e.printStackTrace();
 fail();
   }
   }
 
   protected void setUp() throws Exception
   {
 // Get a naming context
 InitialContext jndiContext = new InitialContext();
 
 // Get a reference to the message bean
 Object ref = jndiContext.lookup(ejb/forum/Message);
 
 // Get a reference from this to the bean's Home interface
  _home = (MessageHome) PortableRemoteObject.narrow(ref, MessageHome.class);
   }
 
   protected void tearDown() throws Exception
   {
 try
   {
 removeAllBeans();
   }
 catch(Exception e)
   {
 e.printStackTrace();
   }
   }
 
   /**
* Remove all beans
*/
   private void removeAllBeans() throws Exception
   {
 Collection allBeans = _home.findAll();
 
 assertTrue([TestClient.removeAllBeans()] number of beans:  + allBeans.size(), 
allBeans.size()  0);
 
 Iterator allBeansIterator = allBeans.iterator();
 
 while(allBeansIterator.hasNext())
   {
 Message bean = (Message)allBeansIterator.next();
 

Re: [JBoss-user] Postgres ConnectionManager error

2002-04-16 Thread David Jencks

You have to look in login-conf.xml and set up an entry like this

application-policy name = FirebirdDBRealm
   authentication
  login-module code = 
org.jboss.resource.security.ConfiguredIdentityLoginModule
 flag = required
 module-option name = principalsysdba/module-option
 module-option name = userNamesysdba/module-option
 module-option name = passwordmasterkey/module-option
 module-option name = 
managedConnectionFactoryNamejboss.jca:service=XaTxCM,name=FirebirdDS/module-option
  /login-module
   /authentication
/application-policy

where

- the application-policy name matches the SecurityDomainJndiName in
postgres-service.xml

- the managedConnectionFactoryName matches the ConnectionManager ObjectName
in postgres-service.xml

I'll try to add examples like this to the example configs

thanks
david jencks

On 2002.04.16 11:15:01 -0400 Simon Stewart wrote:
 Thanks to all of you who offered advice before: I'm now a bit more
 confident that this can be made to work. I'm still using JDK 1.4,
 JBoss 3RC1, Postgres 7.2.1 and the pgjdbc2.jar driver on Linux and I
 now have a PostgresDS appearing in my list of MBeans. I've bound
 this to the JNDI name DefaultDS in the postgres-service.xml file
 and removed the corresponding db-service.xml file for hsql.
 
 JBoss now appears to start up cleanly, but as soon as I copy my .ear
 file to the deploy directory, I get a string of Exceptions being
 thrown. The first of these appears to be the most serious, and the
 reason why the later exceptions are thrown:
 
 2002-04-16 13:10:25,422 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand]
 Load SQL: SELECT OSUser.id,OSUser.passwordHash,OSUser.name FROM OSUser
 WHERE id=?
 2002-04-16 13:10:26,052 ERROR 
[org.jboss.resource.security.ConfiguredIdentityLoginModule]
 The ConnectionManager mbean: jboss.jca:service=LocalTxDS,name=PostgresDS
 specified in a ConfiguredIdentityLoginModule could not be found. 
 ConnectionFactory will be unusable!
 2002-04-16 13:10:26,114 ERROR [org.jboss.ejb.EntityContainer] Exception
 in service lifecyle operation: create
 java.lang.SecurityException: Invalid authentication attempt,
 principal=null
 at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:542)
 
 So it looks like in the postgres-service.xml file, I need to specify a
 different ConnectionManager. Anyone out there know which one?
 
 Cheers,
 
 Simon
 
 -- 
 For non-deterministic read 'Inhabited by pixies.'
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 

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



RE: [JBoss-user] Fleurys basic problem!

2002-04-16 Thread JD Brennan
Title: RE: [JBoss-user] Fleurys basic problem!





From: David Hamilton [mailto:[EMAIL PROTECTED]]


From JavaWorld
http://www.javaworld.com/javaworld/jw-04-2002/jw-0412-opensource.html


... in violation of a specification license. ...


Any idea what that means? Does that refer to reference
code implementation parts of the spec? If open source is
in violation of the license, than it's the license that
should be changed.


I don't see how certifying another J2EE implementation 
would impact the viability of the momentum of the J2EE
brand. Seems like adding a new certified J2EE platform
would increase the momentum of the brand.


There must be something else going on here. Maybe they
just don't like Marc's communication style. ;-)


JD





Re: [JBoss-user] Fleurys basic problem!

2002-04-16 Thread Dain Sundstrom

This is just a comment from some unnamed executive, and as we all know 
executives don't know much in a company the size of Sun. Do you know how 
many executives Sun has?.  I am sure that if you ask another unnamed 
executive, you would get another opinion.

Also the specification gives specifically gives us the right to create a 
clean room implementation.

quote
Sun hereby grants you a fully-paid, non-exclusive, non-transferable, 
worldwide, limited license (without the right to sublicense), under 
Sun's intellectual property rights that are essential to practice the 
Specification, to internally practice the Specification solely for the 
purpose of creating a clean room implementation of the Specification[...]
/quote

-dain

JD Brennan wrote:

  From: David Hamilton [mailto:[EMAIL PROTECTED]]
 
  From JavaWorld
  http://www.javaworld.com/javaworld/jw-04-2002/jw-0412-opensource.html
 
  ... in violation of a specification license. ...
 
 Any idea what that means?  Does that refer to reference
 code implementation parts of the spec?  If open source is
 in violation of the license, than it's the license that
 should be changed.
 
 I don't see how certifying another J2EE implementation
 would impact the viability of the momentum of the J2EE
 brand.  Seems like adding a new certified J2EE platform
 would increase the momentum of the brand.
 
 There must be something else going on here.  Maybe they
 just don't like Marc's communication style.  ;-)
 
 JD
 



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



Re: [JBoss-user] File-system access

2002-04-16 Thread Mark Gulbrandsen


Maybe I could ask a different question.

Can I assign a resource so that I can do a jndi lookup?

Can I configure JBoss to load an arbitrary jar file and set it to a jndi
name such as jndi:/user/resource1.jar jndi:/usr/resource2.jar? Then, a
context lookup would return a JarFile for each of these resource jars. Is
this possible with Branch_3_0?

-Mark

On Mon, 15 Apr 2002, Mark Gulbrandsen wrote:



 I have an ejb jar file that is deployed in server/default/deploy. Call it
 myejbs.jar.

 I also have a jar file that has many resources called resources.jar.
 resources.jar is placed inside of myejbs.jar. I can access resource.jar
 through getClass().getResource(resource.jar). This gives me a URL, which
 I can get a JarFile from via a few other calls. However, the JarFile that
 I get is myejbs.jar. So then I have to call into the java.util.jar apis to
 finally end up with a JarEntry.

 What I really want to do is access resource.jar as a JarFile, not a
 JarEntry. So how do I configure jboss 3.0 to allow me to access
 resource.jar as a JarFile? Also, I'd rather not put resource.jar in
 myejbs.jar, because these resource could change more often than the ejbs,
 but I don't want to have to redeploy my ejbs every time a resource
 changes. I tried putting resource.jar in $JBOSS/server/default/deploy/,
 but I still couldn't access it. Where can I put resource.jar and what do I
 need to configure so my ejbs can access it through the ClassLoader (via
 getResource)?

 Thanks,

 Mark



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



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



Re: [JBoss-user] File-system access

2002-04-16 Thread Simon Stewart

And is there a portable way of doing this? Portable between different
app servers, that is

On Tue, Apr 16, 2002 at 10:30:08AM -0600, Mark Gulbrandsen wrote:
 
 Maybe I could ask a different question.
 
 Can I assign a resource so that I can do a jndi lookup?
 
 Can I configure JBoss to load an arbitrary jar file and set it to a jndi
 name such as jndi:/user/resource1.jar jndi:/usr/resource2.jar? Then, a
 context lookup would return a JarFile for each of these resource jars. Is
 this possible with Branch_3_0?
 
 -Mark

Cheers,

Simon

-- 
You can't have everything...Where would you put it? --- Steven Wright

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



Re: [JBoss-user] Fleurys basic problem!

2002-04-16 Thread danch

JD Brennan wrote:

  From: David Hamilton [mailto:[EMAIL PROTECTED]]
 
  From JavaWorld
  http://www.javaworld.com/javaworld/jw-04-2002/jw-0412-opensource.html
 
  ... in violation of a specification license. ...
 
 Any idea what that means?  Does that refer to reference
 code implementation parts of the spec?  If open source is
 in violation of the license, than it's the license that
 should be changed.
 
 I don't see how certifying another J2EE implementation
 would impact the viability of the momentum of the J2EE
 brand.  Seems like adding a new certified J2EE platform
 would increase the momentum of the brand.


I think it's mostly an issue of Sun not wanting to piss off the people 
who charge 10,000$/processor for application servers. It's all down to 
the money. If you want to know what's happening, follow the money.


 
 There must be something else going on here.  Maybe they
 just don't like Marc's communication style.  ;-)
 
 JD
 




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



RE: [JBoss-user] File-system access

2002-04-16 Thread Lucas McGregor

I have been wondering about this question too. The main thing is that the
EJB spec doesn't allow an EJB to access the local file system, because a
bean developer has no way of knowing how or where the application developer
and application deployer are going to assemble their system. 

So if you access a local file system, and a really cool cluster-o-rama EJB
server has the capability to move EJB's to the physical machine best suited
for them on the fly--this is within spec, but would break any EJB that rely
on access to a local file system.

Weblogic has a T3 file system that is a work around. It is really poor. 

My suggestion would be so create some sort of JNDI bindable file service.
The difficulty comes from the fact that streams are not serializable. If you
went all out, you could even make it JCA compatible so you could access it
like a JDBC DataSource pool. Here are a couple of scenarios:

1) Simple Local Ref

Make an object that the EJB can instantiated or look-up. It would
take a URL as an argument. Then it would open a FileStream to that local
file and hand it back to the EJB. The FileStream would have to be Transient,
and the object capable of dealing with the disappearance and failure of the
stream.

The object would assume that the file is always available via the
local file system. You could use something like NFS to mount the filesystem
in the same location across your EJB server machines. 


2) Remote Ref

This would be just like scenario 1, but instead of using a network
file system to distribute the files, write network code into the object. For
example, if you just need reads, then you could make it take the URL and
have it fetch files from a web server. If you want
read/write/versioning/etc. You could make it act as a WebDAV adapter. You
might even be happy with just an FTP server.

3) File Service.

Create an object that acts like a DataSource object, it grabs a
network file system connection out of a JCA compliant network file system
connection pool.

The FileSource object would take parameters to grab a connection
of the pool, and to place it back in the pool. The pool objects would then
need to be connections to some sort of network file server, like WebDAV,
FTP, or NFS. Then you could manage the file system like any JCA resource. It
would be the most scalable. The draw back would be that you would need to
know about your file system at configuration time.

I hope that these help,
but the long and short of it is that I don't know of any file system
objects for EJB that are server independent.

Lucas McGregor

-Original Message-
From: Simon Stewart [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 10:06 AM
To: Mark Gulbrandsen
Cc: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] File-system access


And is there a portable way of doing this? Portable between different
app servers, that is

On Tue, Apr 16, 2002 at 10:30:08AM -0600, Mark Gulbrandsen wrote:
 
 Maybe I could ask a different question.
 
 Can I assign a resource so that I can do a jndi lookup?
 
 Can I configure JBoss to load an arbitrary jar file and set it to a jndi
 name such as jndi:/user/resource1.jar jndi:/usr/resource2.jar? Then, a
 context lookup would return a JarFile for each of these resource jars. Is
 this possible with Branch_3_0?
 
 -Mark

Cheers,

Simon

-- 
You can't have everything...Where would you put it? --- Steven Wright

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

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



Re: [JBoss-user] tomcat 4 issue

2002-04-16 Thread Scott M Stark

It is not configured correctly as it is using out of date custom
ejb container interceptors. This is why the example is not included
with the JBoss/Tomcat bundle.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message - 
From: Dennis Muhlestein [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 9:53 AM
Subject: [JBoss-user] tomcat 4 issue

 I've compiled the lated CVS on Branch_3_0.  When I deploy the
 tomcat-test.ear that is built in the catalina directory, I can access
 the index page ok.  Tomcat seems to be working fine but the executing
 servlet still can't talk to an ejb.  I get:
 
 java.lang.NullPointerException
 at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96)
 at $Proxy23.create(Unknown Source)
 at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:71)
 at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:40)
 (followd by the rest of tomcat's stack trace...)



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



Re: [JBoss-user] JBoss 3.0 SSL Newbie Question

2002-04-16 Thread Stephen Davidson

Greetings.

Thanks to all that replied.

I now have this thing talking to the Oracle8 database.

-Steve

Stephen Davidson wrote:

 Greetings.
 
 Ok, I have checked the JBoss Book (jboss.cml is the file to modify, not 
 used in 3.0)
 Searched the web.
 Checked the jboss.org site.
 Searched the docs.
 
 I have been unable to find out how to configure SSL for JBoss 3.0 
 WebServer (Jetty)?  I am trying to configure for Browsers to connect in 
 SSL mode.  128bit mode minimum would be preferred.  Don't need the EJBs 
 in SSL, as they will be behind the firewall.
 
 Help please?
 
 -Steve



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



[JBoss-user] Session problem - Tomcat JSP Examples

2002-04-16 Thread Mark Wolfe

I have just downloaded the JBOSS RC1+Tomcat from sourceforge and tried
to use the jsp examples at http://localhost:8080. The jsp examples 
demonstrating session attributes don't work for some reason. The basic
symptom is that the session seems to be recreated for every request that
I make.

The main reason I check this is because I use this functionality in an
application that i am interested in scaling to JBOSS :)

Could someone else try this??

The examples I am trying are in the JSP section and are called
numbergeuse and cart example.

O BTW I tried the examples in my local tomcat and they worked fine.

Regards,

Mark Wolfe




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



[JBoss-user] tomcat 4 issue

2002-04-16 Thread Dennis Muhlestein

I've compiled the lated CVS on Branch_3_0.  When I deploy the
tomcat-test.ear that is built in the catalina directory, I can access
the index page ok.  Tomcat seems to be working fine but the executing
servlet still can't talk to an ejb.  I get:

java.lang.NullPointerException
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96)
at $Proxy23.create(Unknown Source)
at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:71)
at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:40)
(followd by the rest of tomcat's stack trace...)


This is the exact same problem I had with beta 2 before RC1 came out. 
Is the test app configured wrong??  Has anyone got it to work?

Thanks Dennis




signature.asc
Description: This is a digitally signed message part


Re: [JBoss-user] tomcat 4 issue

2002-04-16 Thread Scott M Stark

There are examples of servlets and jsp pages talking to ejbs
in the jbosstest-web.ear in the jboss-all/testsuite/output/lib
directory. Look at that for configuration of wars/ejbs.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message - 
From: Dennis Muhlestein [EMAIL PROTECTED]
To: Scott M Stark [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 11:42 AM
Subject: Re: [JBoss-user] tomcat 4 issue




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



[JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-16 Thread Stephen Davidson

Greetings.

I have a local patch I have applied to the Jetty/Jasper project which is needed to 
compile my project.  When I try to compile locally, the build 
seems to hang during the following task;

jmx-docs-html-plain:
 [mkdir] Created dir: /home/jboss/jboss-all/connector/output/jmx-api
 [style] Transforming into /home/jboss/jboss-all/connector/output/jmx-api
 [style] Transforming into /home/jboss/jboss-all/connector/output/jmx-api
 [style] Loading stylesheet 
/home/jboss/jboss-all/thirdparty/oasis/docbook-xsl/html/docbook.xsl
Error on line 2 of 
file:///home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml:
   Error reported by XML parser: External entity not found: 
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd.: Connection timed out
 [style] Failed to process 
/home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml

BUILD FAILED

/home/jboss/jboss-all/connector/build.xml:530: 
javax.xml.transform.TransformerException: External entity not found: 
http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd;. 


Any ideas what may be causing this?

-Steve

For network connectivity test;
PING www.oasis-open.org (209.202.168.105): 56 data bytes
64 bytes from 209.202.168.105: icmp_seq=0 ttl=240 time=67.946 ms
64 bytes from 209.202.168.105: icmp_seq=1 ttl=240 time=68.467 ms
64 bytes from 209.202.168.105: icmp_seq=2 ttl=240 time=68.159 ms
64 bytes from 209.202.168.105: icmp_seq=3 ttl=240 time=68.289 ms
--- www.oasis-open.org ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 67.946/68.215/68.467 ms

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208


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



[JBoss-user] JBossGui

2002-04-16 Thread Andrei Svirida

Hi all,

does anyone have an idea where to download JBossGui announced at
http://www.jboss.org/developers/jboss-projects.jsp?
I've tried both downloading the binary distribution and checking out jboss-all 
target per CVS, it seems not
to be there.
Please cc your answer to [EMAIL PROTECTED]


  

--
best regards, Andrei Svirida


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



Re: [JBoss-user] JBossGui

2002-04-16 Thread David Jencks

EJX died a long time ago from lack of interest.  There have been several
people interested in developing various kinds of gui for jboss, but none of
them is available yet.

If you want a tool to help with the jboss dds, try xdoclet (on
sourceforge), which will generate them from tags in your source code: also
it generates home and remote interfaces.

david jencks


On 2002.04.16 15:54:42 -0400 Andrei Svirida wrote:
 Hi all,
 
 does anyone have an idea where to download JBossGui announced at
 http://www.jboss.org/developers/jboss-projects.jsp?
 I've tried both downloading the binary distribution and checking out
 jboss-all target per CVS, it seems not
 to be there.
 Please cc your answer to [EMAIL PROTECTED]
 
 
   
 
 --
 best regards, Andrei Svirida
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 

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



Re: [JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-16 Thread David Jencks

I don't know what is causing the problem, since the dtd is included in
jboss distro and is accessible from the url listed, but you should be able
to get everything you need compiled from main rather than all.  I think
this target only is run from all or maybe docs.

david jencks

On 2002.04.16 16:01:17 -0400 Stephen Davidson wrote:
 Greetings.
 
 I have a local patch I have applied to the Jetty/Jasper project which is
 needed to compile my project.  When I try to compile locally, the build 
 seems to hang during the following task;
 
 jmx-docs-html-plain:
  [mkdir] Created dir: /home/jboss/jboss-all/connector/output/jmx-api
  [style] Transforming into /home/jboss/jboss-all/connector/output/jmx-api
  [style] Transforming into /home/jboss/jboss-all/connector/output/jmx-api
  [style] Loading stylesheet 
/home/jboss/jboss-all/thirdparty/oasis/docbook-xsl/html/docbook.xsl
 Error on line 2 of 
file:///home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml:
Error reported by XML parser: External entity not found:
 http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd.: Connection
 timed out
  [style] Failed to process 
/home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml
 
 BUILD FAILED
 
 /home/jboss/jboss-all/connector/build.xml:530:
 javax.xml.transform.TransformerException: External entity not found: 
 http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd;. 
 
 
 Any ideas what may be causing this?
 
 -Steve
 
 For network connectivity test;
 PING www.oasis-open.org (209.202.168.105): 56 data bytes
 64 bytes from 209.202.168.105: icmp_seq=0 ttl=240 time=67.946 ms
 64 bytes from 209.202.168.105: icmp_seq=1 ttl=240 time=68.467 ms
 64 bytes from 209.202.168.105: icmp_seq=2 ttl=240 time=68.159 ms
 64 bytes from 209.202.168.105: icmp_seq=3 ttl=240 time=68.289 ms
 --- www.oasis-open.org ping statistics ---
 4 packets transmitted, 4 packets received, 0% packet loss
 round-trip min/avg/max = 67.946/68.215/68.467 ms
 
 -- 
 Stephen Davidson
 Java Consultant
 Delphi Consultants, LLC
 http://www.delphis.com
 Phone: 214-696-6224 x208
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 

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



Re: [JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-16 Thread Jules Gosnell

Are you on a standalone box ?

It looks as if something is trying to resolve a dtd which is not local 
to the box.


Jules


Stephen Davidson wrote:
 Greetings.
 
 I have a local patch I have applied to the Jetty/Jasper project which is 
 needed to compile my project.  When I try to compile locally, the build 
 seems to hang during the following task;
 
 jmx-docs-html-plain:
 [mkdir] Created dir: /home/jboss/jboss-all/connector/output/jmx-api
 [style] Transforming into 
 /home/jboss/jboss-all/connector/output/jmx-api
 [style] Transforming into 
 /home/jboss/jboss-all/connector/output/jmx-api
 [style] Loading stylesheet 
 /home/jboss/jboss-all/thirdparty/oasis/docbook-xsl/html/docbook.xsl
 Error on line 2 of 
 
file:///home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml:
 
 
   Error reported by XML parser: External entity not found: 
 http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd.: Connection 
 timed out
 [style] Failed to process 
 
/home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml
 
 
 
 BUILD FAILED
 
 /home/jboss/jboss-all/connector/build.xml:530: 
 javax.xml.transform.TransformerException: External entity not found: 
 http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd;.
 
 Any ideas what may be causing this?
 
 -Steve
 
 For network connectivity test;
 PING www.oasis-open.org (209.202.168.105): 56 data bytes
 64 bytes from 209.202.168.105: icmp_seq=0 ttl=240 time=67.946 ms
 64 bytes from 209.202.168.105: icmp_seq=1 ttl=240 time=68.467 ms
 64 bytes from 209.202.168.105: icmp_seq=2 ttl=240 time=68.159 ms
 64 bytes from 209.202.168.105: icmp_seq=3 ttl=240 time=68.289 ms
 --- www.oasis-open.org ping statistics ---
 4 packets transmitted, 4 packets received, 0% packet loss
 round-trip min/avg/max = 67.946/68.215/68.467 ms
 




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



Re: [JBoss-user] File-system access

2002-04-16 Thread Dmitri Colebatch

Have a look at EXternalContext -
http://jboss.org/online-manual/HTML/ch13s126.html

hth
dim

- Original Message -
From: Simon Stewart [EMAIL PROTECTED]
To: Mark Gulbrandsen [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, April 17, 2002 3:05 AM
Subject: Re: [JBoss-user] File-system access


 And is there a portable way of doing this? Portable between different
 app servers, that is

 On Tue, Apr 16, 2002 at 10:30:08AM -0600, Mark Gulbrandsen wrote:
 
  Maybe I could ask a different question.
 
  Can I assign a resource so that I can do a jndi lookup?
 
  Can I configure JBoss to load an arbitrary jar file and set it to a jndi
  name such as jndi:/user/resource1.jar jndi:/usr/resource2.jar? Then,
a
  context lookup would return a JarFile for each of these resource jars.
Is
  this possible with Branch_3_0?
 
  -Mark

 Cheers,

 Simon

 --
 You can't have everything...Where would you put it? --- Steven Wright

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



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



Re: [JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-16 Thread Jules Gosnell

Stephen Davidson wrote:
 Greetings.
 
 I have a local patch I have applied to the Jetty/Jasper project which is 
 needed to compile my project.  When I try to compile locally, the build 
 seems to hang during the following task;
 
 jmx-docs-html-plain:
 [mkdir] Created dir: /home/jboss/jboss-all/connector/output/jmx-api
 [style] Transforming into 
 /home/jboss/jboss-all/connector/output/jmx-api
 [style] Transforming into 
 /home/jboss/jboss-all/connector/output/jmx-api
 [style] Loading stylesheet 
 /home/jboss/jboss-all/thirdparty/oasis/docbook-xsl/html/docbook.xsl
 Error on line 2 of 
 
file:///home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml:
 
 
   Error reported by XML parser: External entity not found: 
 http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd.: Connection 
 timed out
 [style] Failed to process 
 
/home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml
 
 
 
 BUILD FAILED
 
 /home/jboss/jboss-all/connector/build.xml:530: 
 javax.xml.transform.TransformerException: External entity not found: 
 http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd;.
 
 Any ideas what may be causing this?
 
 -Steve
 
 For network connectivity test;
 PING www.oasis-open.org (209.202.168.105): 56 data bytes
 64 bytes from 209.202.168.105: icmp_seq=0 ttl=240 time=67.946 ms
 64 bytes from 209.202.168.105: icmp_seq=1 ttl=240 time=68.467 ms
 64 bytes from 209.202.168.105: icmp_seq=2 ttl=240 time=68.159 ms
 64 bytes from 209.202.168.105: icmp_seq=3 ttl=240 time=68.289 ms
 --- www.oasis-open.org ping statistics ---
 4 packets transmitted, 4 packets received, 0% packet loss
 round-trip min/avg/max = 67.946/68.215/68.467 ms
 

Aha - now I have bothered to read to the end of your mail I see that you 
are on line - in that case I defer to the module owner - whoever he may 
be


Jules




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



Re: [JBoss-user] tomcat 4 issue

2002-04-16 Thread Dennis Muhlestein

That makes sense, thanks.

When I deploy my own app, I get the same error that I used to get before
this whole think came about.  

CONTAINER EXCEPTION:
java.lang.NullPointerException
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:598)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:167)
at
org.jboss.ejb.plugins.TxInterceptorBMT.invokeHome(TxInterceptorBMT.java:54)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:57)
at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104)
at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
at
org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer.java:300)
at org.jboss.ejb.Container.invoke(Container.java:727)

Still a ClassLoading problem??  A configuration problem?  I wish someone
could point me in the write path.  MyApp is configured according to the
contents listed below.  Tomcat works fine, EJB works fine, I just can't
talk from a servlet to an EJB else the error above.

Thanks
Dennis

Contents of My Ear:
META-INF/
META-INF/MANIFEST.MF
MyApp.jar
ROOT.war
META-INF/application.xml

Contents of Application.xml

?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE
Application 1.3//EN
http://java.sun.com/dtd/application_1_3.dtd; 

application
display-nameMyApp/display-name

module
web
web-uriROOT.war/web-uri
context-root//context-root
/web
/module

module
ejbMyApp.jar/ejb
/module

/application





On Tue, 2002-04-16 at 12:50, Scott M Stark wrote:
 It is not configured correctly as it is using out of date custom
 ejb container interceptors. This is why the example is not included
 with the JBoss/Tomcat bundle.
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 - Original Message - 
 From: Dennis Muhlestein [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, April 16, 2002 9:53 AM
 Subject: [JBoss-user] tomcat 4 issue
 
  I've compiled the lated CVS on Branch_3_0.  When I deploy the
  tomcat-test.ear that is built in the catalina directory, I can access
  the index page ok.  Tomcat seems to be working fine but the executing
  servlet still can't talk to an ejb.  I get:
  
  java.lang.NullPointerException
  at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96)
  at $Proxy23.create(Unknown Source)
  at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:71)
  at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:40)
  (followd by the rest of tomcat's stack trace...)
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 




signature.asc
Description: This is a digitally signed message part


[JBoss-user] jar deployment

2002-04-16 Thread Frank Morton

Can I deploy helper classes by copying them into
the deploy directory as a .jar file rather than have
them in the lib directory at startup time?

I'm using JBoss 3.0 RC1.



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



Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Dmitri Colebatch

Hi Phil,

Are you entering the world of JBoss from another EJB server, or fresh?  If you're 
entering fresh, and learning EJB, then I dont
imagine the differences between 2.4 and 3.0 would bother you too much at first (ie, 
just use 2.4 and get your head around that).
However if you really want to get into advanced features, then I suppose that would be 
an argument for 3.0.  As I understand it,
everything in 2.4 is also in 3.0, but there've been several significant architecture 
changes.

also - the book covers 2.4, which would be a good argument for starting there.

hth
dim

- Original Message -
From: Phil Shrimpton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 17, 2002 10:23 AM
Subject: [JBoss-user] Differences between 2.x and 3.x?


 Hi,

 Just entering the merry world of JBoss, mainly for learning and enjoyment.  I
 have Jboss 2.4 installed and running and I have ordered the Jboss 'Book'.
 With Jboss 3 going into RC stage, I was wondering if I should start with
 that?  If I do is the 'book' relevent?  What is the differences between 2.x
 and 3.x?  is 3.x, 2.x plus some extras, or is it a new product?  Would I be
 better starting with 2.x and the 'book' and moving to 3.x when I know what
 the hell I am doing?

 questions, questions, questions..

 Phil
 --
 Linux 2.4.4-4GB
  12:15am  up 109 days, 12:27,  1 user,  load average: 2.50, 2.20, 1.87

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


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



Re: [JBoss-user] JBossGui

2002-04-16 Thread Peter Fagerlund

Try this tool and extended it for management
screenshoot :
http://pollo.sourceforge.net/sitemap1.png
sf.net :
http://sourceforge.net/projects/pollo/

beutiful for ant and *-service.xml files allready,
not so happy with BM xml files tho ;-( ... yet ? ...

/peter_f


on 16-04-2 22.40, David Jencks at [EMAIL PROTECTED] wrote:

 EJX died a long time ago from lack of interest.  There have been several
 people interested in developing various kinds of gui for jboss, but none of
 them is available yet.
 
 If you want a tool to help with the jboss dds, try xdoclet (on
 sourceforge), which will generate them from tags in your source code: also
 it generates home and remote interfaces.
 
 david jencks
 
 
 On 2002.04.16 15:54:42 -0400 Andrei Svirida wrote:
 Hi all,
 
 does anyone have an idea where to download JBossGui announced at
 http://www.jboss.org/developers/jboss-projects.jsp?
 I've tried both downloading the binary distribution and checking out
 jboss-all target per CVS, it seems not
 to be there.
 Please cc your answer to [EMAIL PROTECTED]
 
 
 
 
 --
 best regards, Andrei Svirida
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


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



[JBoss-user] cmp2-example bug?

2002-04-16 Thread Mike Dougherty

I'm new to the list, so I don't really know if I am repeating this. I am
going through the example that comes with the CMP 2.0 documentation.
While attempting to get the cmp2-example to deploy I had to make the
attached changes.

I'm still having a little trouble testing the application but have not
had time to track down the issue.

Hope this helps,
/mike



diff AllDocsSubscription.orig/cmp-example/META-INF/ejb-jar.xml AllDocsSubscription/cmp-example/META-INF/ejb-jar.xml
171c171
WHERE o.status = ?1
---
WHERE o.orderStatus = ?1
diff AllDocsSubscription.orig/cmp-example/META-INF/jbosscmp-jdbc.xml AllDocsSubscription/cmp-example/META-INF/jbosscmp-jdbc.xml
15c15,19
   read-aheadtrue/read-ahead
---
   read-ahead
 strategyon-load/strategy
 limit255/limit
 cache-size1000/cache-size
   /read-ahead
31d34
  read-aheadtrue/read-ahead



Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Phil Shrimpton

On Tuesday 16 April 2002 23:35, Dmitri Colebatch wrote:

Hi,

 Are you entering the world of JBoss from another EJB server, or fresh?

Fresh.

  If
 you're entering fresh, and learning EJB, then I dont imagine the
 differences between 2.4 and 3.0 would bother you too much at first

I am more concernern with documentation etc., which is very important when 
you are getting into something new.  The 'book'  is for 2.4, yet a lot of the 
discussion on the lists/forums is about about 3.  I don't want to order the 
'book' and post questions about 2.4,. only to be told to move to 3 because it 
is X, Y and Z

 As I understand it, everything in 2.4 is also in 3.0, but there've
 been several significant architecture changes.

Are these on the 'inside' or 'outside'?

 also - the book covers 2.4, which would be a good argument for starting
 there.

This is what I currently favour, but it would be good to know the differences 
between 2 and 3.  I can't belive they are two great, especially as the 2.4 
'book' is not published here in the UK for another few weeks, and it would be 
a bad marketing effort to release a new, incompatible version before the book 
for the previous version is out.

Phil

-- 
Linux 2.4.4-4GB
  1:04am  up 109 day, 13:15,  1 user,  load average: 1.49, 1.27, 1.24

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



Re: [JBoss-user] cmp2-example bug?

2002-04-16 Thread Dain Sundstrom

My update of the JBossCMP docs is back on after a delay for JBossOne and 
bug fixes for the RC1 release.

-dain

Mike Dougherty wrote:

 I'm new to the list, so I don't really know if I am repeating this. I am
 going through the example that comes with the CMP 2.0 documentation.
 While attempting to get the cmp2-example to deploy I had to make the
 attached changes.
 
 I'm still having a little trouble testing the application but have not
 had time to track down the issue.
 
 Hope this helps,
 /mike
 
 
 
 
 
 diff AllDocsSubscription.orig/cmp-example/META-INF/ejb-jar.xml 
AllDocsSubscription/cmp-example/META-INF/ejb-jar.xml
 171c171
 WHERE o.status = ?1
 
 ---
 
   WHERE o.orderStatus = ?1

 
 diff AllDocsSubscription.orig/cmp-example/META-INF/jbosscmp-jdbc.xml 
AllDocsSubscription/cmp-example/META-INF/jbosscmp-jdbc.xml
 15c15,19
read-aheadtrue/read-ahead
 
 ---
 
  read-ahead

 
strategyon-load/strategy

 
limit255/limit

 
cache-size1000/cache-size

 
  /read-ahead

 
 31d34
   read-aheadtrue/read-ahead
 



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



Re: [JBoss-user] jar deployment

2002-04-16 Thread David Jencks

Yes.  However it is difficult to guarantee that such a jar will be deployed
before the classes are needed, if everything is in deploy at jboss startup.
 It should work fine if you are doing this by hand while jboss is running,
just make sure each package is deployed before you copy the next one.

   If they are mbean classes, mbean deployment will wait until the classes
become available.

david jencks

On 2002.04.16 19:31:29 -0400 Frank Morton wrote:
 Can I deploy helper classes by copying them into
 the deploy directory as a .jar file rather than have
 them in the lib directory at startup time?
 
 I'm using JBoss 3.0 RC1.
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 

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



Re: [JBoss-user] tomcat 4 issue

2002-04-16 Thread David Ward

I had a similar problem when I went from JBoss-2.4.x_Tomcat-3.2.x to 
jboss-3.0.0RC1_tomcat-4.0.3.  I got in the habit of including my ejb 
home and remote interfaces in my war file, which works fine in the older 
version.  However, in this latest version, I needed to *not* include any 
ejb interfaces in my war file.  Once I took them out, JBoss was happy 
(my null pointer like yours went away).  I attributed it to the new 
UnifiedClassLoader.  I'm not sure if other app servers will be happy 
with this, though.  I always try to make my ear's app-server agnostic. 
I have no problem including multiple extra xml descriptors as they are 
just ignored in other servers (ie: jboss-web.xml vs. weblogic.xml), 
however which classes have to get included in the ejb-jars or wars have 
to be the same...

David

--

Dennis Muhlestein wrote:

 That makes sense, thanks.
 
 When I deploy my own app, I get the same error that I used to get before
 this whole think came about.  
 
 CONTAINER EXCEPTION:
 java.lang.NullPointerException
 at
 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:598)
 at
 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:167)
 at
 org.jboss.ejb.plugins.TxInterceptorBMT.invokeHome(TxInterceptorBMT.java:54)
 at
 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:57)
 at
 org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104)
 at
 org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
 at
 
org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer.java:300)
 at org.jboss.ejb.Container.invoke(Container.java:727)
 
 Still a ClassLoading problem??  A configuration problem?  I wish someone
 could point me in the write path.  MyApp is configured according to the
 contents listed below.  Tomcat works fine, EJB works fine, I just can't
 talk from a servlet to an EJB else the error above.
 
 Thanks
 Dennis



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



RE: [JBoss-user] tomcat 4 issue

2002-04-16 Thread James Higginbotham

This is absolutely essential for my project, since I've been seeing the
NPE as well but have to produce a product that can deploy under WL 6.1
and JB 3.0. I'm in the midst of porting to JB 3.0 with an application
from WL 6.1 and its been quite painful with the various snafus in the
beta 1, beta 2, and (presumably) RC1. 

Is there any way around this coming up, without having to construct
multiple EAR files for various vendors (yuck!)? Or, is this the intended
functionality for JB 3.0 now?

James

 -Original Message-
 From: David Ward [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, April 16, 2002 6:38 PM
 To: Dennis Muhlestein
 Cc: Scott M Stark; [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] tomcat 4 issue
 
 
 I had a similar problem when I went from JBoss-2.4.x_Tomcat-3.2.x to 
 jboss-3.0.0RC1_tomcat-4.0.3.  I got in the habit of including my ejb 
 home and remote interfaces in my war file, which works fine 
 in the older 
 version.  However, in this latest version, I needed to *not* 
 include any 
 ejb interfaces in my war file.  Once I took them out, JBoss was happy 
 (my null pointer like yours went away).  I attributed it to the new 
 UnifiedClassLoader.  I'm not sure if other app servers will 
 be happy 
 with this, though.  I always try to make my ear's app-server 
 agnostic. 
 I have no problem including multiple extra xml descriptors as 
 they are 
 just ignored in other servers (ie: jboss-web.xml vs. weblogic.xml), 
 however which classes have to get included in the ejb-jars or 
 wars have 
 to be the same...
 
 David
 
 --
 
 Dennis Muhlestein wrote:
 
  That makes sense, thanks.
  
  When I deploy my own app, I get the same error that I used to get 
  before this whole think came about.
  
  CONTAINER EXCEPTION:
  java.lang.NullPointerException
  at
  
 org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.i
 nvokeHome(StatelessSessionContainer.java:598)
  at
  
 org.jboss.resource.connectionmanager.CachedConnectionIntercept
 or.invokeHome(CachedConnectionInterceptor.java:167)
  at
  
 org.jboss.ejb.plugins.TxInterceptorBMT.invokeHome(TxIntercepto
 rBMT.java:54)
  at
  
 org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invo
 keHome(StatelessSessionInstanceInterceptor.java:57)
  at
  
 org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityI
 nterceptor.java:104)
  at
  
 org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor
 .java:109)
  at
  
 org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSe
 ssionContainer.java:300)
  at org.jboss.ejb.Container.invoke(Container.java:727)
  
  Still a ClassLoading problem??  A configuration problem?  I wish 
  someone could point me in the write path.  MyApp is configured 
  according to the contents listed below.  Tomcat works fine, 
 EJB works 
  fine, I just can't talk from a servlet to an EJB else the 
 error above.
  
  Thanks
  Dennis
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/j boss-user
 

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



RE: [JBoss-user] embedded tomcat 4 issue

2002-04-16 Thread Dennis Muhlestein

I agree, this is becomming a pain.  I went back to the basics with my
App.  I did exactly what the jbosstest-web.ear does to deploy and lookup
ejbs.  

After I made a couple modifications to my web.xml  Most of my session
beans started working fine.  I started getting NullPointerExceptions
(Below) in Entity Beans now??  I Can't understand why - they shouldn't
be any different than session beans should they?.  Note that everything
works fine if I use tomcat on a remote box instead of deploying an ear
to jboss/tomcat bundle.

I haven't found any Entity Bean tests in the test suite so I couldn't
compare.  This problem may not have anything to do with Session/Entity
and may just be a configuration issue with the beans - I don't know.

I've tried placing the ejb-ref tag in the web.xml like the test does,
I've tried placing an ejb-ref tag in jboss-web.xml instead like one
user suggested below.  I've tried not placing any ejb-ref tags
anywhere and just looking up the JNDI name of the EJB.  Each different
situation seems to have some things that work and some things that
break.  

Maybe someone could suggest the best way to do it that should work every
time.

Question I have:

Assume InitialContext ctx = 
Assume correct xml config

1.  Is there any big difference between:
a.  ctx.lookup (MyEJB ) 
without adding anything to the web.xml (like ejb-ref)

b.  ctx.lookup ( java:comp/env/ejb/MyEJB );
after adding ejb-ref...nameejb/MyEJB/name.
to the web.xml

2.  Because I am trying to get the app to run on both embedded and 
remote tomcat configs, I pass in a properties file to   InitialContext
when I create it.  
ie ctx = new InitialContext(props);
That way I don't have to modify any tomcat scripts to get the   right
jnp properties and all.

Does this make any difference to the embedded tomcat on jboss?  

Thanks in advance - 
Dennis



(Exception Mentioned above):  -- NOTE the code that throws this is 
--- if (m.getDeclaringClass().equals(EntityContainer.class)) ---

2002-04-16 17:06:09,324 ERROR [STDERR] java.lang.NullPointerException
2002-04-16 17:06:09,324 ERROR [STDERR]  at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1107)
2002-04-16 17:06:09,324 ERROR [STDERR]  at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73) 
2002-04-16 17:06:09,325 ERROR [STDERR]  at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:230)
2002-04-16 17:06:09,325 ERROR [STDERR]  at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:176)
2002-04-16 17:06:09,325 ERROR [STDERR]  at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:134)
2002-04-16 17:06:09,325 ERROR [STDERR]  at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
2002-04-16 17:06:09,325 ERROR [STDERR]  at
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
2002-04-16 17:06:09,326 ERROR [STDERR]  at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
2002-04-16 17:06:09,326 ERROR [STDERR]  at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
2002-04-16 17:06:09,326 ERROR [STDERR]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
2002-04-16 17:06:09,326 ERROR [STDERR]  at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104)2002-04-16
 17:06:09,326 ERROR [STDERR]  at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
2002-04-16 17:06:09,327 ERROR [STDERR]  at
org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
2002-04-16 17:06:09,327 ERROR [STDERR]  at
org.jboss.ejb.Container.invoke(Container.java:727)
2002-04-16 17:06:09,327 ERROR [STDERR]  at
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
2002-04-16 17:06:09,327 ERROR [STDERR]  at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
2002-04-16 17:06:09,327 ERROR [STDERR]  at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
2002-04-16 17:06:09,327 ERROR [STDERR]  at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
2002-04-16 17:06:09,328 ERROR [STDERR]  at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
2002-04-16 17:06:09,328 ERROR [STDERR]  at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
2002-04-16 17:06:09,328 ERROR [STDERR]  at
org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
2002-04-16 17:06:09,328 ERROR [STDERR]  at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96)
2002-04-16 17:06:09,328 ERROR [STDERR]  at
$Proxy383.findByPrimaryKey(Unknown Source)








On Tue, 2002-04-16 at 

RE: [JBoss-user] cmp2-example bug?

2002-04-16 Thread Paul McLachlan

When you fix it can I have the solution. After paying a massive $US10 dollars I would 
have expected it to work. 

$10 is the average monthly wage for java developers in many lands

 -Original Message-
 From: Mike Dougherty [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 17 April 2002 9:47 AM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] cmp2-example bug?
 
 
 I'm new to the list, so I don't really know if I am repeating 
 this. I am
 going through the example that comes with the CMP 2.0 documentation.
 While attempting to get the cmp2-example to deploy I had to make the
 attached changes.
 
 I'm still having a little trouble testing the application but have not
 had time to track down the issue.
 
 Hope this helps,
 /mike
 
 

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



Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Dmitri Colebatch

   If
  you're entering fresh, and learning EJB, then I dont imagine the
  differences between 2.4 and 3.0 would bother you too much at first

 I am more concernern with documentation etc., which is very important when
 you are getting into something new.  The 'book'  is for 2.4, yet a lot of the
 discussion on the lists/forums is about about 3.  I don't want to order the
 'book' and post questions about 2.4,. only to be told to move to 3 because it
 is X, Y and Z

yep, fair call.

JBoss 2.4 supports (as I understand it)
 - EJB 1.1 (SLSB, SFSB, CMP 1.x, BMP)
 - some of EJB 2.0 (MDB, local interfaces)

JBoss 3.0 adds
 - the rest of EJB 2.0 (mainly CMP2)

I'm sure there are more differences, but thats the key differences I think.

  As I understand it, everything in 2.4 is also in 3.0, but there've
  been several significant architecture changes.

 Are these on the 'inside' or 'outside'?

inside, but as a result the configuration has changed.  In 2.4 you have jboss.jcml 
which defines the services.  In 3.0 you have a
deploy directory that contains a whole bunch of foo-service.xml files, which each 
contain configuration for the foo service.

  also - the book covers 2.4, which would be a good argument for starting
  there.

 This is what I currently favour, but it would be good to know the differences
 between 2 and 3.  I can't belive they are two great, especially as the 2.4
 'book' is not published here in the UK for another few weeks, and it would be
 a bad marketing effort to release a new, incompatible version before the book
 for the previous version is out.

from a developer's viewpoint, you will code pretty similar stuff, as either way, 
you're coding EJBs.  Of course there are changes
between the 1.1 and 2.0 specs, but you can deploy 1.1 EJBs on a 2.0 server, so dont be 
too worried.

Again - the main difference is in CMP2 and relationships.  Admitably, this is a big 
difference, but I'd advice getting your head
around other things first anyway.

Also - have a look at XDoclet (http://sf.net/projects/xdoclet) as a useful development 
tool that has strong support for JBoss.

hth
dim


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



Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread David Jencks

Big additions to 3 from 2.4 (I may forget something...)

-cmp2
-clustering
-more flexible deployment and classloading system

Maybe not so big additions:
-web service support
-corba support
-improved jca and database connectivity support.

Of these the big reason to look at 3 first is perhaps the cmp2 support. 
cmp1 tends to make it look like you can only see one db row at a time, cmp2
gives you detail table views of stuff.

If you want to look at the source code and compile it yourself I highly
recommend 3.  I can't figure out how to compile 2.4 any longer;-)

As for the book/ JBoss 3 race... we're trying, bad marketing or no;-)

david jencks

On 2002.04.16 21:11:44 -0400 Phil Shrimpton wrote:
 On Tuesday 16 April 2002 23:35, Dmitri Colebatch wrote:
 
 Hi,
 
  Are you entering the world of JBoss from another EJB server, or fresh?
 
 Fresh.
 
   If
  you're entering fresh, and learning EJB, then I dont imagine the
  differences between 2.4 and 3.0 would bother you too much at first
 
 I am more concernern with documentation etc., which is very important
 when 
 you are getting into something new.  The 'book'  is for 2.4, yet a lot of
 the 
 discussion on the lists/forums is about about 3.  I don't want to order
 the 
 'book' and post questions about 2.4,. only to be told to move to 3
 because it 
 is X, Y and Z
 
  As I understand it, everything in 2.4 is also in 3.0, but there've
  been several significant architecture changes.
 
 Are these on the 'inside' or 'outside'?
 
  also - the book covers 2.4, which would be a good argument for starting
  there.
 
 This is what I currently favour, but it would be good to know the
 differences 
 between 2 and 3.  I can't belive they are two great, especially as the
 2.4 
 'book' is not published here in the UK for another few weeks, and it
 would be 
 a bad marketing effort to release a new, incompatible version before the
 book 
 for the previous version is out.
 
 Phil
 
 -- 
 Linux 2.4.4-4GB
   1:04am  up 109 day, 13:15,  1 user,  load average: 1.49, 1.27, 1.24
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 

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



[JBoss-user] Declaring finders: problem and work-around

2002-04-16 Thread Richard Kasperowski

This page tells us how to declare custom finders:

  http://www.jboss.org/online-manual/HTML/ch06s07.html

The examples use the  and  operators, e.g.:

  querystudentCount  {0} AND teacherName = {1}/query

I tried something similar in my custom finder, using = and =, e.g.:

  queryrideDate = {0} and rideDate = {1}/query

If you try this in your jaws.xml, you'll see an error message like 
this when you deploy your application:

[WARN,XmlFileLoader] msg=The content beginning = is not legal markup. 
Perhaps the = (#3d;) character should be a letter., col=-1, line=56
org.xml.sax.SAXParseException: The content beginning = is not legal 
markup. Perhaps the = (#3d;) character should be a letter.

The work-around: Escape the  and  with lt; and gt;, e.g.:

   queryrideDate lt;= {0} and rideDate gt;= {1}/query

-- 
Richard Kasperowski (mailto:[EMAIL PROTECTED])
Tel: 617-576-1552, Fax: 617-576-2441
http://www.altisimo.com/


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



[JBoss-user] Tracing classloading of an EJB

2002-04-16 Thread James Higginbotham

Is there any way to trace the classloader for an EJB to determine where
a class referred to by the EJB is loaded from? I need to know how/why an
EJB that has a newer version of Log4j (1.2beta3 I think) in its EAR is
instead getting the version distributed by Jboss (1.1.3) instead. Should
this actually happen? Shouldn't the EJB's classloader find the newer
version in the EAR first? 

Thanks,
James

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



[JBoss-user] Re: Tracing classloading of an EJB

2002-04-16 Thread David Jencks

On 2002.04.16 21:42:24 -0400 James Higginbotham wrote:
 Is there any way to trace the classloader for an EJB to determine where
 a class referred to by the EJB is loaded from? I need to know how/why an
 EJB that has a newer version of Log4j (1.2beta3 I think) in its EAR is
 instead getting the version distributed by Jboss (1.1.3) instead. Should
 this actually happen? Shouldn't the EJB's classloader find the newer
 version in the EAR first? 

Not with our classloader.  If its already been loaded, it stops looking.  
We might be able to implement some way for the server classes to be in a
different classloader than application classes at some time in the future,
but certainly not in 3.0

I'd be interested to know if there are problems running jboss on Log4j 1.2.

Thanks
david jencks.

 
 Thanks,
 James
 
 

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



Re: [JBoss-user] embedded tomcat 4 issue

2002-04-16 Thread Dmitri Colebatch

Hi,

 2. Because I am trying to get the app to run on both embedded and
  remote tomcat configs, I pass in a properties file to  InitialContext
 when I create it.
  ie ctx = new InitialContext(props);
  That way I don't have to modify any tomcat scripts to get the  right
 jnp properties and all.

You're better off using the new InitialContext() constructor with no params, and 
setting system properties through the
jndi.properties file int he classpath.

as far as the rest of things go, this is with jetty, but it might help:

http://main.jboss.org/thread.jsp?forum=50thread=4046message=384447

cheers
dim


- Original Message -
From: Dennis Muhlestein [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 17, 2002 8:48 AM
Subject: RE: [JBoss-user] embedded tomcat 4 issue




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



[JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread James Higginbotham

Ok, so to reiterate, the current (3.0 beta 2) classloader for an EJB
will use whatever it knows about, including jars found in
JBOSS_HOME/lib, right? And, the Verifier Errors I'm seeing on the EJB
side (see previous post from a few hours ago) are more than likely a
conflict from the EJB I've deployed requiring the newer log4j jar but
not getting it, right?

As for Log4j 1.2 in JBoss, we are using 1.2 beta 3 and here is the
failure during the early startup of Jboss:

[spawn]  [java] 21:16:19,031 ERROR [Server] start failed
[spawn]  [java] java.lang.NoSuchMethodError
[spawn]  [java] at
org.jboss.logging.Logger.isDebugEnabled(Logger.java:97)
[spawn]  [java] at
org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:349
)
[spawn]  [java] java.lang.NoSuchMethodError
[spawn]  [java] at
org.jboss.logging.Logger.isDebugEnabled(Logger.java:97)
[spawn]  [java] at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:249)
[spawn]  [java] at
org.jboss.system.server.ServerImpl.start(ServerImpl.java:208)
[spawn]  [java] at
org.jboss.system.server.ServerImpl.initBootLibraries(ServerImpl.java:349
)
[spawn]  [java] at
org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:249)
[spawn]  [java] at org.jboss.Main.boot(Main.java:138)
[spawn]  [java] at org.jboss.Main$1.run(Main.java:371)
[spawn]  [java] at java.lang.Thread.run(Thread.java:484)
[spawn]  [java] at
org.jboss.system.server.ServerImpl.start(ServerImpl.java:208)
[spawn]  [java] at org.jboss.Main.boot(Main.java:138)
[spawn]  [java] at org.jboss.Main$1.run(Main.java:371)
[spawn]  [java] at java.lang.Thread.run(Thread.java:484)
[spawn]

So, looks like an upgrade would require some time to work through any
differences in API changes. 

James

 -Original Message-
 From: David Jencks [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, April 16, 2002 9:19 PM
 To: James Higginbotham
 Cc: [EMAIL PROTECTED]
 Subject: Re: Tracing classloading of an EJB
 
 
 On 2002.04.16 21:42:24 -0400 James Higginbotham wrote:
  Is there any way to trace the classloader for an EJB to determine 
  where a class referred to by the EJB is loaded from? I need to know 
  how/why an EJB that has a newer version of Log4j (1.2beta3 
 I think) in 
  its EAR is instead getting the version distributed by Jboss (1.1.3) 
  instead. Should this actually happen? Shouldn't the EJB's 
 classloader 
  find the newer version in the EAR first?
 
 Not with our classloader.  If its already been loaded, it 
 stops looking.  
 We might be able to implement some way for the server classes 
 to be in a different classloader than application classes at 
 some time in the future, but certainly not in 3.0
 
 I'd be interested to know if there are problems running jboss 
 on Log4j 1.2.
 
 Thanks
 david jencks.
 
  
  Thanks,
  James
  
  
 

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



Re: [JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread David Jencks

On 2002.04.16 22:22:29 -0400 James Higginbotham wrote:
 Ok, so to reiterate, the current (3.0 beta 2) classloader for an EJB
 will use whatever it knows about, including jars found in
 JBOSS_HOME/lib, right? 

Yes

And, the Verifier Errors I'm seeing on the EJB
 side (see previous post from a few hours ago) are more than likely a
 conflict from the EJB I've deployed requiring the newer log4j jar but
 not getting it, right?

Most likely


 
 As for Log4j 1.2 in JBoss, we are using 1.2 beta 3 and here is the
 failure during the early startup of Jboss:

snip  

Looks like a mess, but this probably just requires a little change to the
jboss Logger that wraps the log4j stuff.  Ceci Gulku (??sp??) posted some
patches a while back when he started log4j 1.2, you might take a look.  

david jencks

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



RE: [JBoss-user] Re: Tracing classloading of an EJB

2002-04-16 Thread Paul Cody

Sorry if this is a stupid comment, but why can't you just look at the
ClassLoader for the class referred to by your EJB to see where it's loaded
from?

class MyEJB {
private void debug() {  
  log.info(MyOtherClass.class.getClassLoader());
  }
}

As for ClassLoaders in general, the Parent classloader *always* gets first
crack at loading the bytes (otherwise the java security model is violated).
Since the container is JBoss and JBoss uses Log4J, the bundled 1.1.3 version
will always be loaded before your 1.2Beta3 version.   This is an issue with
all Java programs that host other Java programs.

Paul

 -Original Message-
 From: David Jencks [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 16, 2002 7:19 PM
 To: James Higginbotham
 Cc: [EMAIL PROTECTED]
 Subject: [JBoss-user] Re: Tracing classloading of an EJB
 
 
 On 2002.04.16 21:42:24 -0400 James Higginbotham wrote:
  Is there any way to trace the classloader for an EJB to 
 determine where
  a class referred to by the EJB is loaded from? I need to 
 know how/why an
  EJB that has a newer version of Log4j (1.2beta3 I think) in 
 its EAR is
  instead getting the version distributed by Jboss (1.1.3) 
 instead. Should
  this actually happen? Shouldn't the EJB's classloader find the newer
  version in the EAR first? 
 
 Not with our classloader.  If its already been loaded, it 
 stops looking.  
 We might be able to implement some way for the server classes 
 to be in a
 different classloader than application classes at some time 
 in the future,
 but certainly not in 3.0
 
 I'd be interested to know if there are problems running jboss 
 on Log4j 1.2.
 
 Thanks
 david jencks.
 
  
  Thanks,
  James
  
  
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 

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



RE: [JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread James Higginbotham

Can one assume that JB 2.4.4+ would exhibit the same behavior, or have
some classloaders been changed from 2.4 to 3.0? At this point, I'm
willing to backtrack to 2.4 to gain some stability over some
architecture enhancements. 

Thanks for your assistance,
James

 -Original Message-
 From: David Jencks [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, April 16, 2002 9:49 PM
 To: James Higginbotham
 Cc: David Jencks; [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] RE: Tracing classloading of an EJB
 
 
 On 2002.04.16 22:22:29 -0400 James Higginbotham wrote:
  Ok, so to reiterate, the current (3.0 beta 2) classloader 
 for an EJB 
  will use whatever it knows about, including jars found in 
  JBOSS_HOME/lib, right?
 
 Yes
 
 And, the Verifier Errors I'm seeing on the EJB
  side (see previous post from a few hours ago) are more than 
 likely a 
  conflict from the EJB I've deployed requiring the newer 
 log4j jar but 
  not getting it, right?
 
 Most likely
 
 
  
  As for Log4j 1.2 in JBoss, we are using 1.2 beta 3 and here is the 
  failure during the early startup of Jboss:
 
 snip  
 
 Looks like a mess, but this probably just requires a little 
 change to the jboss Logger that wraps the log4j stuff.  Ceci 
 Gulku (??sp??) posted some patches a while back when he 
 started log4j 1.2, you might take a look.  
 
 david jencks
 

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



Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Frank Morton

 -more flexible deployment and classloading system

I have to admit I'm a little confused on deployment, particularly
in a development environment where things change a lot. Are
there any docs anywhere for 3.x or are any planned?



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



Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread David Jencks

a quickstart guide is planned soon

the cmp2 and clustering docs are already available for quite a while. 
Deployment has been changing a lot;-)

david jencks

On 2002.04.16 22:51:01 -0400 Frank Morton wrote:
  -more flexible deployment and classloading system
 
 I have to admit I'm a little confused on deployment, particularly
 in a development environment where things change a lot. Are
 there any docs anywhere for 3.x or are any planned?
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 

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



Re: [JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread Scott M Stark

There is still a delegation model in the 3.0 classloaders and
you will see the same problems in 2.4 as there are incompatible
versions of the log4j classes in the ejb-jar with respect to the JBoss
server versions. Unlike the servlet 2.3 spec there is no requirement
to load the ejb references classes from the ejb-jar level before
consulting the container classes. Hence, the same version of log4j
needs to be used, or you need to patch the JBoss server logging
classes to work with log4j 1.2


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message -
From: David Jencks [EMAIL PROTECTED]
To: James Higginbotham [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 8:31 PM
Subject: Re: [JBoss-user] RE: Tracing classloading of an EJB


 The classloaders in 2.4 are completely unrelated to those in 3.0. Whether
 you will experience increased stability is another question.  I think
 that in 2.4 the server classloader is the mlet service of the jmxri, and
 it's the parent classloader of every application.  Therefore, I would
 expect the parent delegation classloading model, as suggested by Sun, and
 used in 2.4, would give you exactly the same incompatibility between
 versions of log4j.  I seem to recall many complaints of difficulty from
 conflicts between log4j copies when we switched to log4j logging.  You can
 always try and see, however.

 I suspect that it would take much less time to change the jboss Logger to
 work with log4j 1.2, especially if you are familiar with 1.2

 david jencks

 On 2002.04.16 22:51:06 -0400 James Higginbotham wrote:
  Can one assume that JB 2.4.4+ would exhibit the same behavior, or have
  some classloaders been changed from 2.4 to 3.0? At this point, I'm
  willing to backtrack to 2.4 to gain some stability over some
  architecture enhancements.
 
  Thanks for your assistance,
  James
 



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



Re: [JBoss-dev] Re: [JBoss-user] Oracle claims to be our partner

2002-04-16 Thread danch

They bought Orion a while back.

David Ward wrote:

 On a related note - I downloaded their OC4J app server (just being 
 curious, not really straying from JBoss) in mid-March and it appears to 
 be Orion underneath.  All the xml config files are orion-this and 
 orion-that.
 
 -- 
 
 marc fleury wrote:
 
 http://www.oracle.com/corporate/press/index.html?1279885.html

 and we didn't even know about it! how about that...

 these people are incredible, I need someone like that JBoss partners 
 with
 AOL and BellSouth to deliver the infrastructure of tomorrow and say 
 it with
 a straight face.

 The world is coming to an end.

 marcf

 x
 Marc Fleury, Ph.D
 President and CEO
 JBoss Group, LLC
 x
 
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-development




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



Re: [JBoss-dev] Re: [JBoss-user] Oracle claims to be our partner

2002-04-16 Thread Simon Stewart

But not Ironflare, who continue to develop Orion seperately from OC4J.

On Tue, Apr 16, 2002 at 10:35:08AM -0500, danch wrote:
 They bought Orion a while back.
 
 David Ward wrote:
 
 On a related note - I downloaded their OC4J app server (just being 
 curious, not really straying from JBoss) in mid-March and it appears to 
 be Orion underneath.  All the xml config files are orion-this and 
 orion-that.
 
 -- 
 
 marc fleury wrote:
 
 http://www.oracle.com/corporate/press/index.html?1279885.html
 
 and we didn't even know about it! how about that...
 
 these people are incredible, I need someone like that JBoss partners 
 with
 AOL and BellSouth to deliver the infrastructure of tomorrow and say 
 it with
 a straight face.
 
 The world is coming to an end.

Cheers,

Simon

-- 
I was once walking through the forest alone. A tree fell right in
front of me -- and I didn't hear it. --- Steven Wright

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