[JBoss-user] URGENT-Lifecycle of the property file

2002-08-12 Thread Preeti Sood

In the application I am working on the need is to have a propertyfile for
various configurable parameters.
How can I ensure the life cycle of this file.
If I put it in the server/default/conf folder the is it always available

Regards,
Preeti





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



[JBoss-user] JBoss 3.0.x and PostgresDS

2002-08-12 Thread Allan Kamau

I have successfully configured and deployed the
PostgresDS on JBoss-3.0.0 now I seem to be stuck in
getting JBoss use PostgresDS as CMP of my EJBs in
place of the DefaultDS.
What additional configurations are required (is
jboss.xml used in JBoss-3.0.x for the same?)

Allan.


__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com


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



RE: [JBoss-user] URGENT-Lifecycle of the property file

2002-08-12 Thread Sacha Labourey

Hello,

why don't you put it in the JAR/WAR/EAR of your application? It will always
be part of your classpath and you will be able to cycle it with your
application.

Cheera,

Sacha

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Preeti Sood
 Envoye : lundi, 12 aout 2002 09:33
 A : [EMAIL PROTECTED]
 Objet : [JBoss-user] URGENT-Lifecycle of the property file


 In the application I am working on the need is to have a propertyfile for
 various configurable parameters.
 How can I ensure the life cycle of this file.
 If I put it in the server/default/conf folder the is it always
 available

 Regards,
 Preeti





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




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



[JBoss-user] Swing to Session Bean

2002-08-12 Thread Arijit Ghosh

Hi,

I would like to use a swing component as my client which will be
accessing the stateless session beans. Any pointers for this ? What
should be the design strategy as I want to use the swing component for
the presentation layer only and would like to do the lookup in some
interface between swing and session bean. What is the correct method ?

Thanks in advance.

Regards,
  Arijit



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



Re: [JBoss-user] JBoss/Tomcat Question

2002-08-12 Thread jboss-user

You can easily migrate fom 3.0. Just copy catalina dir from 3.0 into
3.0.1 and remove jbossweb.sar directory from deploy and copy
tomcat4-service.* from 3.0 deploy into 3.0.1 deploy dir. Should
work...:) Martin Vanek
 Is there going to be a release of
 JBoss-3.0.1Final/Tomcat-4.0.3 ?

 Greg



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



[JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Michael Mattox

I installed the EASIE Jboss plugin for Eclipse and that is working
properly (I can start and stop Jboss with the menu).  Now I'm having
trouble configuring my project for Jboss.  I'm not sure how to organize
the directory structure.  If someone using Jboss with Eclipse can tell
me how they organized their project that would be a great help.

Thanks
Michael



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



[JBoss-user] Receive timed out

2002-08-12 Thread Daniel.Santos.Ext_Pararede

Hello !

I have a simple session bean. Also have a client that calls a method on the session 
bean. The initial context is obtained, but when I go get the home interface the 
following exception is thrown to the client :

javax.naming.CommunicationException: Receive timed out.  Root exception is java.
net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:670)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:91
9)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:997)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:436)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
at javax.naming.InitialContext.lookup(InitialContext.java:347)


I have JBoss 3.0.0 and the client on the same machine both with jdk1.4.0.

Many thanks



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



RE: [JBoss-user] Receive timed out

2002-08-12 Thread Sacha Labourey

you need to set correctly your jndi settings in jndi.properties for the
*client* (it must be on the client classpath).

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de
 [EMAIL PROTECTED]
 Envoyé : lundi, 12 août 2002 12:16
 À : [EMAIL PROTECTED]
 Objet : [JBoss-user] Receive timed out


 Hello !

 I have a simple session bean. Also have a client that calls a
 method on the session bean. The initial context is obtained, but
 when I go get the home interface the following exception is
 thrown to the client :

 javax.naming.CommunicationException: Receive timed out.  Root
 exception is java.
 net.SocketTimeoutException: Receive timed out
 at java.net.PlainDatagramSocketImpl.receive(Native Method)
 at java.net.DatagramSocket.receive(DatagramSocket.java:670)
 at
 org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:91
 9)
 at
 org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:997)
 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:436)
 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
 at javax.naming.InitialContext.lookup(InitialContext.java:347)


 I have JBoss 3.0.0 and the client on the same machine both with jdk1.4.0.

 Many thanks



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




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



Re: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Jonathan . O'Connor

Michael,
I'm not sure if I can help, but here's what we do with JBoss and Eclipse.
We have our own ANT build script which can run outside of all IDEs. We set up an external run command to run this script for a full build.
It has its own dirctory structure with build directories for any generated files including XDOCLET generated code.

We point the eclipse project settings to our source directory and the src-gen directory created by our build script.
When we do a full build, Eclipse will recompile all sources into its own build directory, and all those errors and warnings are generated at the point.

I don't bother with EASIE JBoss plug in, but I don't think that's relevant to your question.
Ciao,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612

[JBoss-user] JBoss-3.0.1 Stopping Axis fails

2002-08-12 Thread Maris Orbidans


I have noticed this in JBoss 3.0.0 as well.

Configuration all.

Maris Orbidans


14:51:47,201 ERROR [AxisService] Stopping failed
java.lang.NullPointerException
at 
org.jboss.deployment.SubDeployerSupport.stopService(SubDeployerSupport.java:110
)
at org.jboss.net.axis.server.AxisService.stopService(AxisService.java:377)
at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:198)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatche
r.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:9
67)
at $Proxy6.stop(Unknown Source)
at org.jboss.system.ServiceController.stop(ServiceController.java:474)
at org.jboss.system.ServiceController.stop(ServiceController.java:466)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatche
r.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.stop(Unknown Source)
at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:516)
at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:469)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:443)
at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:331)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatche
r.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at 
org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.
java:717)
at 
org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:700)
at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:688)
14:51:47,201 ERROR [SARDeployer] Could not stop mbean: jboss.web:service=JBossWeb
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:535)



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



Re: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Holger Baxmann

hi all,

is anybody on the way or simply interested in having eclipse running
inside the jboss as an mbean ?

