Re: [JBoss-user] configuring Log4J

2001-08-01 Thread Toby Hede

that's an excellent point. 

thanks scott


- Original Message - 
From: "Scott M Stark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 5:13 PM
Subject: Re: [JBoss-user] configuring Log4J


Yes it is possible. How do you think a file based JDBC database like
cloudscape
accesses its data when accessed by an EJB? Its ok because it is providing
a transacted interface to the data via JDBC. If you don't need your logging
to
be part of the bean transaction then log to a file using log4j. If you do,
then
you would have to configure the log4j appenders to use JDBC or JMS and
through app server resource managers.

- Original Message -
From: "Toby Hede" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 11:43 PM
Subject: Re: [JBoss-user] configuring Log4J


> is it possible to use log4j from an EJB bean?
>
> i was having an argument with someone about the EJB Specification not
> permitting IO access and whether access was permitted through a helper
class
> instantiated from an EJB (such as log4j)?
>
> my read on the spec is that this the use of IO is not permitted for
> persistence (be rather silly to run Entity beans from text files, for
> example) rather than being a wholesale ban.
>



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



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



[JBoss-user] BMP-XML example

2001-08-01 Thread Tejovikas Suravajjala

Guys,

Could someone please direct me to an example ejb-jar.xml for a BMP.

Thanks,

--Tejo.


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



Re: [JBoss-user] User Transaction support for JBoss?

2001-08-01 Thread Ole Husgaard

Hi,

Jaime Gomez wrote:
> I need know if Jboss support UserTransaction. I can use commit and
> rollback in my client of the same form that use in JOnas

JBoss supports UserTransaction:
- For BMT beans in the server, as per tha spec.
- For stand-alone clients in other VMs, possibly
  on other machines. This one, however _only_
  controls transactions on the server, and
  transactional work done in the client (except
  for calling beans) does not participate in the
  UT-started transaction.

There seems to be a problem that UserTransaction
for web-components in the same VM as JBoss does
not currently work.


Best Regards,

Ole Husgaard.

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



[JBoss-user] Class-Path setting in War-file MANIFEST doesn't work for JSPs

2001-08-01 Thread Mike Williams

I'm having problems making my EJB Home/Remote interfaces available to my
web-application. 

Following the instructions in the manual
(http://www.jboss.org/documentation/HTML/ch11s55.html), I've created an EAR
file with the following layout:

META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
ejb-app.jar
web-app.war
lib/
lib/log4j.jar
lib/util.jar

The contents of ejb-app.war/META-INF/MANIFEST.MF are

Manifest-Version: 1.0
Created-By: Ant 1.4alpha
Class-Path: lib/log4j.jar lib/util.jar

and web-app.war/META-INF/MANIFEST.MF contains

Manifest-Version: 1.0
Created-By: Ant 1.4alpha
Class-Path: ejb-app.jar lib/log4j.jar lib/util.jar

The com.cortexeb.ejb.product.ProductEntry class DOES seems to be available
to the web-app class-loader ... I can call it from a servlet.  

However, I'm having problems with JSPs, as shown below:

org.apache.jasper.JasperException: Unable to compile class for 
JSP/home/mikew/Servers/JBoss-2.2.2_Tomcat-3.2.2/jboss/bin/work/localhost_8080%2Fcorshop/_0002fproduct_0002fdetail_0002ejspdetail_jsp_0.java:102:
 Class com.cortexeb.ejb.product.ProductEntry not found.

Putting ejb-app.jar into WEB-INF/lib works, but that's rather a grubby
work-around (I don't like having to duplicate the jar-file).

Is this a known problem?  I'm running JBoss-2.2.2/Tomcat-3.2.2.

-- 
Mike


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



[JBoss-user] freezing problem details

2001-08-01 Thread Boris Garbuzov

I noticed that in both versions with and without Tomcat JBoss often hangs
after returning from ejbCreate() and ejbStore() methods and in the middle of
ejb-jar's redeployment. The latter makes me doubt that it is due to my
application’s deadlock. Earlier I saw others discussing similar problem. How
they finally solved it?


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



[JBoss-user] freezing problem details

2001-08-01 Thread Boris Garbuzov

I noticed that in both versions with and without Tomcat JBoss often hangs
after returning from ejbCreate() and ejbStore() methods and in the middle of
ejb-jar's redeployment. The latter makes me doubt that it is due to my
application’s deadlock. Earlier I saw others discussing similar problem. How
they finally solved it?


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



Re: [JBoss-user] Problem with Custom MBeans

2001-08-01 Thread David Jencks

I haven't looked hard at your trace however you should not be putting
anything in jboss.conf, just jboss.jcml. (at least with 2.2 and later)

david jencks

On 2001.08.01 11:30:52 -0400 Andrew Bredon wrote:
> Hi All,
> 
> I have used an example someone posted earlier (sorry lost the post) and
> have
> added the  code into jboss.conf and  code
> into jboss.jcml and created the Foo.java & FooMBean.java files (both
> compile
> no probs) but I get the following exception on startup. 
> The mlet and mbean are both at the bottom of their respective files.
> 
> Any ideas? Thanks, ab
> 
> [Service Control] Registered with server
> java.lang.NoClassDefFoundError: org/jboss/util/ServiceMBeanSupport
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> at
> com.sun.management.jmx.MBeanServerImpl.findClass(MBeanServerImpl.java:2466)
> at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:751)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
> at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
> at org.jboss.Main.(Main.java:187)
> at org.jboss.Main$1.run(Main.java:121)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.jboss.Main.main(Main.java:117)
> [Configuration] Could not create MBean
> DefaultDomain:service=FooExample(com.lastminute.components.dealwatch.Foo)
> [Configuration] java.lang.NoClassDefFoundError:
> org/jboss/util/ServiceMBeanSupport
> [Configuration] at java.lang.ClassLoader.defineClass0(Native
> Method)
> [Configuration] at
> java.lang.ClassLoader.defineClass(ClassLoader.java:486)
> [Configuration] at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
> [Configuration] at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
> [Configuration] at
> java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> [Configuration] at
> java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> [Configuration] at
> java.security.AccessController.doPrivileged(Native Method)
> [Configuration] at
> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> [Configuration] at
> java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> [Configuration] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
> [Configuration] at
> java.lang.ClassLoader.loadClass(ClassLoader.java:290)
> [Configuration] at
> java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> [Configuration] at
> com.sun.management.jmx.MBeanServerImpl.findClass(MBeanServerImpl.java:2466)
> [Configuration] at
> com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:499)
> [Configuration] at
> org.jboss.configuration.ConfigurationService.create(ConfigurationService.jav
> a:340)
> [Configuration] at
> org.jboss.configuration.ConfigurationService.loadConfiguration(Configuration
> Service.java:271)
> [Configuration] at java.lang.reflect.Method.invoke(Native Method)
> [Configuration] at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> [Configuration] at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> [Configuration] at org.jboss.Main.(Main.java:209)
> [Configuration] at org.jboss.Main$1.run(Main.java:121)
> [Configuration] at
> java.security.AccessController.doPrivileged(Native Method)
> [Configuration] at org.jboss.Main.main(Main.java:117)
> [Service Control] Initializing 26 MBeans
> 
> 
> --
> 
> This e-mail is intended for the named addressee only.  It may contain
> confidential and/or privileged information.  If you have received this
> message in error, please let us know and then delete this message from
> your system.  You should not copy the message, use it for any purpose or
> disclose its contents to anyone.
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


[JBoss-user] implementing jboss with OpenJMS

2001-08-01 Thread Victor Hadianto

Hello,

Has anyone succeeded in implementing OpenJMS with JBoss to handle its message 
driven bean? Is there any pitfall, caution that I need to know?

Regards,

Victor

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



[JBoss-user] my client deadlock or jboss+tomcat hangs?

2001-08-01 Thread Boris Garbuzov

I am not sure if I could produce deadlock. I have no explicit usage of
threads. May be resource sharing? If I connect to the same database from
admin application? Or if I keep home object in a static field? What is a
usual cause of it?
---
I am still suffering from jboss-tomcat freezing. Last time I was
suggested to regress from jdk1.3.1 to jdk1.3.0. I heard from people that
it does not help, though I did not try it myself. I am using
windows2000, jdk1.3.1 and JBoss-2.2.2_Tomcat-3.2.2.
  --
marcf
A freeze is usually a deadlock in your application. are you sure it is
not the case ? if so then try the latest JBoss version from CVS there
are some fixes wrt to the cache behavior,





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



[JBoss-user] help w/ db resource and session bean config

2001-08-01 Thread G.L. Grobe



 
 Can someone look at this jboss.xml to see if 
it looks right. Specifically, if the session bean is mapped properly w/ the 
dbase resource.
 
Any help much appreciated.
---

   
   
jdbc/PostgresqlDB 
javax.sql.DataSource 
java:/access  

   

   
  
 
DBaseListMaps 
ejb/DBaseListMaps 
    
jdbc/PostgresqlDB    
jdbc/access 
  
  



RE: [JBoss-user] Jetty support for JSP 1.2 and servlets 2.3

2001-08-01 Thread toby cabot