thanks
bax
- Original Message -
From: Michael Mattox [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 12:00 PM
Subject: [JBoss-user] Directory structure for using Jboss with Eclipse


 I installed the EASIE Jboss plugin for Eclipse and that is working
 properly (I can start and stop Jboss with the menu).  Now I'm having
 trouble configuring my project for Jboss.  I'm not sure how to
organize
 the directory structure.  If someone using Jboss with Eclipse can tell
 me how they organized their project that would be a great help.

 Thanks
 Michael



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



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



RE : [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Michael Mattox
Title: Message



What 
I'm wanting to do is have eclipse compile the files to a place where JBoss will 
be looking for them, so they will be deployed automatically. This is how 
people say they use the hotswapping debugging features but I have no idea how 
this is actually set up. I'm trying to make the switch from JBuilder to 
Eclipse.



  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] On Behalf Of 
  Jonathan.O'[EMAIL PROTECTED]Sent: Monday, August 12, 2002 12:59 
  PMTo: [EMAIL PROTECTED]Subject: Re: 
  [JBoss-user] Directory structure for using Jboss with 
  EclipseMichael, 
  I'm not sure if I can help, but here's what 
  we do with JBoss and Eclipse. We have 
  our own ANT build script which can run outside of all IDEs. We set up an 
  external run command to run this script for a full build. It has its own dirctory structure with build 
  directories for any generated files including XDOCLET generated code. 
  We point the eclipse project settings to 
  our source directory and the src-gen directory created by our build 
  script. When we do a full build, 
  Eclipse will recompile all sources into its own build directory, and all those 
  errors and warnings are generated at the point. I don't bother with EASIE JBoss plug in, but I don't 
  think that's relevant to your question.Ciao,Jonathan O'ConnorPh: 
  +353 1 872 3305Mob: +353 86 824 9736Fax: +353 1 873 
3612


[JBoss-user] Oracle sequence with CMP

2002-08-12 Thread Anthony Geoghegan

Is there anyway of using an Oracle sequence with CMP in JBOSS 3.0.1?
Any indication I have is that you must use BMP
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.


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



[JBoss-user] How to ensure that Singleton class is not garbage collector

2002-08-12 Thread Saroj Kumar

Hi All,

I was just wondering under what circumstances a Singleton class is
garbage collected in JBOSS. How do we prevent it?

JDK1.2 + -- A class loaded by local/system classloader is not garbage
collected untill all the classes loaded by this classloader are
dereferenced.

How do we achieve this in JBOSS? Does it mean that all classes should be
part of 1 jar? I would like to have a jar which is having the class file
and classes in other jars to access it.

Any help is more than welcome.

TIA,
Saroj



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



[JBoss-user] How to deploy Mbean in JBOSS 3

2002-08-12 Thread Saroj Kumar

Hi All,

Pls. explain the process of deploying Mbean in JBOSS3. It does not have
any jboss.jcml in this version.

TIA,
Saroj



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



RE: [JBoss-user] Swing to Session Bean

2002-08-12 Thread Saroj Kumar

Use EJBHomeFactory pattern

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Arijit
Ghosh
Sent: Monday, August 12, 2002 1:21 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Swing to Session Bean


Hi,

I would like to use a swing component as my client which will be
accessing the stateless session beans. Any pointers for this ? What
should be the design strategy as I want to use the swing component for
the presentation layer only and would like to do the lookup in some
interface between swing and session bean. What is the correct method ?

Thanks in advance.

Regards,
  Arijit



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



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



RE: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Matt Munz

bax,

  I'm curious.  How do you plan to use Eclipse-embedded-in-jboss?

  - Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Holger
Baxmann
Sent: Monday, August 12, 2002 8:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Directory structure for using Jboss with
Eclipse


hi all,

is anybody on the way or simply interested in having eclipse running
inside the jboss as an mbean ?

thanks
bax
- Original Message -
From: Michael Mattox [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 12:00 PM
Subject: [JBoss-user] Directory structure for using Jboss with Eclipse


 I installed the EASIE Jboss plugin for Eclipse and that is working
 properly (I can start and stop Jboss with the menu).  Now I'm having
 trouble configuring my project for Jboss.  I'm not sure how to
organize
 the directory structure.  If someone using Jboss with Eclipse can tell
 me how they organized their project that would be a great help.

 Thanks
 Michael



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



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


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



Re: [JBoss-user] Oracle sequence with CMP

2002-08-12 Thread Holger Baxmann

the bmp choice is select mysequence.next from dual; for oracle and in
the case of cmp the entitypersistancemanager will compute the pk.

but have a look at:

GUIDs without Singletons and Databases
http://www.theserverside.com/patterns/thread.jsp?thread_id=4976

and

CMP Primary Key Sequence Generated By Bean Self Cache
http://www.theserverside.com/patterns/thread.jsp?thread_id=5285

beware of using instance specific uid generation in a clustered
environment 

you will definetly running into inconsistence if the cluster instances
are connected into the cluster via a 'clustering backbone network' which
is out of order and they have a living database connection via the
'database backbone network' and are still up and running. so every
instance will work on its own and generate probably the same primary
keys, because they do not know about each other. the safe way is the
database roundtrip via sequence or trigger. there are serveral
strategies to reserve a bulk of pk's in one transaction and use them
subsequently - the highbyte-lowbyte pk approach to prevent database
roundtrips.

hth
bax


- Original Message -
From: Anthony Geoghegan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 3:26 PM
Subject: [JBoss-user] Oracle sequence with CMP


 Is there anyway of using an Oracle sequence with CMP in JBOSS 3.0.1?
 Any indication I have is that you must use BMP
 Best Regards,
 Anthony Geoghegan.
 J2EE Developer
 CPS Ireland Ltd.


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



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



Re: [JBoss-user] ClusteredHttpSession Question

2002-08-12 Thread Jules Gosnell

I didn't write the jbossha-httpsession stuff (Sacha/Bill did). So I 
cannot be sure that this is implemented, but I would be very surprised 
if not.

If you bounce a node, it should rejoin it's group and then sync it's 
entire state from another member of that group.

3.0.1 also contains a CMPStore, which does not suffer from this problem. 
It requires the CMPState Bean to be deployed 
(docs/examples/jbossweb/jbossweb-ejb.jar).

An example interceptor stack is given in 
docs/examples/jbossweb/jetty-web.xml.

If you point all nodes at the same DB and remove the remove-table tags 
from jbossweb-ejb.jar's jbosscmp-jdbc.xml, you should have no trouble 
retaining state, even if you take the whole cluster down.

The EJB approach is not as fast as the JavaGroups one (or scalable) - so 
I can understand your wanting the JG stuff. I will look at the 
jbossha-httpsession as soon as I have time.

I am also about to checkin a new release of Jetty and a new, 
fine-grained JG implementation which definitely DOES refresh state in 
bounced nodes, and distributes CHANGES to sessions, rather than the 
WHOLE session each time (so should be faster). When this is in, I shall 
release a new jbossweb.sar at Jetty SourceForge and ping you.


Jules



Greg Turner wrote:
 Shouldn't this work?
 
 I am running JBoss 3.0.1final, all configuration
 
 I have jbossha-httpsession.sar in deploy directory.
 
 My jetty-web.xml has EXTENDED Clustering turned on.
 
 I startup 2 instances of JBoss; there are memebershipChanged messages
 from ReplicantManager
 
 I deploy a war on one instance with a servlet that gets an Integer from
 session, display it, adds 1, puts it back into session
 
 Browsing the servlet works fine.
 
 When I take the instance with the war down, shouldn't the session info
 be replcated to the other instance so that when I bring it back up, it
 gets Integer from session?   The servlet gets null from session and
 starts count over.
 
 Greg
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user





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



Re: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Holger Baxmann

if we have eclipse as an mbean then we will have the ucl above the whole
eclipse infrastructure, the whole webos jmx infrasturcture [and not the
ugly win's, X's with their ugly filesystems] as a support for the
eclipse and all the plugins, jndi federated namespaces - and last, but
not least: a frontend framework _inside_ the webos :)

just doing that

bax
- Original Message -
From: Matt Munz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 4:49 PM
Subject: RE: [JBoss-user] Directory structure for using Jboss with
Eclipse


 bax,

   I'm curious.  How do you plan to use Eclipse-embedded-in-jboss?

   - Matt

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Holger
 Baxmann
 Sent: Monday, August 12, 2002 8:26 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Directory structure for using Jboss with
 Eclipse


 hi all,

 is anybody on the way or simply interested in having eclipse running
 inside the jboss as an mbean ?

 thanks
 bax
 - Original Message -
 From: Michael Mattox [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 12, 2002 12:00 PM
 Subject: [JBoss-user] Directory structure for using Jboss with Eclipse


  I installed the EASIE Jboss plugin for Eclipse and that is working
  properly (I can start and stop Jboss with the menu).  Now I'm having
  trouble configuring my project for Jboss.  I'm not sure how to
 organize
  the directory structure.  If someone using Jboss with Eclipse can
tell
  me how they organized their project that would be a great help.
 
  Thanks
  Michael
 
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user



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


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



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



Re: [JBoss-user] How to deploy Mbean in JBOSS 3

2002-08-12 Thread Holger Baxmann

 Pls. explain the process of deploying Mbean in JBOSS3. It does not
have
 any jboss.jcml in this version.


pls. explain why do you not read the getting started guide at

http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.Draft3.pdf?
download
and
http://prdownloads.sourceforge.net/jboss/JBoss.3.0TemplateAndExamples.zi
p?download

IKTH
bax
 TIA,
 Saroj



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



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



Re: [JBoss-user] JBoss/Tomcat Question

2002-08-12 Thread Greg Turner


I believe this is a necessary but insufficient condition for running clustered
http sessions. I mean, you have to also tell the tomcat specific
code to hook into the JBoss clustering code because it is tomcat code that
implements the servlet API.
scott ditzenberger wrote:
Greg,
I think you need to run {jboss_dist}/server/all instead of {jboss_dist}/server/default.
SD
Greg Turner<[EMAIL PROTECTED]>wrote:
OK.
so my next question is how do I turn on clustered http sessions for
JBoss/Tomcat combo?
Pavel Kolesnikov wrote:
> On Sun, 11 Aug 2002, Greg Turner wrote:
>
> > Is there going to be a release of JBoss-3.0.1Final/Tomcat-4.0.3
?
>
> Until it's released try to remove deploy/jbossweb.sar and copy all
> tomcat related files (jboss/catalina and
> jboss/server/default/deploy/tomcat*xml) from older release
> of JBoss-3.*/Tomcat to appropriate places under jboss-3.0.1
> root dir.
>
> I haven't tried it with JBoss-3.0.1 final, but it worked for
> me with 3.0.1RC1 and tomcat from jboss-3.0.0/tomcat - so I guess
> it could work with 3.0.1 final too. :-)
>
> Pavel
>
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
--
Greg Turner, JBoss Authorized Consultant
Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-332-3363



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


Do You Yahoo!?
HotJobs,
a Yahoo! service - Search Thousands of New Jobs

--
Greg Turner, JBoss Authorized Consultant
Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-332-3363



RE: [JBoss-user] JBoss 3.0.x and PostgresDS

2002-08-12 Thread Saroj Kumar

In jbosscmp-jdbc file ,

Do it like (For ORACLE):

datasourcejava:/OracleDS/datasource
datasource-mappingOracle8/datasource-mapping



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Allan Kamau
Sent: Monday, August 12, 2002 1:11 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JBoss 3.0.x and PostgresDS


I have successfully configured and deployed the
PostgresDS on JBoss-3.0.0 now I seem to be stuck in
getting JBoss use PostgresDS as CMP of my EJBs in
place of the DefaultDS.
What additional configurations are required (is
jboss.xml used in JBoss-3.0.x for the same?)

Allan.


__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com


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



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



Re: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Greg Turner

Holger,

I am very interested in unusual uses for JBoss, so please do keep us
informed of your progress on this project.  I think you have a good concept.

Holger Baxmann wrote:

 if we have eclipse as an mbean then we will have the ucl above the whole
 eclipse infrastructure, the whole webos jmx infrasturcture [and not the
 ugly win's, X's with their ugly filesystems] as a support for the
 eclipse and all the plugins, jndi federated namespaces - and last, but
 not least: a frontend framework _inside_ the webos :)

 just doing that

 bax
 - Original Message -
 From: Matt Munz [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 12, 2002 4:49 PM
 Subject: RE: [JBoss-user] Directory structure for using Jboss with
 Eclipse

  bax,
 
I'm curious.  How do you plan to use Eclipse-embedded-in-jboss?
 
- Matt
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Holger
  Baxmann
  Sent: Monday, August 12, 2002 8:26 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Directory structure for using Jboss with
  Eclipse
 
 
  hi all,
 
  is anybody on the way or simply interested in having eclipse running
  inside the jboss as an mbean ?
 
  thanks
  bax
  - Original Message -
  From: Michael Mattox [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, August 12, 2002 12:00 PM
  Subject: [JBoss-user] Directory structure for using Jboss with Eclipse
 
 
   I installed the EASIE Jboss plugin for Eclipse and that is working
   properly (I can start and stop Jboss with the menu).  Now I'm having
   trouble configuring my project for Jboss.  I'm not sure how to
  organize
   the directory structure.  If someone using Jboss with Eclipse can
 tell
   me how they organized their project that would be a great help.
  
   Thanks
   Michael
  
  
  
   ---
   This sf.net email is sponsored by:ThinkGeek
   Welcome to geek heaven.
   http://thinkgeek.com/sf
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user

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

--
Greg Turner, JBoss Authorized Consultant

Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-332-3363




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



Re: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Francisco Andrades

Hi, for development I use uncompressed wars inside the server/default/deploy
directory. Any servlet/JSP/EJB should run exactly the same in JBoss within
eclipse as it runs outside.

Francisco Andrades
www.NextJ.com

 - Original Message -
 From: Michael Mattox [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 12, 2002 12:00 PM
 Subject: [JBoss-user] Directory structure for using Jboss with Eclipse


  I installed the EASIE Jboss plugin for Eclipse and that is working
  properly (I can start and stop Jboss with the menu).  Now I'm having
  trouble configuring my project for Jboss.  I'm not sure how to
 organize
  the directory structure.  If someone using Jboss with Eclipse can tell
  me how they organized their project that would be a great help.
 
  Thanks
  Michael
 
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user



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


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




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



Re: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Marius Kotsbak

I'm using eclipse developing EJBs for jboss without problems. Just do it
as in whatever other IDE, using a src-directory.

Debugging EJBs is also no problem with the EASIE-plugin. Just set the
breakpoints on in the code,that is compiled (with ant) and deployed on
the jboss you have specified to EASIE, and then run your beans, and it
stops on the breakpoints.

On Mon, 2002-08-12 at 17:03, Holger Baxmann wrote:
 if we have eclipse as an mbean then we will have the ucl above the whole
 eclipse infrastructure, the whole webos jmx infrasturcture [and not the
 ugly win's, X's with their ugly filesystems] as a support for the
 eclipse and all the plugins, jndi federated namespaces - and last, but
 not least: a frontend framework _inside_ the webos :)
 
 just doing that
 
 bax
 - Original Message -
 From: Matt Munz [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 12, 2002 4:49 PM
 Subject: RE: [JBoss-user] Directory structure for using Jboss with
 Eclipse
 
 
  bax,
 
I'm curious.  How do you plan to use Eclipse-embedded-in-jboss?
 
- Matt
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Holger
  Baxmann
  Sent: Monday, August 12, 2002 8:26 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Directory structure for using Jboss with
  Eclipse
 
 
  hi all,
 
  is anybody on the way or simply interested in having eclipse running
  inside the jboss as an mbean ?
 
  thanks
  bax
  - Original Message -
  From: Michael Mattox [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, August 12, 2002 12:00 PM
  Subject: [JBoss-user] Directory structure for using Jboss with Eclipse
 
 
   I installed the EASIE Jboss plugin for Eclipse and that is working
   properly (I can start and stop Jboss with the menu).  Now I'm having
   trouble configuring my project for Jboss.  I'm not sure how to
  organize
   the directory structure.  If someone using Jboss with Eclipse can
 tell
   me how they organized their project that would be a great help.
  
   Thanks
   Michael
  
  
  
   ---
   This sf.net email is sponsored by:ThinkGeek
   Welcome to geek heaven.
   http://thinkgeek.com/sf
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
Marius Kotsbak
Boost Communications A/S
Trondheim, Norway



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



AW: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Stefan Groschupf

just doing that
So far your nickname at the eclipse news server is not Joel, you are not
alone..
See Plugin ClassLoader Bug?

stefan





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



Re: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Holger Baxmann

hi greg,

thank you for the flowers [do not know if it has the same meaning in
english, ask dr. jung for details :].

i'll keep the community infomed - we have an actually project that needs
exactly this ...

... but only in conjunction with a mature security and identity
infrastructure - especially the anonymous identity.

bax
- Original Message -
From: Greg Turner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 5:27 PM
Subject: Re: [JBoss-user] Directory structure for using Jboss with
Eclipse


 Holger,

 I am very interested in unusual uses for JBoss, so please do keep us
 informed of your progress on this project.  I think you have a good
concept.

 Holger Baxmann wrote:

  if we have eclipse as an mbean then we will have the ucl above the
whole
  eclipse infrastructure, the whole webos jmx infrasturcture [and not
the
  ugly win's, X's with their ugly filesystems] as a support for the
  eclipse and all the plugins, jndi federated namespaces - and last,
but
  not least: a frontend framework _inside_ the webos :)
 
  just doing that
 
  bax
  - Original Message -
  From: Matt Munz [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, August 12, 2002 4:49 PM
  Subject: RE: [JBoss-user] Directory structure for using Jboss with
  Eclipse
 
   bax,
  
 I'm curious.  How do you plan to use Eclipse-embedded-in-jboss?
  
 - Matt
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Holger
   Baxmann
   Sent: Monday, August 12, 2002 8:26 AM
   To: [EMAIL PROTECTED]
   Subject: Re: [JBoss-user] Directory structure for using Jboss with
   Eclipse
  
  
   hi all,
  
   is anybody on the way or simply interested in having eclipse
running
   inside the jboss as an mbean ?
  
   thanks
   bax
   - Original Message -
   From: Michael Mattox [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Monday, August 12, 2002 12:00 PM
   Subject: [JBoss-user] Directory structure for using Jboss with
Eclipse
  
  
I installed the EASIE Jboss plugin for Eclipse and that is
working
properly (I can start and stop Jboss with the menu).  Now I'm
having
trouble configuring my project for Jboss.  I'm not sure how to
   organize
the directory structure.  If someone using Jboss with Eclipse
can
  tell
me how they organized their project that would be a great help.
   
Thanks
Michael
   
   
   
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
  
   ---
   This sf.net email is sponsored by:ThinkGeek
   Welcome to geek heaven.
   http://thinkgeek.com/sf
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
   ---
   This sf.net email is sponsored by:ThinkGeek
   Welcome to geek heaven.
   http://thinkgeek.com/sf
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user

 --
 Greg Turner, JBoss Authorized Consultant

 Tiburon Enterprise Systems
 http://www.tiburon-e-systems.com
 Box 1171
 Tiburon, CA 94920
 415-332-3363




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



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



RE: [JBoss-user] Anyone using JBoss 3 for Swing apps?

2002-08-12 Thread Saroj Kumar
Title: Message



Hi 
Greg,

Pls. 
excuse this post off the list.

I went 
to your site and saw that there is a demo for use of MBEAN to store config 
vars.

I 
would like to see the source files but i could not download 
them.

I 
would be greatful if you could send me those files.

Thanks,
Saroj


-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of Greg 
TurnerSent: Monday, August 05, 2002 10:05 AMTo: 
[EMAIL PROTECTED]Subject: Re: [JBoss-user] Anyone 
using JBoss 3 for Swing apps?It makes a huge amount of 
sense. I have been using a very simple swing based, jmx based app in my 
presentations about JBoss to illustrate the super server possibilities of 
JBoss. For a demo, point your deployer at http://www.tiburon-e-systems.com/nl20020801/JBossMonitor.sar 

Greg  
James Higginbotham wrote: 
Hi!As I read the architecture docs for JBoss 3 some time 
  ago, I started thinking how interesting it would be to use the core JBoss 
  kernel to develop Swing-based applications. No, not using Swing to talk to 
  JBoss, but rather as a platform for developing a Swing framework that was 
  based on using MBeans to extend its functionality. Think of the next logical 
  step in the desktop application - built-in JMX, component-based, with services 
  often needed by desktop applications available as MBeans. No more retrofitting 
  someone's custom framework.. Built in support for web services on the desktop 
  by adding in a web service MBean (container). I'm sure this isn't anything 
  new, but I haven't seen anything on the lists about any initiatives around 
  this yet. Is someone doing this already? Does this make sense? Or, have I just 
  had too much coffee this morning? I seem to recall someone saying something 
  about using JXTA with JBoss, but I'm not sure which tier they were planning on 
  using this for.Thoughts?!James
-- Greg Turner, JBoss Authorized Consultant 
Tiburon Enterprise Systems http://www.tiburon-e-systems.com 
Box 1171 Tiburon, CA 94920 415-332-3363  



RE : [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Michael Mattox

 Hi, for development I use uncompressed wars inside the 
 server/default/deploy directory. Any servlet/JSP/EJB should 
 run exactly the same in JBoss within eclipse as it runs outside.

But how do you partition your code?  Or do you use ANT to deploy?  I'm
hoping to do it without ANT so I can use the hot swapping and debugging.
The problem is EJB code goes into a different directory than servlet
code and the two often overlap!




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



RE: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Matt Munz

bax,

Some of the functionality you propose interests me.  Could you clarify the
following?

if we have eclipse as an mbean then we will have the ucl above the whole
eclipse infrastructure,

By this do you mean Universal Class Loader?  What is the main gain in
functionality here?  Is the purpose of this just to reuse code, so that
JBoss and Eclipse use the same classloader object, or is there something
more to this?

 the whole webos jmx infrasturcture [and not the
ugly win's, X's with their ugly filesystems] as a support for the
eclipse and all the plugins,

Are you thinking of reworking Eclipse so that all plugins are MBeans?

jndi federated namespaces - and last, but

Could you elaborate on how this would benefit eclipse?

not least: a frontend framework _inside_ the webos :)

This, I suppose, is the main goal -- I assume for local administration
purposes?

just doing that

You have quite a lot here.  It of course can be compared with an alternate
approach that makes Eclipse a client to JBoss services (say for use as a
management tool using the JMX API, or as an EJB client).

Please excuse my many questions.  As you can tell, I'm interested in both
JBoss and Eclipse, but don't know yet how to use them together in the most
effective way.  Since your suggestion is unusual, I'm interested in fleshing
out some of the details.

  - Matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Holger
Baxmann
Sent: Monday, August 12, 2002 11:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Directory structure for using Jboss with
Eclipse


if we have eclipse as an mbean then we will have the ucl above the whole
eclipse infrastructure, the whole webos jmx infrasturcture [and not the
ugly win's, X's with their ugly filesystems] as a support for the
eclipse and all the plugins, jndi federated namespaces - and last, but
not least: a frontend framework _inside_ the webos :)

just doing that

bax
- Original Message -
From: Matt Munz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 4:49 PM
Subject: RE: [JBoss-user] Directory structure for using Jboss with
Eclipse


 bax,

   I'm curious.  How do you plan to use Eclipse-embedded-in-jboss?

   - Matt

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Holger
 Baxmann
 Sent: Monday, August 12, 2002 8:26 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Directory structure for using Jboss with
 Eclipse


 hi all,

 is anybody on the way or simply interested in having eclipse running
 inside the jboss as an mbean ?

 thanks
 bax
 - Original Message -
 From: Michael Mattox [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 12, 2002 12:00 PM
 Subject: [JBoss-user] Directory structure for using Jboss with Eclipse


  I installed the EASIE Jboss plugin for Eclipse and that is working
  properly (I can start and stop Jboss with the menu).  Now I'm having
  trouble configuring my project for Jboss.  I'm not sure how to
 organize
  the directory structure.  If someone using Jboss with Eclipse can
tell
  me how they organized their project that would be a great help.
 
  Thanks
  Michael
 
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user



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


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



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



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



Re: RE : [JBoss-user] Directory structure for using Jboss withEclipse

2002-08-12 Thread Marius Kotsbak

On Mon, 2002-08-12 at 18:10, Michael Mattox wrote:
  Hi, for development I use uncompressed wars inside the 
  server/default/deploy directory. Any servlet/JSP/EJB should 
  run exactly the same in JBoss within eclipse as it runs outside.
 
 But how do you partition your code?  Or do you use ANT to deploy?  I'm
 hoping to do it without ANT so I can use the hot swapping and debugging.
 The problem is EJB code goes into a different directory than servlet
 code and the two often overlap!
I debug with ANT-made jars. Just remember to rebuild the jar when
changing the code, so you get the right code and line numbers i eclipse.
Hot swapping might not work this way though. I have only used it with
swing-client code / junit code, and in that (client-)part, hot swapping
works.

 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
Marius Kotsbak
Boost Communications A/S
Trondheim, Norway



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



[JBoss-user] JBoss 3.0.1 + Tomcat Release?

2002-08-12 Thread Luttrell, Peter



Is there going to be a 
JBoss3.0.1 + Tomcatbuild posted to sourceforge and 
jboss.org?

In the past the tomcat 
integration builds have been posted about a day after the jetty releases, but 
not in this case. Does this represent a change in direction for tomcat 
releases?

There is another thread on 
this, but it's diverged from the original question which no one 
answered.

I do know that I can manually 
integrate it (instructions were on the other thread).

thanks.
.peter




**PLEASE NOTE: EFFECTIVE SEPTEMBER 2, 2002, OUR NEW ADDRESS WILL BE 3600 SOUTH LAKE DRIVE, ST. FRANCIS, WI 53235 AND OUR NEW MAIN PHONE NUMBER WILL BE 414.294.7000** 


This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure.  If you are not the intended recipient, please contact the sender and delete all copies of this transmission.  This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments.  The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete.  Any opinions or estimates contained in  this information constitute our judgment as of this date and are subject to change without notice.  Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us.


Re: RE : [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Igor Fedorenko

Michael Mattox wrote:
  Hi, for development I use uncompressed wars inside the
  server/default/deploy directory. Any servlet/JSP/EJB should run
  exactly the same in JBoss within eclipse as it runs outside.
 
 
  But how do you partition your code?  Or do you use ANT to deploy?
  I'm hoping to do it without ANT so I can use the hot swapping and
  debugging. The problem is EJB code goes into a different directory
  than servlet code and the two often overlap!

Some time ago I wrote eclipse deployer for jboss 3.0 that deploys ejbs 
and required libraries from directroty dructure maintained by eclipse. I 
did not try it with jsps (I do not write them ;-) but it should be 
doable with little effort.

So here is as example eclipse projects structure

required-library
- bin
- src
super-ejb
- bin
- src
   - META-INF

required-library is a plain java project that provides support classes 
used by ejbs, there is nothing special about this project. super-ejb 
is a little bit more interesting. As you can see, it has META-INF 
directory with all necessary deployment descriptors; because META-INF is 
uder source directory eclipse automatically copies this directory to the 
output thus making bin directory look like expanded ejb jar file. 
super-ejb also needs project required-library to compile and run.

Eclipse deployer knows about dependencies between projects and about 
project's required libraries so you can deploy super-ejb and the 
deployer will figure out all its dependencies and deploy them as well.

In fact, if super-ejb did not depend on required-library I could deploy 
it into jboss without any additional effort (well, bin needed to be 
renamed into bin.jar).

-- 
Igor Fedorenko
Think smart. Think automated. Think Dynamics.
www.thinkdynamics.com



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re[2]: [JBoss-user] SAR deployement

2002-08-12 Thread Alex Loubyansky

Hello Burkhard and all,

BV Hmmm,
BV For a start put the mysql jar from the META-INF dir to the root dir of the
BV sar...

Sorry, I wrongly pictured the ear's structure. Here is the correct one.
dbdrvsar.ear:
META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
META-INF/jboss-app.xml
dbdrvsar-web.war
dbdrvsar.sar
dbdrvsar-ejb.jar

dbdrvsar.sar:
META-INF/
META-INF/MANIFEST.MF
META-INF/jboss-service.xml
mm.mysql-2.0.6.jar

jboss-app.xml
jboss-app
   loader-repositoryorg.leisi:loader=dbdrvsar.ear/loader-repository
   module
  servicedbdrvsar.sar/service
   /module
/jboss-app

Successful attempts:
- driver's jar in the lib and driver's -service.xml in the deploy;
- separated sar with driver's jar and -service.xml deployed fine and
then the ear deployed fine with removed jboss-app.xml and
dbdrvsar.sar.

JBoss version is 3.0.2RC1.

Any suggestions? TIA,

alex




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] More problems

2002-08-12 Thread Nir Oren

Hi...

I managed to solve my problem with the xdoclet tags, but am now facing
further obstacles:

The database seems to have been created as appropriate, but when I try to
set a unidirectional field, it appears not to get updated in the db. The
following code extract illustrates this:

  /** @ejb:relation name=TargetState-Transition-Relation
*   role-name=transition-target
*   target-role-name=target-state-for-this-transition
*   target-ejb=State
*   target-multiple=yes
*  @ejb:interface-method view-type=local
*  @jboss:relation related-pk-field=stateID fk-column=targetstate
*/
   public abstract StateLocal getTargetState();

   /**@ejb:interface-method view-type=local*/
   public abstract void setTargetState(StateLocal state);

   /**@ejb:interface-method view-type=remote*/
   public void updateTargetState(State state) throws Exception
   {
 StateLocal ts=((StateLocal) ((StateLocalHome) (new 
InitialContext()).lookup(StateLocal)).findByPrimaryKey((StatePK) 
state.getPrimaryKey()));
 setTargetState(ts);
 System.out.println(ts);
 System.out.println(ts:+getTargetState());
   }

When I call updateTargetState(...), the println prints the right thing.
However, if I call getTargetState() in a later method, I get null back.
Looking in the database, the field is always empty.

I've got another set of methods that operate in a similar manner, they
also never seem to update the database.

Also a hopefully unrelated problem that is appearing is that I get

java.rmi.ServerException: Internal error getting results for field member
contextID

errors at random intervals when trying to use some of my methods. This
error appears only sporadically. contextID is a java object (which does
extend java.io.Serializable), and is stored as a bytea type within the
database.

My backend db is postgresql 7.2.1, and I'm running jBoss 3.0.0.

Any and all help will be greatly appreciated
Nir Oren






---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re[3]: [JBoss-user] SAR deployement

2002-08-12 Thread Alex Loubyansky


Solved it by commenting loader-repository in jboss-app.xml and didn't
meet problems with deployment on startup as in the first post in the
thread.

But what's wrong with loader-repository?

alex

Monday, August 12, 2002, 8:12:27 PM, you wrote:

AL Hello Burkhard and all,

BV Hmmm,
BV For a start put the mysql jar from the META-INF dir to the root dir of the
BV sar...

AL Sorry, I wrongly pictured the ear's structure. Here is the correct one.
AL dbdrvsar.ear:
AL META-INF/
AL META-INF/MANIFEST.MF
AL META-INF/application.xml
AL META-INF/jboss-app.xml
AL dbdrvsar-web.war
AL dbdrvsar.sar
AL dbdrvsar-ejb.jar

AL dbdrvsar.sar:
AL META-INF/
AL META-INF/MANIFEST.MF
AL META-INF/jboss-service.xml
AL mm.mysql-2.0.6.jar

AL jboss-app.xml
AL jboss-app
ALloader-repositoryorg.leisi:loader=dbdrvsar.ear/loader-repository
ALmodule
AL   servicedbdrvsar.sar/service
AL/module
AL /jboss-app

AL Successful attempts:
AL - driver's jar in the lib and driver's -service.xml in the deploy;
AL - separated sar with driver's jar and -service.xml deployed fine and
AL then the ear deployed fine with removed jboss-app.xml and
AL dbdrvsar.sar.

AL JBoss version is 3.0.2RC1.


-- 
Best regards,
 Alex Loubyansky




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Anyone using JBoss 3 for Swing apps?

2002-08-12 Thread Greg Turner


Sure. Please send me this request offline, so that I can reply offline.
Greg


Saroj Kumar wrote:
Hi
Greg,Pls.
excuse this post off the list.I
went to your site and saw that there is a demo for use of MBEAN to store
config vars.I
would like to see the source files but i could not download them.I
would be greatful if you could send me those files.Thanks,Saroj
-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Greg
Turner
Sent: Monday, August 05, 2002
10:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user]
Anyone using JBoss 3 for Swing apps?

It makes a huge amount of sense. I have been using a very simple
swing based, jmx based app in my presentations about JBoss to illustrate
the super server possibilities of JBoss. For a demo, point your deployer
at http://www.tiburon-e-systems.com/nl20020801/JBossMonitor.sar
Greg

James Higginbotham wrote:
Hi!As
I read the architecture docs for JBoss 3 some time ago, I started thinking
how interesting it would be to use the core JBoss kernel to develop Swing-based
applications. No, not using Swing to talk to JBoss, but rather as a platform
for developing a Swing framework that was based on using MBeans to extend
its functionality. Think of the next logical step in the desktop application
- built-in JMX, component-based, with services often needed by desktop
applications available as MBeans. No more retrofitting someone's custom
framework.. Built in support for web services on the desktop by adding
in a web service MBean (container). I'm sure this isn't anything new, but
I haven't seen anything on the lists about any initiatives around this
yet. Is someone doing this already? Does this make sense? Or, have I just
had too much coffee this morning? I seem to recall someone saying something
about using JXTA with JBoss, but I'm not sure which tier they were planning
on using this for.Thoughts?!James
--
Greg Turner, JBoss Authorized Consultant
Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-332-3363


--
Greg Turner, JBoss Authorized Consultant
Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-332-3363



RE: [JBoss-user] Swing to Session Bean

2002-08-12 Thread Maris Orbidans


Also use BusinessDelegate pattern.

 -Original Message-
 From: Saroj Kumar [mailto:[EMAIL PROTECTED]]
 Sent: Monday, August 12, 2002 5:31 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] Swing to Session Bean
 
 
 Use EJBHomeFactory pattern
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Arijit
 Ghosh
 Sent: Monday, August 12, 2002 1:21 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Swing to Session Bean
 
 
 Hi,
 
 I would like to use a swing component as my client which will be
 accessing the stateless session beans. Any pointers for this ? What
 should be the design strategy as I want to use the swing component for
 the presentation layer only and would like to do the lookup in some
 interface between swing and session bean. What is the correct method ?
 
 Thanks in advance.
 
 Regards,
   Arijit
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: Re[3]: [JBoss-user] SAR deployement

2002-08-12 Thread David Jencks

There was a problem with registering UnifiedClassLoaders with the wrong
LoaderRepository.  I believe it is fixed in cvs head and probably 3.2

david jencks

On 2002.08.12 13:20:07 -0400 Alex Loubyansky wrote:
 
 Solved it by commenting loader-repository in jboss-app.xml and didn't
 meet problems with deployment on startup as in the first post in the
 thread.
 
 But what's wrong with loader-repository?
 
 alex
 
 Monday, August 12, 2002, 8:12:27 PM, you wrote:
 
 AL Hello Burkhard and all,
 
 BV Hmmm,
 BV For a start put the mysql jar from the META-INF dir to the root dir
 of the
 BV sar...
 
 AL Sorry, I wrongly pictured the ear's structure. Here is the correct
 one.
 AL dbdrvsar.ear:
 AL META-INF/
 AL META-INF/MANIFEST.MF
 AL META-INF/application.xml
 AL META-INF/jboss-app.xml
 AL dbdrvsar-web.war
 AL dbdrvsar.sar
 AL dbdrvsar-ejb.jar
 
 AL dbdrvsar.sar:
 AL META-INF/
 AL META-INF/MANIFEST.MF
 AL META-INF/jboss-service.xml
 AL mm.mysql-2.0.6.jar
 
 AL jboss-app.xml
 AL jboss-app
 ALloader-repositoryorg.leisi:loader=dbdrvsar.ear/loader-repository
 ALmodule
 AL   servicedbdrvsar.sar/service
 AL/module
 AL /jboss-app
 
 AL Successful attempts:
 AL - driver's jar in the lib and driver's -service.xml in the deploy;
 AL - separated sar with driver's jar and -service.xml deployed fine and
 AL then the ear deployed fine with removed jboss-app.xml and
 AL dbdrvsar.sar.
 
 AL JBoss version is 3.0.2RC1.
 
 
 -- 
 Best regards,
  Alex Loubyansky
 
 
 
 
 ---
 This sf.net email is sponsored by: Dice - The leading online job board
 for high-tech professionals. Search and apply for tech jobs today!
 http://seeker.dice.com/seeker.epl?rel_code=31
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Directory structure for using Jboss with Eclipse

2002-08-12 Thread Holger Baxmann

matt,

my main goal for using jboss.org is _not_ the development of some fancy
(sorry, ejb fans) technology, it is using the fabulous infrastructure of
the jmx implementation in jboss the webos for business applications.

 if we have eclipse as an mbean then we will have the ucl above the
whole
 eclipse infrastructure,

 By this do you mean Universal Class Loader?  What is the main gain in
 functionality here?  Is the purpose of this just to reuse code, so
that
 JBoss and Eclipse use the same classloader object, or is there
something
 more to this?


what i mean here is the _whole_ classloader structure and hierarchies
for the _whole_ application based on ucl, detyped invoker, interceptor
and cl scoping. including for example eclipse and may be weblogic, ok in
the latter case i am just kidding.

  the whole webos jmx infrasturcture [and not the
 ugly win's, X's with their ugly filesystems] as a support for the
 eclipse and all the plugins,

 Are you thinking of reworking Eclipse so that all plugins are MBeans?

never, no.
eclipse has a fairly good api for dealing with perspectives, views and
editors on serval window systems - jboss is a application
infrastructure. i would not recommend street with leather surface, even
if i like it on the backseat of my cadillac. jboss and eclipse - not
istead of.
i will use the hot deployment of eclipse [at first the minimalistic
config], the start-stop-changeconfig-start features and undoubtetly the
message and notification mechs.

 jndi federated namespaces - and last, but

 Could you elaborate on how this would benefit eclipse?

the picture draws from systemmanagement's mib's to dns to ldap and
whatever directory or naming service, for example xml schemata and mof,
to the application dependend hierrarchical datastructures and
proprietary naming service providers. if jboss get it - eclipse will do.

 not least: a frontend framework _inside_ the webos :)

 This, I suppose, is the main goal -- I assume for local administration
 purposes?

the main goal is to abstract from the beneath (most of the time
higgedly-piggedly) working operating system and filesystem, including
sharing of the resources. so you will have less administration, much
more less administrivialities.

 just doing that

seriuosly: some good guys are doing a The JBossAdminGUI at sf.net - i
will port it back from the OS to the WebOS via the sf.net project
moonshadow M$ :-)))

bax

 You have quite a lot here.  It of course can be compared with an
alternate
 approach that makes Eclipse a client to JBoss services (say for use as
a
 management tool using the JMX API, or as an EJB client).

 Please excuse my many questions.  As you can tell, I'm interested in
both
 JBoss and Eclipse, but don't know yet how to use them together in the
most
 effective way.  Since your suggestion is unusual, I'm interested in
fleshing
 out some of the details.

   - Matt

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Holger
 Baxmann
 Sent: Monday, August 12, 2002 11:04 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Directory structure for using Jboss with
 Eclipse


 if we have eclipse as an mbean then we will have the ucl above the
whole
 eclipse infrastructure, the whole webos jmx infrasturcture [and not
the
 ugly win's, X's with their ugly filesystems] as a support for the
 eclipse and all the plugins, jndi federated namespaces - and last, but
 not least: a frontend framework _inside_ the webos :)

 just doing that

 bax
 - Original Message -
 From: Matt Munz [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 12, 2002 4:49 PM
 Subject: RE: [JBoss-user] Directory structure for using Jboss with
 Eclipse


  bax,
 
I'm curious.  How do you plan to use Eclipse-embedded-in-jboss?
 
- Matt
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of Holger
  Baxmann
  Sent: Monday, August 12, 2002 8:26 AM
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Directory structure for using Jboss with
  Eclipse
 
 
  hi all,
 
  is anybody on the way or simply interested in having eclipse running
  inside the jboss as an mbean ?
 
  thanks
  bax
  - Original Message -
  From: Michael Mattox [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, August 12, 2002 12:00 PM
  Subject: [JBoss-user] Directory structure for using Jboss with
Eclipse
 
 
   I installed the EASIE Jboss plugin for Eclipse and that is working
   properly (I can start and stop Jboss with the menu).  Now I'm
having
   trouble configuring my project for Jboss.  I'm not sure how to
  organize
   the directory structure.  If someone using Jboss with Eclipse can
 tell
   me how they organized their project that would be a great help.
  
   Thanks
   Michael
  
  
  
   ---
   This sf.net email is sponsored by:ThinkGeek
   Welcome to geek heaven.
   http://thinkgeek.com/sf
   

[JBoss-user] help with url-pattern

2002-08-12 Thread Seth Ladd

Hello,

I have a simple webapp that I'm trying to port to JBoss.  My web.xml 
includes this servlet mapping:

servlet-mapping
   servlet-nameExample/servlet-name
   url-pattern/control/*/person/url-pattern
/servlet-mapping

When I try this URL:

http://example.com/context/control/43434/person

I get a 404.

This pattern works in other containers (weblogic and resin).  Does 
anyone know of an issue with the url-pattern in jboss?  Is jboss correct 
here and the others broken?

Any tips or help would be greatly appreciated,
Thanks!
Seth



smime.p7s
Description: S/MIME Cryptographic Signature


[JBoss-user] url-pattern followup

2002-08-12 Thread Seth Ladd

My apologies,

In a follow up to my previous question, I forgot to include some of the 
most basic information of my environment:

I am using JBoss 3.0.0 w/ Jetty.  This is on Linux, running the IBM 1.3 JVM.

Thanks very much,
Seth



smime.p7s
Description: S/MIME Cryptographic Signature


[JBoss-user] url-pattern solved

2002-08-12 Thread Seth Ladd

After reading the servlet spec, it appears that /something/*/something 
is not allowed as a url-pattern.  I'm sorry for the confusion.

Thanks very much,
Seth



smime.p7s
Description: S/MIME Cryptographic Signature


RE: [JBoss-user] Anyone using JBoss 3 for Swing apps?

2002-08-12 Thread Ryan Marsh


I'm currently developing rich GUI apps using Swing and JBoss on the
backend.

-ryan 

On Mon, 2002-08-12 at 10:48, Saroj Kumar wrote:
 Hi Greg,
  
 Pls. excuse this post off the list.
  
 I went to your site and saw that there is a demo for use of MBEAN to
 store config vars.
  
 I would like to see the source files but i could not download them.
  
 I would be greatful if you could send me those files.
  
 Thanks,
 Saroj
  
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Greg
 Turner
 Sent: Monday, August 05, 2002 10:05 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Anyone using JBoss 3 for Swing apps?
 
 
 It makes a huge amount of sense.  I have been using a very simple
 swing based, jmx based app in my presentations about JBoss to
 illustrate the super server possibilities of JBoss.  For a demo, point
 your deployer at
 http://www.tiburon-e-systems.com/nl20020801/JBossMonitor.sar
 
 Greg 
   
 
 James Higginbotham wrote: 
   Hi!As I read the architecture docs for JBoss 3 some time ago, I
  started thinking how interesting it would be to use the core JBoss
  kernel to develop Swing-based applications. No, not using Swing to
  talk to JBoss, but rather as a platform for developing a Swing
  framework that was based on using MBeans to extend its
  functionality. Think of the next logical step in the desktop
  application - built-in JMX, component-based, with services often
  needed by desktop applications available as MBeans. No more
  retrofitting someone's custom framework.. Built in support for web
  services on the desktop by adding in a web service MBean
  (container). I'm sure this isn't anything new, but I haven't seen
  anything on the lists about any initiatives around this yet. Is
  someone doing this already? Does this make sense? Or, have I just
  had too much coffee this morning? I seem to recall someone saying
  something about using JXTA with JBoss, but I'm not sure which tier
  they were planning on using this for. Thoughts?!James
 -- 
 Greg Turner, JBoss Authorized Consultant 
 
 Tiburon Enterprise Systems 
 http://www.tiburon-e-systems.com
 Box 1171 
 Tiburon, CA 94920 
 415-332-3363 
   
-- 
Humans are the unfortunate result of a local maximum in the
fitness landscape.

www.ryanmarsh.com




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] way to see if a class is JAAS protected

2002-08-12 Thread Emerson Cargnin - SICREDI Serviços

Hey scott, I know that (source of permissions), but i tried to uncheck 
the ejb and it doesn't work either.

I got the error when using create of Home.


 method-permission 
  description![CDATA[description not supported yet by 
ejbdoclet]]/description
  unchecked/
  method 
 description![CDATA[description not supported yet by 
ejbdoclet]]/description
 ejb-namecadastro/FacadeTeste/ejb-name
 method-name*/method-name
  /method
   /method-permission


my test:

Object ref = new 
InitialContext(System.getProperties()).lookup(FacadeTesteHome.JNDI_NAME);
FacadeTesteHome home2 = (FacadeTesteHome) 
PortableRemoteObject.narrow(ref,FacadeTesteHome.class);
FacadeTeste ejb = home2.create(); //line 66 : it gaves me the error




jboss.xml snippet :

jboss

  security-domainjava:/jaas/sicredi/security-domain

enterprise-beans



junit stacktrace:


RemoteException occurred in server thread; nested exception is: 
java.rmi.ServerException: EJBException:; nested exception is: 
javax.ejb.EJBException: checkSecurityAssociation; nested exception is: 
java.lang.SecurityException: Authentication exception, principal=null

java.rmi.ServerException: RemoteException occurred in server thread; 
nested exception is:
java.rmi.ServerException: EJBException:; nested exception is:
javax.ejb.EJBException: checkSecurityAssociation; nested exception is: 
java.lang.SecurityException: Authentication exception, principal=null
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:536)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
at $Proxy0.create(Unknown Source)
at 
br.com.sicredi.cadastro.tests.CadastroBDTest.testTeste(CadastroBDTest.java:68)