Actually, they do.  The first link answers your first question directly,
and the second link contains a pointer to the Jetty mailing list, which
is probably a better place to ask questions about Jetty than the JBoss
mailing list.

> these links don't tell me much.
> 
> -Original Message-
> From: toby cabot [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 2:53 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Jetty support for JSP 1.2 and servlets
> 2.3
> 
> 
>> Does Jetty currently support JSP 1.2 and servlets 2.3? If not,
>> when will it be.
> 
> http://jetty.mortbay.com/
> http://sourceforge.net/projects/jetty/
> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user



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



Re: [JBoss-user] Jetty support for JSP 1.2 and servlets 2.3

2001-08-01 Thread Julian Gosnell


I'm crossposting this for you to jetty-discuss - you're more likely to
find what you need there.
Off the top of my head - without conferring - JSDK 2.3 - No - you'll
need to wait for Jetty 4 (I'm open to correction here - Greg???). As for
JSP 1.2, If the corresponding Jasper  release will run in a 2.2 container
(It will probably need some hacking out of TomCat - hence it becomes Jesper)
then I don't see a good reason why it shouldn't. If it needs 2.3, then
ditto.
Jules
 
Patrick Munis wrote:

these links don't tell me much.
-Original Message-
From: toby cabot [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 2:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Jetty support for JSP 1.2 and
servlets 2.3
> Does Jetty currently support JSP 1.2 and servlets 2.3?
If not, when
> will it be.
http://jetty.mortbay.com/
http://sourceforge.net/projects/jetty/
 
 
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Session Bean could not passivate Exception

2001-08-01 Thread David Jencks

Judging from the stack trace, you have an instance variable holding a
Connection.  Connections aren't serializalbe, thus the error on
passivation.

Don't have a instance variable for your connection: just get it, use it,
and close it within one method call.

david jencks
On 2001.07.31 19:09:55 -0400 yan fan wrote:
> Hi!
>   I am sorry , when I use session bean and jdbc , I
> meet a exception like following:
>   
> [Container factory] java.rmi.ServerException: Could
> not passivate; nested exception is:
> [Container factory]
> java.io.NotSerializableException:
> org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection
> [Container factory] java.io.NotSerializableException:
> org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection
> [Container factory] at
> java.io.ObjectOutputStream.output
> Object(ObjectOutputStream.java:1148)
> [Container factory] at
> java.io.ObjectOutputStream.writeO
> bject(ObjectOutputStream.java:366)
> [Container factory] at
> java.io.ObjectOutputStream.output
> ClassFields(ObjectOutputStream.java:1841)
> [Container factory] at
> java.io.ObjectOutputStream.defaul
> tWriteObject(ObjectOutputStream.java:480)
> [Container factory] at
> java.io.ObjectOutputStream.output
> Object(ObjectOutputStream.java:1214)
> [Container factory] at
> java.io.ObjectOutputStream.writeO
> bject(ObjectOutputStream.java:366)
> [Container factory] at
> org.jboss.ejb.plugins.StatefulSes
> sionFilePersistenceManager.passivateSession(StatefulSessionF
> ilePersistenceManager.java:278)
> [Container factory] at
> org.jboss.ejb.plugins.StatefulSes
> sionInstanceCache.passivate(StatefulSessionInstanceCache.jav
> a:54)
> [Container factory] at
> org.jboss.ejb.plugins.AbstractIns
> tanceCache$1.execute(AbstractInstanceCache.java:668)
> [Container factory] at
> org.jboss.util.WorkerQueue$QueueL
> oop.run(WorkerQueue.java:199)
> [Container factory] at
> java.lang.Thread.run(Thread.java:
> 484)
> 
> 
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

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



[JBoss-user] User Transaction support for JBoss?

2001-08-01 Thread Jaime Gomez

I need know if Jboss support UserTransaction. I can use commit and 
rollback in my client of the same form that use in JOnas

Sal.
Jaime

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



Re: [JBoss-user] Binary objects and CMP

2001-08-01 Thread David Jencks

On the database side, I think you will have to experiment and see what
works for your database.  You may have to fiddle with the jaws type
mapping.  My impression is that different databases deal with blobs of
binary data in vastly different ways, despite the sql "standard" and jdbc. 
I can't see any problem sending a byte[] to a cmp bean from a client.

david jencks

On 2001.07.31 19:13:23 -0400 Stephen J . Thompson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello all,
> 
> I want to store a picture in a CMP bean. I am wondering what would be the
> 
> best data type to use?
> 
> Should I use a byte[] and remap that to a blob? If so can that be passes
> from 
> a java client to the bean?
> 
> Thanks 
> 
> Regards,
> 
> Stephen,
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE7ZzuTPmm0AnNwb5MRAuPBAJ4/0IRzwMS2WtNqzjg6kGV25//2XQCdEEaP
> qqiCAPoBTVw9b992ewrOzKE=
> =NRwm
> -END PGP SIGNATURE-
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

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



[JBoss-user] Problems Accessing a DataSource INDIRECTLY from an Entity Bean.

2001-08-01 Thread Larry Kim

Hi

I understand that a javax.sql.DataSource cannot be looked up
directly from a client, rather, the client must look up
a bean and invoke a method on it which accesses the underlying
DataSource. fine.

I ran into a problem when INDIRECTLY looking up a DataSource from 
an EJB.  I was using a documented pattern called the "Data Access
Object" (DAO)
which is described on javasoft as follows: 
http://java.sun.com/j2ee/blueprints/design_patterns/data_access_object/

Essentially, The Entity bean instantiates a regular object 
which implements some DataAccessObject interface, and the implementation
of this interface accesses the DataSource.

for example, here is my Hospital Data Access Object Interface:

public interface HospitalDAO {

public void create(HospitalVH details) throws HospitalDAOException;
public HospitalVH load(String id) throws HospitalDAOException;
public void store(HospitalVH details) throws HospitalDAOException;
public void remove(String id) throws HospitalDAOException;
public String findByPrimaryKey(String id) throws
HospitalDAOException;
public Collection findAll() throws HospitalDAOException;
} // these methods called from the EJB which has a HospitalDAO as a
member variable. 

I then can provide implementations (eg: HospitalDAOImplOracle,
HospitalDAOImplMSSQL, etc) 
of this interface which load the DataSource using Oracle PL/SQL, or
Microsoft T-SQL, required to manage triggers etc.  

Unfortunately, Jboss complains that the datasource is not bound.
this is the same error you get when a client tries to obtain a
DataSource
directly. So my question is.. can you instantiate an object as a member
variable in the entity bean that accesses the entity bean, or is the
DataSource only visible to the actual entity bean??


Sincerely


Larry

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



Re: [JBoss-user] class not found exception while using /jboss cxt

2001-08-01 Thread Stephen J . Thompson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This looks as if it could be due the the jdk version you are using. Did you 
recompile jboss under 1.4?

Regards,

Stephen.


On Wednesday 01 Aug 2001 6:10 am, you wrote:
> using jboss.2.4.0
> win-2000
> jdk1.4
>
> i have changed jboss.jcml to use embedded tomcat;
>   have set CLASSPATH=
>   and copied tools.jar to tomcat/lib
>
> jboss starts ok; servlets jsp examples run ok.
>
> using "http://localhost/jboss and clinking on  one the tests gives the
> following class not found exception.
>
> thanks for any help.
> [Default] JBoss 2.4 BETA(Rel_2_4_0_6) Started in 30m:15s
> [EmbeddedTomcatSX] 2001-08-01 09:26:05 - Ctx( /jboss ): Exception in: R(
> /jboss + /servlet/HelloEJB + null) - java.lang.NoClassDefFoundError:
> $Proxy3 at
> sun.reflect.GeneratedSerializationConstructorAccessor39.newInstance(Unknown
> Source)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:273)
>   at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:680)
>   at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1550)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1202) at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:297) at
> java.rmi.MarshalledObject.get(MarshalledObject.java:138)
>   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
>   at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
>   at javax.naming.InitialContext.lookup(InitialContext.java:350)
>   at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:56)
>   at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:36)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at
> org.apache.tomcat.core.Handler.service(Handler.java:287)
>   at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:7
>97) at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Http
>ConnectionHandler.java:213) at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> at java.lang.Thread.run(Thread.java:579)
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7aFt+Pmm0AnNwb5MRAsoJAJ9zbQ69Vz8J8QMfPFSTYNZUVovbGgCfaAaJ
boF0GvzkBEDX/C9OlatBlhM=
=nPdb
-END PGP SIGNATURE-

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



Re: [JBoss-user] MBean NameAlreadyBoundException

2001-08-01 Thread David Jencks

Hi,

Thanks for the info.

The mbeans for key generation are certainly fine, the security related one
I don't know enough about to comment on, however I don't think you need the
bean with the jndi name of the datasource.  I apologize for not being able
to give you the exact syntax, but (normally) you remap the jndi name used
in your beans to the jndi name the datasource is bound under.  This mapping
is not in java but in one of the xml config files - I think jboss.xml.

On 2001.07.30 09:29:14 -0400 Frederick N. Brier wrote:
> At 12:00 AM 7/30/2001, David Jencks wrote:
> >Out of curiousity, what is the relationship between the ejbs and the
> >mbeans?
> 
> One of the MBean(s) is a incrementing key generator for the primary keys
> of 
> entity beans.  One is instantiated for each table.  The other two act as
> a 
> central place to stick configuration information.  One is security
> related 
> and stores the JNDI/LDAP server connection info as well as other related 
> security configuration.  The other is application related and stores a 
> reference to the DataSource.  It bothered me to have hard coded JNDI
> names 
> to look up the data sources spread out and in all the different methods
> of 
> all the EJBs.  So I have a base class that all EJBs extend that maintains
> a 
> lazy reference to the application MBean which contains any necessary 
> configuration information.  End result is there is only one hard coded
> JNDI 
> name in the base EJB class.  Currently the app MBean keeps a reference to
> 
> the security MBean.  Does this sound ok, or am I violating any EJB server
> 
> design rules and my code blow up?  Thanks again.
> 
> Frederick N. Brier
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

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



RE: [JBoss-user] Jetty support for JSP 1.2 and servlets 2.3

2001-08-01 Thread Patrick Munis
Title: RE: [JBoss-user] Jetty support for JSP 1.2 and servlets 2.3






these links don't tell me much.


-Original Message-

From: toby cabot [mailto:[EMAIL PROTECTED]]

Sent: Wednesday, August 01, 2001 2:53 PM

To: [EMAIL PROTECTED]

Subject: Re: [JBoss-user] Jetty support for JSP 1.2 and servlets 2.3



> Does Jetty currently support JSP 1.2 and servlets 2.3? If not, when

> will it be.


http://jetty.mortbay.com/

http://sourceforge.net/projects/jetty/





___

JBoss-user mailing list

[EMAIL PROTECTED]

http://lists.sourceforge.net/lists/listinfo/jboss-user





Re: [JBoss-user] Jetty support for JSP 1.2 and servlets 2.3

2001-08-01 Thread toby cabot

> Does Jetty currently support JSP 1.2 and servlets 2.3? If not, when
> will it be.

http://jetty.mortbay.com/
http://sourceforge.net/projects/jetty/




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



[JBoss-user] SOS! How can I disable the session bean passivation in configure?

2001-08-01 Thread yan fan

Can guru tell me how can I disable  the session bean
passivation.
  Noticed that if I use below will get null  point
exception :
 
   

   
 
   TB
   No Passivation
Configuration
 

 
   RB
 
   

   

No Passivation
Configuration

org.jboss.ejb.plugins.StatefulSessionInstanceCache
  

org.jboss.ejb.plugins.NoPassivationCachePolicy


  



__
Do You Yahoo!?
Make international calls for as low as $.04/minute
with Yahoo! 
Messenger
http://phonecard.yahoo.com/

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

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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



Re: [JBoss-user] Integration with Catalina/Tomcat 4?

2001-08-01 Thread toby cabot

> When will Jboss be integrated with Catalina/Tomcat 4? 
> thanks
> Patrick

Patrick,

It's pretty funny, I was wondering the same thing myself.  I asked on
the forums this morning and was told that one of the developers would
re-open the catalina integration next week.  In the mean time there's
some code in the contrib/catalina directory; it's rusty but with a few
fixes I got it to build, but it throws during initialization.  If you're
curious, here's the patch which lets you build, then you can follow the
instructions in the readme to install (and crash).  Please let me know
if you make any progress:

Index: readme
===
RCS file: /cvsroot/jboss/contrib/catalina/readme,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 readme
1,2c1
< 1) copy embedded.jar to jboss/lib/ext, tools.jar should go to
 1) copy embedded.jar to jboss/lib/ext
4,8c3
< 2) copy the files jaxp.jar (from catalina_home/server) to jboss/lib,
 2) add the following lines to jboss.conf (changing the directories
accordingly)
12c7
<   ---
>   
25c20
< 4) there are 3 mbeans that need to be configured in jboss.jcml:
---
> 3) there are 3 mbeans that need to be configured in jboss.jcml:
57c52
< 5) start jboss, all war files will be deployed to localhost as
configured in
---
> 4) start jboss, all war files will be deployed to localhost as
configured in
59c54
To see the typical home page http://localhost:8080 enable the root 
cvs server: Diffing src
cvs server: Diffing src/build
Index: src/build/build.sh
===
RCS file: /cvsroot/jboss/contrib/catalina/src/build/build.sh,v
retrieving revision 1.2
diff -r1.2 build.sh
10,11c10,11
< ${TOMCAT_HOME}/server/crimson.jar:\
< ${TOMCAT_HOME}/server/jaxp.jar:\
---
> ${TOMCAT_HOME}/server/lib/crimson.jar:\
> ${TOMCAT_HOME}/server/lib/jaxp.jar:\
Index: src/build/build.xml
===
RCS file: /cvsroot/jboss/contrib/catalina/src/build/build.xml,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 build.xml
14,16c14,16
< http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] is freezing problem with Tomcat solved?

2001-08-01 Thread Boris Garbuzov

Your case may be a little different, Mike, because with me it hangs not on
deployment but in the middle of serving remote methods. Seems, when storing.
-
Subject: Re: [JBoss-user] is hanging problem with Tomcat solved?
From: Mike Williams <[EMAIL PROTECTED]>
I was having a "hang" problem as well, which related to being behind a
firewall.  When parsing XML deployment-descriptors, JBoss was attempting to
download the DTDs, and timing-out on the remote HTTP connection. I solved my
problem by downloading JBoss-2.2.2_Tomcat-3.2.2.zip.  It seems that the ".zip"
download differs slightly from the ".tar.gz" (which is broken, somehow). I
still have a problem with DTDs that JBoss doesn't explictly include.  In such
cases, I usually just removed the DOCTYPE declaration.  I've also had some
success (just today) setting "http.proxyHost" and "http.proxyPort"
system-properties when starting JBoss.
-
Thanks for your attention, Bill. I saw this problem discussed on the list.
JBoss hangs, suspends freezes sometimes, stops serving EJBs to the client, so
both client and server hang immovable. Before sometimes it helped if I hit
Control+C on its console, and it moved from deadlock. The second Control+C hit
would kill the process as it expected from the first. Now the situation has
worsened with me, and Control+C does not help. Now it either gives no reaction
or dies. 
--
Are you saying that somebody told you to try with jdk1.3.0, and that you have
not done so because someone else told you it wouldn't work?  I might try it
anyway, if I had no other solution...  Anyway, can you be a little more
specific about your problem?  What do you mean, "freezing"?
---
I am still suffering from jboss-tomcat's freezing. Last time I was suggested
to regress from jdk1.3.1 to jdk1.3.0. I heard from people that it does not
help, though I did not try it myself. I am using windows2000, jdk1.3.1 and
JBoss-2.2.2_Tomcat-3.2.2.
"Bruyn Bill" [EMAIL PROTECTED]



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



Re: Re: [JBoss-user] JBoss and JDO

2001-08-01 Thread Alex . Devine


We are using SQLServer 7.0, will likely switch to SQLServer 2000 in
production.

Alex



|+-->
||  "C Murphy @ Intechtual" |
||  
  
>-|
  |
 |
  |   To: [EMAIL PROTECTED] 
 |
  |   cc:  
 |
  |   Subject: Re: Re: [JBoss-user] JBoss and JDO  
 |
  
>-|




If I may ask, what RDB are you using behind Castor's JDO implementation on
your project?

Thanks
Chris Murphy

On Tue, 31 Jul 2001 21:18:11 -0500, [EMAIL PROTECTED] wrote:
>
> I wholeheartedly agree with this article. I am on a project where we
> originally were using entity beans, but we switched to using JDO because
> they are much easier to program with a LOT less overhead. Most of the
time
> developers end up writing dependent objects for entity beans anyway, so
why
> not just program like that from the start? Actually, I haven't seen any
> situations where I would use entity beans over JDO (and would love it if
> someone could suggest why I would). All the hype over CMP 2.0 seems way
> overdone considering JDO has provided relationships for a while.
>
> The good news is that JBoss does support JDO! It uses the Castor plugin
> (note Castor isn't a Sun-compatible JDO implementation, but it works
> great). Check out http://www.jboss.org/jboss-castor.jsp. Castor is easy
to
> use, and it integrates right into a J2EE server like JBoss (for example,
it
> will use the resource manager and transaction attributes of the method
> under which it is called).
>
> Alex
>
>
>
>
> "Paul McLachlan"
> <[EMAIL PROTECTED]>  To:
<[EMAIL PROTECTED]>
> Sent by:cc:
> [EMAIL PROTECTED]Subject:
[JBoss-user] JBoss and JDO
> eforge.net
>
>
> 07/31/2001 08:26 PM
> Please respond to jboss-user
>
>
>
>
>
>
> This is an interesting discussion on the benefits and drawbacks on JDO
> and ejb2.0
>
> I would be interested to know if JBoss will implement JDO.
>
> http://www.theserverside.com/discussion/thread.jsp?thread_id=771
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

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





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



[JBoss-user] Problem with JSP invocation deployed in an EAR

2001-08-01 Thread TonyCadogan

Hi,

I've built an ear file for an application name "BuildXML" containing a .war
file. The war file contains 

home.htm
jsp/sample6.jsp
web.xml