Scott M Stark wrote:

 The ejb-jar.xml descriptor is the only source of permissions. The jboss.xml
 descriptor defines the security domain. Compare these two files before
 and after xdoclet.
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 - Original Message -
 From: Emerson Cargnin - SICREDI Serviços [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, August 09, 2002 10:04 AM
 Subject: Re: [JBoss-user] way to see if a class is JAAS protected
 
 
 any idea???
 
 Emerson Cargnin - SICREDI Serviços wrote:
 
 
I'm getting some strange errors when using JAAS through stand-alone
client. I didn't have this errors before, it appeared after migrating to
XDoclet CVS (??? nothing to do at all).

is there any way to see how a class is protected through jmx

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


-- 
Emerson Cargnin - MSA
SICREDI - Tel : 3358-4860



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Netboot

2002-08-12 Thread Dimitri Pissarenko

Hello!

I've looked at the Netboot demo on the JBoss web-site. Being quite
impressed by its functionality, I'm considering to use this feature in
the following way.

I'm currently working on an application which is based on EJB and is
being developed for several research institutions located in different
cities in Europe.

In my opinion, it would be highly advantageous to make an evaluation
version, which should be available to these future customers with as
least effort as possible (so that they can try out the application and
we can get feedback about the application quality early). The main
effort associated with the installation of our application consists of
setting up the JBoss server and the mySQL DBMS.

In order to relieve the potential customers from these efforts, I've
thought of distributing the evaluation version in the following way:

1) Customer downloads the client application (this is a rather small
swing-based GUI)
2) Customer downloads the JBoss Bootstrap Environment
3) By means of the JBoss bootstrap environment, the customer installs
the JBoss server configuration A on his machine.
4) The JBoss server (configuration A) communicates with JBoss server
configuration B, which is located on our web-server and is connected
to the database.