The deployment appears ok, I invoke the home.htm which contains the line

Download

When download is pressed I get a File not found error.

What piece of configuration am i Missing. 

The Web.xml file looks Like



/jsp/sample6.jsp
11



I get the following in the tomcat/logs directory.

- Scratch dir for the JSP engine is:
C:\jbos\JBoss-2.2.1_Tomcat-3.2.1\tomcat\work\localhost_8080%2Fexamples
- IMPORTANT: Do not modify the generated servlets
- JspEngine --> /jsp/sample6.jsp
-ServletPath: /jsp/sample6.jsp
-   PathInfo: null
-   RealPath:
C:\jbos\JBoss-2.2.1_Tomcat-3.2.1\jboss\tmp\deploy\Default\buildXML.ear\web10
03\jsp\sample6.jsp
- RequestURI: /BuildXML/jsp/sample6.jsp
-QueryString: jsp_precompile=true
- Request Params: 
-jsp_precompile = true
- Classpath according to the Servlet Engine is:
C:\jbos\JBoss-2.2.1_Tomcat-3.2.1\jboss\tmp\deploy\Default\buildXML.ear\web10
03\WEB-INF\classes

> Tony Cadogan
> Technology
> Tel: 020 7574 8120
> Fax: 020 7574 8141
> Mobile: 
> E Mail: [EMAIL PROTECTED]
> 
> Halifax Group Treasury & Wholesale Banking
> 33 Old Broad Street
> London
> EC2N 1HZ
> 
> Halifax Group Treasury & Wholesale Banking is a division of Halifax plc.
> Registered in England No. 2367076.  Registered Office: Trinity Road,
> Halifax, West Yorkshire HX1 2RG
> 
> 
> 
> 

--
Halifax Group Treasury & Wholesale Banking is a division of Halifax plc.  Registered 
in England No. 2367076.  Registered Office: Trinity Road, Halifax, West Yorkshire HX1 
2RG.


==


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



[JBoss-user] How can I disable the session bean passivation?

2001-08-01 Thread nong le

Can guru tell me how can I disable  the session bean
passivation.
  Noticed that if I use below will get null  point
exception :
 
   

   
 
   TB
   No Passivation
Configuration
 

 
   RB
 
   

   

No Passivation
Configuration

org.jboss.ejb.plugins.StatefulSessionInstanceCache
  

org.jboss.ejb.plugins.NoPassivationCachePolicy


  



__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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



[JBoss-user] Problem with Custom MBeans

2001-08-01 Thread Andrew Bredon

Hi All,

I have used an example someone posted earlier (sorry lost the post) and have
added the  code into jboss.conf and  code
into jboss.jcml and created the Foo.java & FooMBean.java files (both compile
no probs) but I get the following exception on startup. 
The mlet and mbean are both at the bottom of their respective files.

Any ideas? Thanks, ab

[Service Control] Registered with server
java.lang.NoClassDefFoundError: org/jboss/util/ServiceMBeanSupport
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at
com.sun.management.jmx.MBeanServerImpl.findClass(MBeanServerImpl.java:2466)
at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:751)
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540)
at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369)
at org.jboss.Main.(Main.java:187)
at org.jboss.Main$1.run(Main.java:121)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:117)
[Configuration] Could not create MBean
DefaultDomain:service=FooExample(com.lastminute.components.dealwatch.Foo)
[Configuration] java.lang.NoClassDefFoundError:
org/jboss/util/ServiceMBeanSupport
[Configuration] at java.lang.ClassLoader.defineClass0(Native Method)
[Configuration] at
java.lang.ClassLoader.defineClass(ClassLoader.java:486)
[Configuration] at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
[Configuration] at
java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
[Configuration] at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
[Configuration] at
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
[Configuration] at
java.security.AccessController.doPrivileged(Native Method)
[Configuration] at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[Configuration] at
java.lang.ClassLoader.loadClass(ClassLoader.java:297)
[Configuration] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
[Configuration] at
java.lang.ClassLoader.loadClass(ClassLoader.java:290)
[Configuration] at
java.lang.ClassLoader.loadClass(ClassLoader.java:253)
[Configuration] at
com.sun.management.jmx.MBeanServerImpl.findClass(MBeanServerImpl.java:2466)
[Configuration] at
com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:499)
[Configuration] at
org.jboss.configuration.ConfigurationService.create(ConfigurationService.jav
a:340)
[Configuration] at
org.jboss.configuration.ConfigurationService.loadConfiguration(Configuration
Service.java:271)
[Configuration] at java.lang.reflect.Method.invoke(Native Method)
[Configuration] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Configuration] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Configuration] at org.jboss.Main.(Main.java:209)
[Configuration] at org.jboss.Main$1.run(Main.java:121)
[Configuration] at
java.security.AccessController.doPrivileged(Native Method)
[Configuration] at org.jboss.Main.main(Main.java:117)
[Service Control] Initializing 26 MBeans


--

This e-mail is intended for the named addressee only.  It may contain confidential 
and/or privileged information.  If you have received this message in error, please let 
us know and then delete this message from your system.  You should not copy the 
message, use it for any purpose or disclose its contents to anyone.

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



[JBoss-user] Jetty support for JSP 1.2 and servlets 2.3

2001-08-01 Thread Patrick Munis
Title: Jetty support for JSP 1.2 and servlets 2.3






Does Jetty currently support JSP 1.2 and servlets 2.3? If not, when will it be.


thanks

Patrick





RE: Re: [JBoss-user] JBoss and JDO

2001-08-01 Thread Alex Radka

I'm using it with MySql

different Alex

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of C Murphy @
Intechtual
Sent: Wednesday, August 01, 2001 10:47 AM
To: [EMAIL PROTECTED]
Subject: Re: Re: [JBoss-user] JBoss and JDO


If I may ask, what RDB are you using behind Castor's JDO implementation on
your project?

Thanks
Chris Murphy

On Tue, 31 Jul 2001 21:18:11 -0500, [EMAIL PROTECTED] wrote:
>
> I wholeheartedly agree with this article. I am on a project where we
> originally were using entity beans, but we switched to using JDO because
> they are much easier to program with a LOT less overhead. Most of the time
> developers end up writing dependent objects for entity beans anyway, so
why
> not just program like that from the start? Actually, I haven't seen any
> situations where I would use entity beans over JDO (and would love it if
> someone could suggest why I would). All the hype over CMP 2.0 seems way
> overdone considering JDO has provided relationships for a while.
>
> The good news is that JBoss does support JDO! It uses the Castor plugin
> (note Castor isn't a Sun-compatible JDO implementation, but it works
> great). Check out http://www.jboss.org/jboss-castor.jsp. Castor is easy to
> use, and it integrates right into a J2EE server like JBoss (for example,
it
> will use the resource manager and transaction attributes of the method
> under which it is called).
>
> Alex
>
>
>
>
> "Paul McLachlan"
> <[EMAIL PROTECTED]>  To:
<[EMAIL PROTECTED]>
> Sent by:cc:
> [EMAIL PROTECTED]Subject:
[JBoss-user] JBoss and JDO
> eforge.net
>
>
> 07/31/2001 08:26 PM
> Please respond to jboss-user
>
>
>
>
>
>
> This is an interesting discussion on the benefits and drawbacks on JDO
> and ejb2.0
>
> I would be interested to know if JBoss will implement JDO.
>
> http://www.theserverside.com/discussion/thread.jsp?thread_id=771
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

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


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



[JBoss-user] Integration with Catalina/Tomcat 4?

2001-08-01 Thread Patrick Munis
Title: Integration with Catalina/Tomcat 4? 






When will Jboss be integrated with Catalina/Tomcat 4? 

thanks

Patrick





[JBoss-user] class not found exception while using /jboss cxt

2001-08-01 Thread kvrprasad

using jboss.2.4.0
win-2000
jdk1.4

i have changed jboss.jcml to use embedded tomcat;
  have set CLASSPATH=
  and copied tools.jar to tomcat/lib

jboss starts ok; servlets jsp examples run ok.

using "http://localhost/jboss and clinking on  one the tests gives the
following class not found exception.

thanks for any help.
[Default] JBoss 2.4 BETA(Rel_2_4_0_6) Started in 30m:15s
[EmbeddedTomcatSX] 2001-08-01 09:26:05 - Ctx( /jboss ): Exception in: R( 
/jboss + /servlet/HelloEJB + null) - java.lang.NoClassDefFoundError: $Proxy3
at 
sun.reflect.GeneratedSerializationConstructorAccessor39.newInstance(Unknown 
Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:273)
at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:680)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1550)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1202)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:297)
at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:56)
at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:579)


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



RE: [JBoss-user] JBOSS INTEREST EXAMPLE

2001-08-01 Thread A.L.

I noticed that the interestservlet.class file also
happens to be in :
C:\work\example\examples\build-examples\interest\classes\org\jboss\docs\interest