See also the diagram in the attachment.

JBoss configuration A has a service deployed in it, which forwards all
requests to the central server (JBoss configuration B). Configuration
A has no other services in it. Configuration A is installed on the
customer's machine by means of netboot.

JBoss configuration B contains all the EJBs of our application.

The advantage of this solution is that the potential customer can try
out the features of our system, as it would be installed on his own
machine without the disadvantages (the need to setup JBoss and mySQL).

Is this solution possible?

Does it make sense (from a technical point of view) ?

Thanks in advance

Dimitri Pissarenko



2002_08_12_netboot.zip
Description: Binary data


Re: [JBoss-user] JBoss 3.0.1 : Jetty integration

2002-08-12 Thread Jules Gosnell

Felix,

It looks as if someone is passing a jboss jmx format configuration to a 
a Jetty configuration parser.

It looks as if this is happening a startup - not upon deployment of a 
webapp.

The only file read by Jetty at startup, in which server and 
Configure nodes appear is the jbossweb.sar/META-INF/jboss-service.xml.

Have you made ANY changes to this installation, or is it vanilla ?

are you sure that you checked the jboss-service.xml for the 
configuration that you are actually running ?

Failing this, perhaps your xml parser has got confused... ?



Jules


Felix Martin wrote:
It looks like someone has messed up the format of
your 
jbossweb.sar/META-INF/jboss-service.xml's
Configuration Element.

 
 
 It's the original one :
 
 ?xml version=1.0 encoding=UTF-8?
 
 server
 
   !--
 
 --
   !-- Web Container  
  --
   !--
 
 --
 
   !--
  | Be sure to check that the configuration values
 are valid for your
  | environment.