--- Martin Welch <[EMAIL PROTECTED]> wrote:
> Where is your InterestServlet.class file?
> 
> -Original Message-
> From: A.L. [mailto:[EMAIL PROTECTED]]
> Sent: 31 July 2001 17:20
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JBOSS INTEREST EXAMPLE
> 
> 
> I have finally tried to restart the whole process to
> get the Interest Servlet to work. now I am getting
> the
> following error when I try to calculate:
>  Error: 500
> Location: /interest/InterestServlet
> Internal Servlet Error:
> 
> java.lang.NoClassDefFoundError:
> org/jboss/docs/interest/Interest
>   at java.lang.Class.newInstance0(Native Method)
>   at java.lang.Class.newInstance(Unknown Source)
> .
> .
> .
> 
> I have a couple of questions.  The interestClient
> class is running fine, and has the following line:
>  Object ref  =
> jndiContext.lookup("interest/Interest");
> 
> I have put the same line in the InterestServlet
> Class.
>  Yet i am still getting an errors.  Any ideas why?
> 
> Also when I try to deploy the servlet Class with the
> line   Object ref  =
> jndiContext.lookup("java:comp/env/ejb/Interest");
> it also doesn't work.
> 
> I meanwhile have jboss.xml,  jboss-web.xml, and
> web.xml
> .  These all seem to be configured properly.  I
> would
> assume they would be anyways since I downloaded them
> from the Jboss web site.
> 
> 
> Finally.  Which file must go into the Jboss/deploy/
> directory for the servlet to run.  Interest.EAR,
> Interest.WAR, or Interest.JAR.  Do all of them go
> into
> the deploy directory?
> 
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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



RE: [JBoss-user] JBOSS INTEREST EXAMPLE

2001-08-01 Thread A.L.

The immediate naswer to you question is:
The interestservlet.class file was created in:
C:\work\example\examples\build-examples\interest\WEB-INF\classes\org\jboss\docs\interest

Here is some more background info...

When I downloaded the files for the interest example I
put them all into the following directory:

C:\work\example\examples\org\jboss\docs\interest

After running the ant compile command from the
directory
C:\work\example\examples\build

A new Directory was created with the follwoing
structure 
C:\work\example\examples\build-examples

The interestservlet.class file was created in:
C:\work\example\examples\build-examples\interest\WEB-INF\classes\org\jboss\docs\interest

Nevertheless,  After running all the ant commands
defined in the build.xml file, interest.JAR,
interest.WAR, and interest.EAR all were placed in the
JBoss deploy file.  I assume they all have the
compressed the same directory structure I have
described above.

I hope that this is correct, if not I'm an idiot for
having messed this up.


Thanks again Martin

--- Martin Welch <[EMAIL PROTECTED]> wrote:
> Where is your InterestServlet.class file?
> 
> -Original Message-
> From: A.L. [mailto:[EMAIL PROTECTED]]
> Sent: 31 July 2001 17:20
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JBOSS INTEREST EXAMPLE
> 
> 
> I have finally tried to restart the whole process to
> get the Interest Servlet to work. now I am getting
> the
> following error when I try to calculate:
>  Error: 500
> Location: /interest/InterestServlet
> Internal Servlet Error:
> 
> java.lang.NoClassDefFoundError:
> org/jboss/docs/interest/Interest
>   at java.lang.Class.newInstance0(Native Method)
>   at java.lang.Class.newInstance(Unknown Source)
> .
> .
> .
> 
> I have a couple of questions.  The interestClient
> class is running fine, and has the following line:
>  Object ref  =
> jndiContext.lookup("interest/Interest");
> 
> I have put the same line in the InterestServlet
> Class.
>  Yet i am still getting an errors.  Any ideas why?
> 
> Also when I try to deploy the servlet Class with the
> line   Object ref  =
> jndiContext.lookup("java:comp/env/ejb/Interest");
> it also doesn't work.
> 
> I meanwhile have jboss.xml,  jboss-web.xml, and
> web.xml
> .  These all seem to be configured properly.  I
> would
> assume they would be anyways since I downloaded them
> from the Jboss web site.
> 
> 
> Finally.  Which file must go into the Jboss/deploy/
> directory for the servlet to run.  Interest.EAR,
> Interest.WAR, or Interest.JAR.  Do all of them go
> into
> the deploy directory?
> 
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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



Re: Re: [JBoss-user] JBoss and JDO

2001-08-01 Thread C Murphy @ Intechtual

If I may ask, what RDB are you using behind Castor's JDO implementation on your 
project?

Thanks
Chris Murphy

On Tue, 31 Jul 2001 21:18:11 -0500, [EMAIL PROTECTED] wrote:
> 
> I wholeheartedly agree with this article. I am on a project where we
> originally were using entity beans, but we switched to using JDO because
> they are much easier to program with a LOT less overhead. Most of the time
> developers end up writing dependent objects for entity beans anyway, so why
> not just program like that from the start? Actually, I haven't seen any
> situations where I would use entity beans over JDO (and would love it if
> someone could suggest why I would). All the hype over CMP 2.0 seems way
> overdone considering JDO has provided relationships for a while.
> 
> The good news is that JBoss does support JDO! It uses the Castor plugin
> (note Castor isn't a Sun-compatible JDO implementation, but it works
> great). Check out http://www.jboss.org/jboss-castor.jsp. Castor is easy to
> use, and it integrates right into a J2EE server like JBoss (for example, it
> will use the resource manager and transaction attributes of the method
> under which it is called).
> 
> Alex
> 
> 
> 
> 
> "Paul McLachlan"
> <[EMAIL PROTECTED]>  To: 
><[EMAIL PROTECTED]>
> Sent by:cc:
> [EMAIL PROTECTED]Subject: [JBoss-user] 
>JBoss and JDO
> eforge.net
> 
> 
> 07/31/2001 08:26 PM
> Please respond to jboss-user
> 
> 
> 
> 
> 
> 
> This is an interesting discussion on the benefits and drawbacks on JDO
> and ejb2.0
> 
> I would be interested to know if JBoss will implement JDO.
> 
> http://www.theserverside.com/discussion/thread.jsp?thread_id=771
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

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



RE: [JBoss-user] URGENT - problem on startup

2001-08-01 Thread Schouten, Andreas

Hi Alex,

we removed the dtd entries from the XML files and the parser works fine
without validationg the dtd.

Andreas

> -Original Message-
> From: Alex Radka [SMTP:[EMAIL PROTECTED]]
> Sent: 01 August 2001 16:09
> To:   [EMAIL PROTECTED]
> Subject:  RE: [JBoss-user] URGENT - problem on startup
> 
> Sorry.
> 
> It was the famous web-app_2_2.dtd problem.  As of this writing
> java.sun.com
> is down (or at least I can't get to it).
> 
> That's twice in the last 6 months, that you can't find the file.  You
> would
> think it would be higher availability.
> 
> Luckily I have a copy and can link locally.
> 
> Alex
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Radka
> Sent: Wednesday, August 01, 2001 9:25 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] URGENT - problem on startup
> 
> 
> Went to restart JBoss, shutdown fine but on startup it hangs when trying
> to
> add the first Context and then gives a null pointer exception.
> 
> What's happening?
> 
> [Auto deploy] Starting
> [Auto deploy] Watching /opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy
> [Auto deploy] Auto deploy of
> file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/Quaestor.ear
> [J2EE Deployer Default] Deploy J2EE application:
> file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/Quaestor.ear
> [J2EE Deployer Default] Create application Quaestor.ear
> [J2EE Deployer Default] inflate and install module Quaestor.war
> [J2EE Deployer Default] install module Quaestor.jar
> [J2EE Deployer Default] add all ejb jar files to the common classpath
> [Container factory]
> Deploying:file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quae
> st
> or.ear
> [Container factory] res-jndi-name(ratejdo)does not start with java:/ and
> assumeJavaPrefix is true
> [Verifier] Verifying
> file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaestor.ear/e
> jb
> 1002.jar
> [Container factory] Deploying CustomerManager
> [Container factory] lookup securityManager name: java:/jaas/example2
> [Container factory] JAAS.Created
> securityMgr=org.jboss.security.plugins.JaasSecurityManager@2f8b5a
> [Container factory] JAAS.setCachePolicy, c=null
> [Container factory] JAAS.Added example2,
> org.jboss.security.plugins.JaasSecurityManager@2f8b5a to map
> [Container factory] Deploying SettingsManager
> [Container factory] lookup securityManager name: java:/jaas/example2
> [Container factory] Deploying CriteriaManager
> [Container factory] lookup securityManager name: java:/jaas/example2
> [Container factory] Deploying RateManager
> [Container factory] lookup securityManager name: java:/jaas/example2
> [Container factory] Deployed application:
> file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaestor.ear
> [J2EE Deployer Default] Starting module Quaestor.war
> [Auto deploy] deploy, ctxPath=/quaestor,
> warUrl=file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaesto
> r.
> ear/web1001/
> 2001-08-01 09:23:44 - ContextManager: Adding context Ctx( /quaestor )
> 
> Alex
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


If you have received this e-mail in error or wish to read our e-mail disclaimer 
statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender.

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



Re: [JBoss-user] Deployment Descriptor - Working on a tool at the moment

2001-08-01 Thread Wei-ju Wu

This was my first intention when I started development.
If it is desired I will contribute it.

Wei-ju

- Original Message -
From: "Patrick Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 3:43 PM
Subject: Re: [JBoss-user] Deployment Descriptor - Working on a tool at the
moment


> any chance that you'll contribute it to the JBoss cvs ?
> maybe it'll make itself into the binary at some point.
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


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



RE: [JBoss-user] URGENT - problem on startup

2001-08-01 Thread Alex Radka

Sorry.

It was the famous web-app_2_2.dtd problem.  As of this writing java.sun.com
is down (or at least I can't get to it).

That's twice in the last 6 months, that you can't find the file.  You would
think it would be higher availability.

Luckily I have a copy and can link locally.

Alex

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Radka
Sent: Wednesday, August 01, 2001 9:25 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] URGENT - problem on startup


Went to restart JBoss, shutdown fine but on startup it hangs when trying to
add the first Context and then gives a null pointer exception.

What's happening?

[Auto deploy] Starting
[Auto deploy] Watching /opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy
[Auto deploy] Auto deploy of
file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/Quaestor.ear
[J2EE Deployer Default] Deploy J2EE application:
file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/Quaestor.ear
[J2EE Deployer Default] Create application Quaestor.ear
[J2EE Deployer Default] inflate and install module Quaestor.war
[J2EE Deployer Default] install module Quaestor.jar
[J2EE Deployer Default] add all ejb jar files to the common classpath
[Container factory]
Deploying:file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaest
or.ear
[Container factory] res-jndi-name(ratejdo)does not start with java:/ and
assumeJavaPrefix is true
[Verifier] Verifying
file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaestor.ear/ejb
1002.jar
[Container factory] Deploying CustomerManager
[Container factory] lookup securityManager name: java:/jaas/example2
[Container factory] JAAS.Created
securityMgr=org.jboss.security.plugins.JaasSecurityManager@2f8b5a
[Container factory] JAAS.setCachePolicy, c=null
[Container factory] JAAS.Added example2,
org.jboss.security.plugins.JaasSecurityManager@2f8b5a to map
[Container factory] Deploying SettingsManager
[Container factory] lookup securityManager name: java:/jaas/example2
[Container factory] Deploying CriteriaManager
[Container factory] lookup securityManager name: java:/jaas/example2
[Container factory] Deploying RateManager
[Container factory] lookup securityManager name: java:/jaas/example2
[Container factory] Deployed application:
file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaestor.ear
[J2EE Deployer Default] Starting module Quaestor.war
[Auto deploy] deploy, ctxPath=/quaestor,
warUrl=file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaestor.
ear/web1001/
2001-08-01 09:23:44 - ContextManager: Adding context Ctx( /quaestor )

Alex


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



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



Re: [JBoss-user] HELP! EJB 1.1 specification compliance

2001-08-01 Thread Daniel CAUNE

Mmmh... I spoke too quiclky... In fact that doesn't work!


On Wednesday 01 August 2001 15:32, you wrote:
> OK, it works fine now!
>
> Thanks a lot!
>
>
> Daniel
>
> On Tuesday 31 July 2001 17:54, you wrote:
> > Daniel,
> >
> > try chaging the Application to
> > Container in the ejb-jar.xml. Also in the jboss.xml
> > the  tag is not required.
> >
> > Paul
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel CAUNE
> > Sent: 31 July 2001 15:03
> > To: [EMAIL PROTECTED]; Gregor Rayman
> > Subject: Re: [JBoss-user] HELP! EJB 1.1 specification compliance
> >
> > > The problem is that you've declared your bean will access datasource
> > > called "java:comp/env/jdbc/myDataSource", but you have not bound
> > > "java:comp/env/jdbc/myDataSource" to "java:/myDataSource".
> > >
> > >
> > > To do this, you have to specify the binding in jboss.xml. Try this:
> >
> > Yes, I forgot this point! So, I have modified the jboss.xml file, but the
> > problem still persists...
> >
> > In fact, when I deploy myBean, JBoss warns: "[Container factory] No
> > resource manager found for myDataSource".
> >
> > Can you take a look to these deployment and configuration files, and tell
> > me where the problem comes from? I've tried to follow the linked
> > references, but
> > I didn't notice an incoherence there, perhaps between [jboss.xml] and
> > [jboss]:
> >
> > [myEJB.java] initialContext.lookup("java:comp/env/jdbc/myDataSource");
> >   -> [ejb-jar.xml] jdbc/myDataSource
> > -> [jboss.xml] jdbc/myDataSource
> > -> [jboss.xml] myDataSource
> >   -> [jboss.xml] myDataSource
> >   -> [jboss.xml] java:/myDataSource
> > -> [jboss] myDataSource
> >
> >
> >
> > ejb-jar.xml:
> > 
> > (...)
> >   
> > 
> >   myEJB
> >   com.infusio.gamezilla.ejb.bean.util.myEJBHome
> >   com.infusio.gamezilla.ejb.bean.util.myEJB
> >  
> > com.infusio.gamezilla.ejb.bean.util.myEJBBean
> > Stateless
> >   Container
> >
> >   
> > jdbc/myDataSource
> > javax.sql.DataSource
> > Application
> >   
> > 
> >   
> > (...)
> >
> >
> > jboss.xml:
> > --
> >   
> > 
> >   myEJB
> >   ejb/myEJB
> >
> >   
> > jdbc/myDataSource
> > myDataSource
> > Container
> >   
> > 
> >
> > 
> >   
> > myDataSource
> > java:/myDataSource
> >   
> > 
> >   
> >
> >
> > jboss.jcml:
> > ---
> >  > name="DefaultDomain:service=XADataSource,name=myDataSource">
> >   myDataSource
> >   (...)
> > 
> >
> >
> > myEJB.java:
> > 
> > DataSource dataSource = (DataSource)
> > initialContext.lookup("java:comp/env/jdbc/myDataSource");
> >
> >
> > JBoss' log:
> > --
> > (...)
> > [myDataSource] XA Connection pool myDataSource bound to
> > java:/myDataSource
> > (...)
> >
> >
> >
> > Thank for your support! I hope this will be hepfull to other JBoss users.
> > I feel the JBoss documentation is poor on this subject.
> >
> > Regards,
> >
> >
> > Daniel
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> > _
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

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



Re: [JBoss-user] Deployment Descriptor - Working on a tool at the moment

2001-08-01 Thread Patrick Smith

any chance that you'll contribute it to the JBoss cvs ?
maybe it'll make itself into the binary at some point.

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



Re: [JBoss-user] HELP! EJB 1.1 specification compliance

2001-08-01 Thread Daniel CAUNE

OK, it works fine now!

Thanks a lot!


Daniel


On Tuesday 31 July 2001 17:54, you wrote:
> Daniel,
>
> try chaging the Application to
> Container in the ejb-jar.xml. Also in the jboss.xml
> the  tag is not required.
>
> Paul
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel CAUNE
> Sent: 31 July 2001 15:03
> To: [EMAIL PROTECTED]; Gregor Rayman
> Subject: Re: [JBoss-user] HELP! EJB 1.1 specification compliance
>
> > The problem is that you've declared your bean will access datasource
> > called "java:comp/env/jdbc/myDataSource", but you have not bound
> > "java:comp/env/jdbc/myDataSource" to "java:/myDataSource".
> >
> >
> > To do this, you have to specify the binding in jboss.xml. Try this:
>
> Yes, I forgot this point! So, I have modified the jboss.xml file, but the
> problem still persists...
>
> In fact, when I deploy myBean, JBoss warns: "[Container factory] No
> resource manager found for myDataSource".
>
> Can you take a look to these deployment and configuration files, and tell
> me where the problem comes from? I've tried to follow the linked
> references, but
> I didn't notice an incoherence there, perhaps between [jboss.xml] and
> [jboss]:
>
> [myEJB.java] initialContext.lookup("java:comp/env/jdbc/myDataSource");
>   -> [ejb-jar.xml] jdbc/myDataSource
> -> [jboss.xml] jdbc/myDataSource
> -> [jboss.xml] myDataSource
>   -> [jboss.xml] myDataSource
>   -> [jboss.xml] java:/myDataSource
> -> [jboss] myDataSource
>
>
>
> ejb-jar.xml:
> 
> (...)
>   
> 
>   myEJB
>   com.infusio.gamezilla.ejb.bean.util.myEJBHome
>   com.infusio.gamezilla.ejb.bean.util.myEJB
>   com.infusio.gamezilla.ejb.bean.util.myEJBBean
>   Stateless
>   Container
>
>   
> jdbc/myDataSource
> javax.sql.DataSource
> Application
>   
> 
>   
> (...)
>
>
> jboss.xml:
> --
>   
> 
>   myEJB
>   ejb/myEJB
>
>   
> jdbc/myDataSource
> myDataSource
> Container
>   
> 
>
> 
>   
> myDataSource
> java:/myDataSource
>   
> 
>   
>
>
> jboss.jcml:
> ---
>  name="DefaultDomain:service=XADataSource,name=myDataSource">
>   myDataSource
>   (...)
> 
>
>
> myEJB.java:
> 
> DataSource dataSource = (DataSource)
> initialContext.lookup("java:comp/env/jdbc/myDataSource");
>
>
> JBoss' log:
> --
> (...)
> [myDataSource] XA Connection pool myDataSource bound to
> java:/myDataSource
> (...)
>
>
>
> Thank for your support! I hope this will be hepfull to other JBoss users. I
> feel the JBoss documentation is poor on this subject.
>
> Regards,
>
>
> Daniel
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

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