--
 
   mbean code=org.jboss.jetty.JettyService
 name=jboss.web:service=JBossWeb
 
 !--
 =
 --
 !-- Uncomment the following line ONLY if you want
 to provide a custom --
 !-- webdefault.xml file in place of the standard
 one. Place your  --
 !-- file in the src/etc directory to have it
 automatically included   --
 !-- in the build.
 --
 !--
 =
 --
 
 !--
 attribute
 name=WebDefaultwebdefault.xml/attribute
 --
 
 !--
 ==
 --
 !-- If true, .war files are unpacked to a
 temporary directory. This--
 !-- is useful with JSPs. 
  --
 !--
 ==
 --
 
 attribute name=UnpackWarstrue/attribute
 
 !--
 ==
 --
 !-- If true, Jetty first delegates loading a
 class to the webapp's --
 !-- parent class loader (a la Java 2). If false,
 Jetty follows the --
 !--  Servlet 2.3 specification, and tries the
 webapp's own loader  --
 !-- first (for non-system classes) 
  --
 !--
 ==
 --
 
 attribute
 name=Java2ClassLoadingCompliancetrue/attribute
 
 !--
 =
 --
 !-- Configuring Jetty. The XML fragment contained
 in the  --
 !-- name=ConfigurationElement attribute is a
 Jetty-style--
 !-- configuration specification.  It is used to
 configure Jetty with  --
 !-- a listener on port 8080, and a HTTP request
 log location. --
 !-- The placement here of other Jetty XML
 configuration statements--
 !-- for deploying webapps etc is not encouraged:
 if you REALLY NEED   --
 !-- something extra, place it in
 WEB-INF/jetty-web.xml files  --
 !--
 =
 --
 
 attribute name=ConfigurationElement
   Configure class=org.mortbay.jetty.Server
 
   !--
 ===
 --
   !-- Add the listener   
 --
   !-- The default port can be changed using:
 java -Djetty.port=80 --
   !--
 ===
 --
 
   Call name=addListener
 Arg
  New
 class=org.mortbay.http.SocketListener
   Set name=PortSystemProperty
 name=jetty.port default=8080//Set
   Set name=MinThreads5/Set
   Set name=MaxThreads255/Set
   Set name=MaxIdleTimeMs3/Set
   Set name=MaxReadTimeMs1/Set
   Set name=MaxStopTimeMs5000/Set
   Set
 name=LowResourcePersistTimeMs5000/Set
   /New
 /Arg
   /Call
 
   !--
 ===
 --
 !-- Add the HTTP request log  
  --
   !--
 ===
 --
 
   Set name=RequestLog
 New
 class=org.mortbay.http.NCSARequestLog
   ArgSystemProperty
 name=jboss.server.home.dir/SystemProperty
 name=jetty.log
 default=/log//_mm_dd.request.log
 /Arg
   Set name=retainDays90/Set
   Set name=appendtrue/Set
   Set name=extendedtrue/Set
   Set name=LogTimeZoneGMT/Set
 /New
   