[JBoss-user] URGENT - problem on startup

2001-08-01 Thread Alex Radka

Went to restart JBoss, shutdown fine but on startup it hangs when trying to
add the first Context and then gives a null pointer exception.

What's happening?

[Auto deploy] Starting
[Auto deploy] Watching /opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy
[Auto deploy] Auto deploy of
file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/Quaestor.ear
[J2EE Deployer Default] Deploy J2EE application:
file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/Quaestor.ear
[J2EE Deployer Default] Create application Quaestor.ear
[J2EE Deployer Default] inflate and install module Quaestor.war
[J2EE Deployer Default] install module Quaestor.jar
[J2EE Deployer Default] add all ejb jar files to the common classpath
[Container factory]
Deploying:file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaest
or.ear
[Container factory] res-jndi-name(ratejdo)does not start with java:/ and
assumeJavaPrefix is true
[Verifier] Verifying
file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaestor.ear/ejb
1002.jar
[Container factory] Deploying CustomerManager
[Container factory] lookup securityManager name: java:/jaas/example2
[Container factory] JAAS.Created
securityMgr=org.jboss.security.plugins.JaasSecurityManager@2f8b5a
[Container factory] JAAS.setCachePolicy, c=null
[Container factory] JAAS.Added example2,
org.jboss.security.plugins.JaasSecurityManager@2f8b5a to map
[Container factory] Deploying SettingsManager
[Container factory] lookup securityManager name: java:/jaas/example2
[Container factory] Deploying CriteriaManager
[Container factory] lookup securityManager name: java:/jaas/example2
[Container factory] Deploying RateManager
[Container factory] lookup securityManager name: java:/jaas/example2
[Container factory] Deployed application:
file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaestor.ear
[J2EE Deployer Default] Starting module Quaestor.war
[Auto deploy] deploy, ctxPath=/quaestor,
warUrl=file:/opt/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/Quaestor.
ear/web1001/
2001-08-01 09:23:44 - ContextManager: Adding context Ctx( /quaestor )

Alex


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



RE: [JBoss-user] JBOss Site down ???

2001-08-01 Thread James Magee

yea Naresh, I got the same problem, however I done a google search for Jboss
and "JAAS Based Security in JBoss" is the second item listed, this will get
yea in to the site.

-Original Message-
From: Naresh Sharma [mailto:[EMAIL PROTECTED]]
Sent: 02 August 2001 00:35
To: Jboss User
Subject: [JBoss-user] JBOss Site down ???


Hello Everybody,

any problem with JBoss site(www.jboss.org). it gives this message.

HTTP ERROR: 404 Not Found
Could not find resource for /
RequestURI=/


Naresh


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


CONFIDENTIALITY NOTICE
This email is private and confidential and may contain legally privileged
information. If you are not named above as an addressee it may be unlawful
for you to read, copy, distribute, disclose or otherwise use the information
in this email. If you are not the intended recipient of this email please
contact our systems manager.
Thank you.
Any views or opinions presented are solely those of the author and do not
necessarily represent those of the company or its associated companies
unless otherwise specifically stated.



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



[JBoss-user] Writing custom SQL in CMP Bean

2001-08-01 Thread Nicolai P Guba

Is it possible to write some custom SQL for a CMP Bean?

Something along the lines of:

public void setCompanyStakeholders (ArrayList a, 
long firstIdBlockNum)
throws RemoteException
{
final String query = "INSERT INTO Stakeholder (id, companyId,
firstName, lastName, email, dateCreated, lastModified, createdBy,
mimeTypePreference, modifiedBy, source, neverContact, validEmail,
optIntype, optInVerification) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?)";
Connection connection  = null;
PreparedStatement prepStmt = null;

try {
connection = this.dataSource.getConnection();
prepStmt   = connection.prepareStatement (query);
long id= firstIdBlockNum;
int size   = a.size();

for (int i = 0; i < size; i++) {

StakeholderData data = (StakeholderData) a.get (i);
Timestamp timestamp  = JDBCHelper.getTimestamp();
id   = id++;

prepStmt.setLong  (1,  id);
prepStmt.setLong  (2,  data.companyId);
prepStmt.setString(3,  data.firstName);
prepStmt.setString(4,  data.lastName);
prepStmt.setString(5,  data.email);
prepStmt.setTimestamp (6,  timestamp);
prepStmt.setTimestamp (7,  timestamp);
prepStmt.setString(8,  data.createdBy);
prepStmt.setString(9,  data.mimeTypePreference);
prepStmt.setString(10, data.modifiedBy);
prepStmt.setString(11, data.source);
prepStmt.setBoolean   (12, data.neverContact);
prepStmt.setBoolean   (13, data.validEmail);
prepStmt.setInt   (14, data.optInType);
prepStmt.setInt   (15, data.optInVerification);

prepStmt.executeUpdate();
prepStmt.clearParameters();

Log.debug (this, "setCompanyStakeholders: " + data.email);
}

etc ???

I don't think it would be possible since I tried deploying this and got
the following back:

[Container factory] org.jboss.ejb.DeploymentException: CAMS not bound
[Container factory] at
org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.init(JawsApplicationMetaData.java:120)
[Container factory] at
org.jboss.ejb.plugins.jaws.metadata.JawsXmlFileLoader.load(JawsXmlFileLoader.java:75)
[Container factory] at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.(JDBCCommandFactory.java:133)
[Container factory] at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersistenceManager.java:83)
[Container factory] at
org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManager.java:110)
[Container factory] at
org.jboss.ejb.EntityContainer.init(EntityContainer.java:221)


Note that previous deployments always worked.

--
  Nicolai P Gubahttp://www.gnu.org http://www.frontwire.com
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708

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



RE: [JBoss-user] Classpath in Manifest file

2001-08-01 Thread Sternagel Annegret (PN-SYS/DAS)

If you put the home and remote interfaces of the beans into a jar into
jboss\lib\ext directory, you do not need to put hem into searchBean.jar (and
neither the new beanjar itself).

Annegret

> -Original Message-
> From: Rajesh Vilasrao Bhujbal [SMTP:[EMAIL PROTECTED]]
> Sent: Mittwoch, 1. August 2001 10:14
> To:   [EMAIL PROTECTED]
> Subject:  [JBoss-user] Classpath in Manifest file
> 
> Hi,
> I had created application which lists home and remote interface class of
> all deployed beans in Jboss. I had had used session bean named searchBean
> for this purpose. searchBean lists beans starting with JNDI name
> "interest/ ".
>  
> it gives correct result only if I add home and remotes interface of all
> beans in searchBean.jar file. I also tried Manifest file Class-Path
> option. If I write more than two jar files (e.g. Class-Path: one.jar
> two.jar three.jar (carriage return at end)), it will will not add those
> jar files at deployment time. why is it so?
>  
> I don't want to modify my searchBean.jar even if new beans are added to
> jboss. is there any other option to avoid copying home and remote
> interfaces of all beans in searchBean.jar ? 
>  
> Rajesh

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



[JBoss-user] JBOss Site down ???

2001-08-01 Thread Naresh Sharma

Hello Everybody,

any problem with JBoss site(www.jboss.org). it gives this message.

HTTP ERROR: 404 Not Found
Could not find resource for /
RequestURI=/


Naresh


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



Re: [JBoss-user] Unable to deregister with Transaction Manager

2001-08-01 Thread Hermann RANGAMANA

Hi Frederico,

I've faced exactly the same problem few days ago. I used BMP with postgreSQL
and jBoss on win2k. I was about to going insane before finding the solution

It is generally due to improperly unclosed connection. For example, if you
have code like this :

Connection conn  = dataSource.getConnection () ;
Statement state  = conn.createStatement () ;
.

// here, for an exception having been thrown or some other reason of
transaction  roolback, your connection was not properly closed ...

The next time the above code will be executed, it will throw the exception
you list below at executing an executeUpdate () or close () method on
respectively statement (or preparedstatement) and connection.

To avoid this, make sure statement, Resultset and connection are properly
closed after they were opened, whatever the issue of the operation is
(completion, rollback, sql error or exception, etc.)

Reguards.

--Hermann
- Original Message -
From: "Federico Vesco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 9:03 AM
Subject: [JBoss-user] Unable to deregister with Transaction Manager


> Hi.
> I'm developing a simple project with BMP and JSP.
> I encountered the following exception:
>
> [Activity] TRANSACTION ROLLBACK EXCEPTION:ejbCreate: Unable to deregister
> with TransactionManag
> er: java.lang.IllegalArgumentException: xaRes not enlisted; nested
exception
> is:
> javax.ejb.EJBException: ejbCreate: Unable to deregister with
> TransactionManager: java.l
> ang.IllegalArgumentException: xaRes not enlisted
> [Activity] javax.ejb.EJBException: ejbCreate: Unable to deregister with
> TransactionManager: jav
> a.lang.IllegalArgumentException: xaRes not enlisted
> [Activity]  at
com.jdp.ejb.ActivityBean.ejbCreate(ActivityBean.java:39)
> [Activity]  at java.lang.reflect.Method.invoke(Native Method)
> [Activity]  at
>
org.jboss.ejb.plugins.BMPPersistenceManager.createEntity(BMPPersistenceManag
> er.java:121)
> [Activity]  at
> org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:441)
> [Activity]  at java.lang.reflect.Method.invoke(Native Method)
> [Activity]  at
>
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine
> r.java:639)
> [Activity]  at
>
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySync
> hronizationInterceptor.java:160)
> [Activity]  at
>
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInt
> erceptor.java:87)
> [Activity]  at
>
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
> [Activity]  at
>
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
> java:263)
> [Activity]  at
>
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
> [Activity]  at
>
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav
> a:164)
> [Activity]  at
> org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
> [Activity]  at
> org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
> [Activity]  at
>
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContai
> nerInvoker.java:369)
> [Activity]  at java.lang.reflect.Method.invoke(Native Method)
> [Activity]  at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
> [Activity]  at sun.rmi.transport.Transport$1.run(Transport.java:152)
> [Activity]  at java.security.AccessController.doPrivileged(Native
> Method)
> [Activity]  at
> sun.rmi.transport.Transport.serviceCall(Transport.java:148)
> [Activity]  at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
> [Activity]  at
>
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
> 06)
> [Activity]  at java.lang.Thread.run(Thread.java:484)
>
> May you help me? Someone knows what this belongs to?
> Thank you
> Federico
>
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


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



Re: [JBoss-user] configuring Log4J

2001-08-01 Thread sheena sid

Thx for the replybut I'm new to Log4J and totally in the dark here. 
Could you tell me which are the properties that I need to change? Can I
then just execute as normal and presume the logging automatically takes
place at runtime? So where do I see the results etc?

Thanks again,
Sheena.

> - Original Message -
> From: "Scott M Stark" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-user] configuring Log4J
> Date: Wed, 1 Aug 2001 00:13:15 -0700
> Organization: JBoss Group
> Reply-To: [EMAIL PROTECTED]
> 
> Yes it is possible. How do you think a file based JDBC database like
> cloudscape
> accesses its data when accessed by an EJB? Its ok because it is
providing
> a transacted interface to the data via JDBC. If you don't need your
logging
> to
> be part of the bean transaction then log to a file using log4j. If you
do,
> then
> you would have to configure the log4j appenders to use JDBC or JMS and
> through app server resource managers.
> 


http://mail.indiainfo.com
First you had 10MB of free mail space.
Now you can send mails in your own language !!!

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



RE: [JBoss-user] JBoss and JDO

2001-08-01 Thread Vincent Harcq

Hi,
AFAIK, Sap announces the support of JCA through InQMy Resource Adapter.
Nothing about JDO.
I still don't see JDO as widely accepted and avoid to use it.

Are you talking about this product ?  Else can you point me which one ?  I
have looking for such a SAP RA for some time now and was always amazed by
the price of them.

Regards.
Vincent.

> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de Paul
> McLachlan
> Envoyé : mercredi 1 août 2001 6:47
> À : [EMAIL PROTECTED]
> Objet : RE: [JBoss-user] JBoss and JDO
>
>
> I have to integrate JBoss with SAP I have found an SAP resourceAdapter
> which seems to work and integrate with JBoss what would be great would
> be an SAP JDO compliant data store which integrates with JBoss,
>
> am I asking too much?
>
> Paul.
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 1 August 2001 12:18 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED];
> > [EMAIL PROTECTED]
> > Subject: Re: [JBoss-user] JBoss and JDO
> >
> >
> >
> > I wholeheartedly agree with this article. I am on a project where we
> > originally were using entity beans, but we switched to using
> > JDO because
> > they are much easier to program with a LOT less overhead.
> > Most of the time
> > developers end up writing dependent objects for entity beans
> > anyway, so why
> > not just program like that from the start? Actually, I
> > haven't seen any
> > situations where I would use entity beans over JDO (and would
> > love it if
> > someone could suggest why I would). All the hype over CMP 2.0
> > seems way
> > overdone considering JDO has provided relationships for a while.
> >
> > The good news is that JBoss does support JDO! It uses the
> > Castor plugin
> > (note Castor isn't a Sun-compatible JDO implementation, but it works
> > great). Check out http://www.jboss.org/jboss-castor.jsp.
> > Castor is easy to
> > use, and it integrates right into a J2EE server like JBoss
> > (for example, it
> > will use the resource manager and transaction attributes of the method
> > under which it is called).
> >
> > Alex
> >
> >
> >
> >
> >
> > "Paul McLachlan"
> >
> > <[EMAIL PROTECTED]>  To:
> >   <[EMAIL PROTECTED]>
> > Sent by:cc:
> >
> > [EMAIL PROTECTED]
> > Subject: [JBoss-user] JBoss and JDO
> >
> > eforge.net
> >
> >
> >
> >
> >
> > 07/31/2001 08:26 PM
> >
> > Please respond to jboss-user
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > This is an interesting discussion on the benefits and drawbacks on JDO
> > and ejb2.0
> >
> > I would be interested to know if JBoss will implement JDO.
> >
> > http://www.theserverside.com/discussion/thread.jsp?thread_id=771
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> >
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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



RE: [JBoss-user] JBOSS INTEREST EXAMPLE

2001-08-01 Thread Martin Welch
Title: RE: [JBoss-user] JBOSS INTEREST EXAMPLE





Where is your InterestServlet.class file?


-Original Message-
From: A.L. [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2001 17:20
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBOSS INTEREST EXAMPLE



I have finally tried to restart the whole process to
get the Interest Servlet to work. now I am getting the
following error when I try to calculate:
 Error: 500
Location: /interest/InterestServlet
Internal Servlet Error:


java.lang.NoClassDefFoundError:
org/jboss/docs/interest/Interest
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Unknown Source)
    .
    .
    .


I have a couple of questions.  The interestClient
class is running fine, and has the following line:
 Object ref  =
jndiContext.lookup("interest/Interest");


I have put the same line in the InterestServlet Class.
 Yet i am still getting an errors.  Any ideas why?


Also when I try to deploy the servlet Class with the
line   Object ref  =
jndiContext.lookup("java:comp/env/ejb/Interest");
it also doesn't work.


I meanwhile have jboss.xml,  jboss-web.xml, and
web.xml
.  These all seem to be configured properly.  I would
assume they would be anyways since I downloaded them
from the Jboss web site.



Finally.  Which file must go into the Jboss/deploy/
directory for the servlet to run.  Interest.EAR,
Interest.WAR, or Interest.JAR.  Do all of them go into
the deploy directory?


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


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





[JBoss-user] Classpath in Manifest file

2001-08-01 Thread Rajesh Vilasrao Bhujbal



Hi,
I had created 
application which lists home and remote interface class of all deployed beans in 
Jboss. I had had used session bean named searchBean  for this purpose. 
searchBean lists beans starting with JNDI name "interest/ 
".
 
it gives correct 
result only if I add home and remotes interface of all beans in searchBean.jar 
file. I also tried Manifest file Class-Path option. If I write more than two jar 
files (e.g. Class-Path: one.jar two.jar three.jar (carriage return at end)), it 
will will not add those jar files at deployment time. why is it 
so?
 
I don't want to 
modify my searchBean.jar even if new beans are added to jboss. is there any other option to avoid copying 
home and remote interfaces of all beans in searchBean.jar ? 

 
Rajesh


[JBoss-user] jbosspool usage with Castor and MySQL?

2001-08-01 Thread fabio rojas

I'm trying to use jbosspool as a standalone jdbc connection pool provider for Castor 
(castor.exolab.org) using a MySQL database.

i modified my castor database.xml as follows:


 
 
  
  


JDBCPoolDataSource (is for non-transactional pools).
Should i be using XAPoolDataSource in order to work with Castor, but this forces me to 
work with jndi.






iThugMail is a hardcore component of iThug.com
. . . . . http://www.ithug.com/ . . . . .

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



RE: [JBoss-user] What means javax.naming.CommunicationException?

2001-08-01 Thread Sternagel Annegret (PN-SYS/DAS)

That means, that the class in the clients classpath is not the same version
as the class in jboss classpath.
Make sure that the jboss-jars in the client classpath are from the jboss
version you are running.

Annegret

> -Original Message-
> From: Andrew [SMTP:[EMAIL PROTECTED]]
> Sent: Dienstag, 31. Juli 2001 20:08
> To:   [EMAIL PROTECTED]
> Subject:  [JBoss-user] What means javax.naming.CommunicationException?
> 
> Hi, when I looukup Home interface I've got following exception:
>  
> javax.naming.CommunicationException.  Root exception is
> java.io.InvalidClassException:
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy; Local class not
> compatible: stream classdesc serialVersionUID=6136307389075444997 local
> class serialVersionUID=432426690456622923
>  at
> java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:523)
>  at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:567)
>  at
> java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:936)
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
>  at
> java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:940)
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
>  at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
>  at
> java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
>  at
> java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
>  at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
>  at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
>  at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
>  at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
>  at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
>  at javax.naming.InitialContext.lookup(InitialContext.java:350)
>  at c.main(c.java:7)
> Exception in thread "main"
>  
> What does it means?

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