AW: [JBoss-user] Netboot

2002-08-12 Thread Stefan Groschupf

Does it make sense (from a technical point of view) ?

So far, you don't include a evolution security mechanism, it make no sense
on a business point  of view.
I believe to know, that the customer can save the downloaded files? Or isn't
it?
stefan




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Netboot

2002-08-12 Thread David Jencks

I would investigate whether you can make a partially functional demo
version of your app using the all-java hsqldb that comes with jboss: then
the entire app + jboss can be downloaded via netboot.  I would expect the
trip between jboss instances in your proposal would give users an
unrealistically pessimistic view of the performance.

You can probably start your swing app in the jboss vm from a simple mbean,
thus starting the entire app from the download. (although it would only be
running on the download machine)  If you try this I'd like to know how it
works.

david jencks

On 2002.08.12 17:46:56 -0400 Dimitri Pissarenko wrote:
 Hello!
 
 I've looked at the Netboot demo on the JBoss web-site. Being quite
 impressed by its functionality, I'm considering to use this feature in
 the following way.
 
 I'm currently working on an application which is based on EJB and is
 being developed for several research institutions located in different
 cities in Europe.
 
 In my opinion, it would be highly advantageous to make an evaluation
 version, which should be available to these future customers with as
 least effort as possible (so that they can try out the application and
 we can get feedback about the application quality early). The main
 effort associated with the installation of our application consists of
 setting up the JBoss server and the mySQL DBMS.
 
 In order to relieve the potential customers from these efforts, I've
 thought of distributing the evaluation version in the following way:
 
 1) Customer downloads the client application (this is a rather small
 swing-based GUI)
 2) Customer downloads the JBoss Bootstrap Environment
 3) By means of the JBoss bootstrap environment, the customer installs
 the JBoss server configuration A on his machine.
 4) The JBoss server (configuration A) communicates with JBoss server
 configuration B, which is located on our web-server and is connected
 to the database.
 
 See also the diagram in the attachment.
 
 JBoss configuration A has a service deployed in it, which forwards all
 requests to the central server (JBoss configuration B). Configuration
 A has no other services in it. Configuration A is installed on the
 customer's machine by means of netboot.
 
 JBoss configuration B contains all the EJBs of our application.
 
 The advantage of this solution is that the potential customer can try
 out the features of our system, as it would be installed on his own
 machine without the disadvantages (the need to setup JBoss and mySQL).
 
 Is this solution possible?
 
 Does it make sense (from a technical point of view) ?
 
 Thanks in advance
 
 Dimitri Pissarenko
 


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Netboot

2002-08-12 Thread Bill Burke

Don't understand why you need the JBoss server A.  Why not just communicate
directly to B?

Anyways.  You could write a JRMPInvoker that simply forwards requests to
Server B.  You may have to worry about firewalls and such too.

Let us know if you ever implement this.

Bill

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dimitri
 Pissarenko
 Sent: Monday, August 12, 2002 5:47 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Netboot


 Hello!

 I've looked at the Netboot demo on the JBoss web-site. Being quite
 impressed by its functionality, I'm considering to use this feature in
 the following way.

 I'm currently working on an application which is based on EJB and is
 being developed for several research institutions located in different
 cities in Europe.

 In my opinion, it would be highly advantageous to make an evaluation
 version, which should be available to these future customers with as
 least effort as possible (so that they can try out the application and
 we can get feedback about the application quality early). The main
 effort associated with the installation of our application consists of
 setting up the JBoss server and the mySQL DBMS.

 In order to relieve the potential customers from these efforts, I've
 thought of distributing the evaluation version in the following way:

 1) Customer downloads the client application (this is a rather small
 swing-based GUI)
 2) Customer downloads the JBoss Bootstrap Environment
 3) By means of the JBoss bootstrap environment, the customer installs
 the JBoss server configuration A on his machine.
 4) The JBoss server (configuration A) communicates with JBoss server
 configuration B, which is located on our web-server and is connected
 to the database.

 See also the diagram in the attachment.

 JBoss configuration A has a service deployed in it, which forwards all
 requests to the central server (JBoss configuration B). Configuration
 A has no other services in it. Configuration A is installed on the
 customer's machine by means of netboot.

 JBoss configuration B contains all the EJBs of our application.

 The advantage of this solution is that the potential customer can try
 out the features of our system, as it would be installed on his own
 machine without the disadvantages (the need to setup JBoss and mySQL).

 Is this solution possible?

 Does it make sense (from a technical point of view) ?

 Thanks in advance

 Dimitri Pissarenko




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Netboot

2002-08-12 Thread Greg Turner

You might think about configuring the demo to use JBoss internal Hypersonic database,
which would negate the requirement that the demo communicate with your machine.  Then 
it
becomes a problem of populating the database with data.  If its a lot of data, then
perhaps your original idea is better.

Dimitri Pissarenko wrote:

 Hello!

 I've looked at the Netboot demo on the JBoss web-site. Being quite
 impressed by its functionality, I'm considering to use this feature in
 the following way.

 I'm currently working on an application which is based on EJB and is
 being developed for several research institutions located in different
 cities in Europe.

 In my opinion, it would be highly advantageous to make an evaluation
 version, which should be available to these future customers with as
 least effort as possible (so that they can try out the application and
 we can get feedback about the application quality early). The main
 effort associated with the installation of our application consists of
 setting up the JBoss server and the mySQL DBMS.

 In order to relieve the potential customers from these efforts, I've
 thought of distributing the evaluation version in the following way:

 1) Customer downloads the client application (this is a rather small
 swing-based GUI)
 2) Customer downloads the JBoss Bootstrap Environment
 3) By means of the JBoss bootstrap environment, the customer installs
 the JBoss server configuration A on his machine.
 4) The JBoss server (configuration A) communicates with JBoss server
 configuration B, which is located on our web-server and is connected
 to the database.

 See also the diagram in the attachment.

 JBoss configuration A has a service deployed in it, which forwards all
 requests to the central server (JBoss configuration B). Configuration
 A has no other services in it. Configuration A is installed on the
 customer's machine by means of netboot.

 JBoss configuration B contains all the EJBs of our application.

 The advantage of this solution is that the potential customer can try
 out the features of our system, as it would be installed on his own
 machine without the disadvantages (the need to setup JBoss and mySQL).

 Is this solution possible?

 Does it make sense (from a technical point of view) ?

 Thanks in advance

 Dimitri Pissarenko

   
  Name: 2002_08_12_netboot.zip
2002_08_12_netboot.zipType: Zip Compressed Data (application/x-zip-compressed)
  Encoding: base64

--
Greg Turner, JBoss Authorized Consultant

Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-332-3363




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] ClusteredHttpSession Question

2002-08-12 Thread Joao Clemente

- On Fri, 09 Aug 2002 14:05:34 -0700 
Greg Turner [EMAIL PROTECTED] wrote:

 I am looking for a free software solution to load balance http requests
 to multiple instances of JBoss/Jetty in a cluster inorder to test
 ClusteredHttpSessions.  Any ideas?  What does everyone else use?

Well, I'm also still looking for the solution, but I'll gonna try shortly a software 
named pound. I'm not sure about the webpage, you'll have to look for it on freshmeat.
There are plenty of solutions, so I also would like to see some replies to this thread.

Hope this helps and thank you.

-- 
   ___   _ From Scratch 3.1 - Kernel 2.4.16 on a i686 - up 18 min
  /  /  (_)__  __   __  Life is too short for problems
 /  /__/ / _ \/ // /\ \/ / João Pedro Clemente
/_/_/_//_/\___/ /_/\_\jpcl @ rnl.ist.utl.pt


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss 3.0.1 + Tomcat Release?

2002-08-12 Thread Scott M Stark



The jboss-3.0.1_tomcat-4.0.4 is available 
now.

Scott StarkChief Technology 
OfficerJBoss Group, LLC

  - Original Message - 
  From: 
  Luttrell, Peter 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, August 12, 2002 9:53 
  AM
  Subject: [JBoss-user] JBoss 3.0.1 + 
  Tomcat Release?
  
  Is there going to be a 
  JBoss3.0.1 + Tomcatbuild posted to sourceforge and 
  jboss.org?
  
  In the past the tomcat 
  integration builds have been posted about a day after the jetty releases, but 
  not in this case. Does this represent a change in direction for tomcat 
  releases?
  
  There is another thread on 
  this, but it's diverged from the original question which no one 
  answered.
  
  I do know that I can manually 
  integrate it (instructions were on the other thread).
  
  thanks.
  .peter
  **PLEASE NOTE: EFFECTIVE SEPTEMBER 2, 2002, OUR NEW 
  ADDRESS WILL BE 3600 SOUTH LAKE DRIVE, ST. FRANCIS, WI 53235 AND OUR NEW MAIN 
  PHONE NUMBER WILL BE 414.294.7000** 
  This transmission contains information solely for 
  intended recipient and may be privileged, confidential and/or otherwise 
  protect from disclosure. If you are not the intended recipient, please contact 
  the sender and delete all copies of this transmission. This message and/or the 
  materials contained herein are not an offer to sell, or a solicitation of an 
  offer to buy, any securities or other instruments. The information has been 
  obtained or derived from sources believed by us to be reliable, but we do not 
  represent that it is accurate or complete. Any opinions or estimates contained 
  in this information constitute our judgment as of this date and are subject to 
  change without notice. Any information you share with us will be used in the 
  operation of our business, and we do not request and do not want any material, 
  nonpublic information. Absent an express prior written agreement, we are not 
  agreeing to treat any information confidentially and will use any and all 
  information and reserve the right to publish or disclose any information you 
  share with us.


Jetty versus Tomcat (Re: [JBoss-user] JBoss 3.0.1 + Tomcat Release?)

2002-08-12 Thread Andreas Kuckartz

Any hints regarding differences between Jetty and Tomcat ?
Which one is better (and why)?

Andreas




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] What does section: in verifier point to?

2002-08-12 Thread Andreas Kuckartz

  I have a verifier warning and see one line that's:
  Section: 7.10.6
 
  I'm guessing it refers to a document, but durned if I can figure out
 which!

 The ejb spec. It should be the 2.0 spec, but some comments
 may be referring to the 1.1 spec still.

Some comments still are referring to the EJB 1.1 spec. in JBoss 3.0.1

Such warnings should include the short name of the document (such as EJB
spec. 1.1). That would make life easier for people who stumble upon them.

Andreas



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Clustered HttpSession with Tomcat

2002-08-12 Thread Greg Turner

I have installed jboss-3.0.1_tomcat-4.0.4 onto 2 networked machines  I
have copied jbossha-httpsession.sar into all/deploy and run the all
configuration.  From the output in the command console on both machines,
it appears that clustering is turned on.

If I were using Jetty, I would add jetty-web.xml to the WEB-INF in the
war file to turn on Clustered HttpSession.  Question is, how do I turn
on the same for Tomcat?

TIA

Greg




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] help with url-pattern

2002-08-12 Thread Alex Loubyansky

Hello Seth,

do you have http-server set up? if you are running just jboss with
jetty or tomcat you should specify a port number. default is 8080.

Monday, August 12, 2002, 10:48:09 PM, you wrote:

SL Hello,

SL I have a simple webapp that I'm trying to port to JBoss.  My web.xml 
SL includes this servlet mapping:

SL servlet-mapping
SLservlet-nameExample/servlet-name
SLurl-pattern/control/*/person/url-pattern
SL /servlet-mapping

SL When I try this URL:

SL http://example.com/context/control/43434/person

SL I get a 404.

SL This pattern works in other containers (weblogic and resin).  Does 
SL anyone know of an issue with the url-pattern in jboss?  Is jboss correct 
SL here and the others broken?

SL Any tips or help would be greatly appreciated,
SL Thanks!
SL Seth

-- 
Best regards,
 Alex Loubyansky




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re[2]: [JBoss-user] way to see if a class is JAAS protected

2002-08-12 Thread Alex Loubyansky

/unchecked means that any authenticated principal could access the
method(s). Do you access the bean being authenticated? I guess, no
(principal is null).

Tuesday, August 13, 2002, 12:20:19 AM, you wrote:

ECSS Hey scott, I know that (source of permissions), but i tried to uncheck 
ECSS the ejb and it doesn't work either.

ECSS I got the error when using create of Home.


ECSS  method-permission 
ECSS   description![CDATA[description not supported yet by 
ejbdoclet]]/description
ECSS   unchecked/
ECSS   method 
ECSS  description![CDATA[description not supported yet by 
ejbdoclet]]/description
ECSS  ejb-namecadastro/FacadeTeste/ejb-name
ECSS  method-name*/method-name
ECSS   /method
ECSS/method-permission


ECSS my test:

ECSS Object ref = new 
ECSS InitialContext(System.getProperties()).lookup(FacadeTesteHome.JNDI_NAME);
ECSS FacadeTesteHome home2 = (FacadeTesteHome) 
ECSS PortableRemoteObject.narrow(ref,FacadeTesteHome.class);
ECSS FacadeTeste ejb = home2.create(); //line 66 : it gaves me the error




ECSS jboss.xml snippet :

ECSS jboss

ECSS   security-domainjava:/jaas/sicredi/security-domain

ECSS enterprise-beans



ECSS junit stacktrace:


ECSS RemoteException occurred in server thread; nested exception is: 
ECSS java.rmi.ServerException: EJBException:; nested exception is: 
ECSS javax.ejb.EJBException: checkSecurityAssociation; nested exception is: 
ECSS java.lang.SecurityException: Authentication exception, principal=null

ECSS java.rmi.ServerException: RemoteException occurred in server thread; 
ECSS nested exception is:
ECSS java.rmi.ServerException: EJBException:; nested exception is:
ECSS javax.ejb.EJBException: checkSecurityAssociation; nested exception is: 
ECSS java.lang.SecurityException: Authentication exception, principal=null
ECSS at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
ECSS at sun.rmi.transport.Transport$1.run(Transport.java:148)
ECSS at java.security.AccessController.doPrivileged(Native Method)
ECSS at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
ECSS at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
ECSS at 
ECSS sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
ECSS at java.lang.Thread.run(Thread.java:536)
ECSS at 
ECSS 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
ECSS at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
ECSS at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
ECSS at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
ECSS at 
ECSS 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
ECSS at 
ECSS org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
ECSS at 
ECSS org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
ECSS at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
ECSS at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198)
ECSS at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
ECSS at $Proxy0.create(Unknown Source)
ECSS at 
ECSS br.com.sicredi.cadastro.tests.CadastroBDTest.testTeste(CadastroBDTest.java:68)


ECSS Scott M Stark wrote:

 The ejb-jar.xml descriptor is the only source of permissions. The jboss.xml
 descriptor defines the security domain. Compare these two files before
 and after xdoclet.
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 - Original Message -
 From: Emerson Cargnin - SICREDI Serviços [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, August 09, 2002 10:04 AM
 Subject: Re: [JBoss-user] way to see if a class is JAAS protected
 
 
 any idea???
 
 Emerson Cargnin - SICREDI Serviços wrote:
 
 
I'm getting some strange errors when using JAAS through stand-alone
client. I didn't have this errors before, it appeared after migrating to
XDoclet CVS (??? nothing to do at all).

is there any way to see how a class is protected through jmx

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


-- 
Best regards,
 Alex Loubyansky




---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] 3.0.1 client InitialContext

2002-08-12 Thread G.L. Grobe



I'm still trying to get my stuff ported from 2.4.4 
to 3.0.1. This was working fine w/ 2.4.4.

Using the following jndi.properties config, I get 
the NoInitialContextException error below. I have the JNDI_RESOURCE variable set 
to this file and it's also in the CLASSPATH. I've also copied everything from 
the ~/client dir into my remote clients classpath.


Any help much 
appreciated.

--- jndi.properties ---

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactoryjava.naming.provider.url=jnp://192.168.0.10:1099java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
#jnp.socketFactory=org.jnp.interfaces.TimedSocketFactory#jnp.timeout=0#jnp.sotimeout=0

--- error output ---

javax.naming.NoInitialContextException: Need to 
specify class name in environment or system property, or as an applet parameter, 
or in an application resource file: 
java.naming.factory.initial at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:638) 
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241) 
at 
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:278) 
at 
javax.naming.InitialContext.lookup(InitialContext.java:345) 
at com.neuroquest.cais.clients.builder.Builder.setupQueueReceiver(Unknown 
Source) at 
com.neuroquest.cais.clients.builder.Builder.main(Unknown 
Source)javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file: 
java.naming.factory.initial at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:638) 
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241) 
at 
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:278) 
at 
javax.naming.InitialContext.lookup(InitialContext.java:345) 
at com.neuroquest.cais.clients.builder.Builder.platformSubscription(Unknown 
Source) at 
com.neuroquest.cais.clients.builder.Builder.main(Unknown Source)