Re: [JBoss-user] ClassNotFoundException for userdefined Classes with JBoss 2.4.4 ???

2002-06-12 Thread Dmitri Colebatch

try

Thread.currentThread().getContextClassLoader().loadClass()

I think thats it.

hth
dim

- Original Message -
From: "Ing. Thomas Margreiter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 13, 2002 4:40 PM
Subject: [JBoss-user] ClassNotFoundException for userdefined Classes with
JBoss 2.4.4 ???


> hi there !
> i tried to load some classes with ClassForName
> when i try to load a Standard Class like JLabel,String etc. everything
> works fine, but when i try to load a userdefined class then i allways
> get the classNotFoundException ... the class is in the deployed JAR !
>
> is there something wrong with the classpath in JBoss 2.4.4 ?
>
> did anybody get the same problem ?
>
>
>
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


___

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

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



[JBoss-user] ClassNotFoundException for userdefined Classes with JBoss 2.4.4 ???

2002-06-12 Thread Ing. Thomas Margreiter

hi there !
i tried to load some classes with ClassForName
when i try to load a Standard Class like JLabel,String etc. everything 
works fine, but when i try to load a userdefined class then i allways 
get the classNotFoundException ... the class is in the deployed JAR !

is there something wrong with the classpath in JBoss 2.4.4 ?

did anybody get the same problem ?




___

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

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



RE: [JBoss-user] Jboss 3 and Apache 1.3

2002-06-12 Thread Bill Burke

FYI,  Jetty is now under the JBoss umbrella and is included as the servlet
engine of choice with the base JBoss distribution.  AND, Jetty doesn't
support mod_jk(ajp13), but does support mod_proxy.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Guy
> Rouillier
> Sent: Wednesday, June 12, 2002 10:17 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Jboss 3 and Apache 1.3
>
>
> I don't understand this question.  mod_jk allows Apache to talk
> with Tomcat.
> Are you running JBoss/Tomcat integrated?  If you are running JBoss by
> itself, mod_jk is not used to hook up Apache with JBoss.
>
> - Original Message -
> From: "Roberto Camps" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 12, 2002 8:17 AM
> Subject: [JBoss-user] Jboss 3 and Apache 1.3
>
>
> > Anyone knows how to configure JBoss 3.0 with Apache 1.3 using mod_jk?
> > Thank you.
> >
> > Robert
> >
> > ___
> >
> > Sponsored by:
> > ThinkGeek at http://www.ThinkGeek.com/
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
>
>
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

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

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



Re: [JBoss-user] JBoss 3/Tomcat 4.0.3 IllegalAccessError

2002-06-12 Thread Alex Loubyansky

Hello Jerry,

The servlet 2.3 spec says (9.6.2 Web Application Classloader):
"The classloader that a container uses to load a servlet in a WAR must not allow the 
WAR to
override JDK or Java Servlet API classes, and is recommended not to allow Servlets in 
the
WAR visibility of the web containers implementation classes.
If a web container has a mechanism for exposing container-wide library JARs to 
application
classloaders, it is recommended that the application classloader be implemented in 
such a
way that classes packaged within the WAR are able to override classes residing in 
containerwide
library JARs."

So, I'm not sure, but probably they shouldn't be in a war.
Does it help?

alex

Thursday, June 13, 2002, 1:33:04 AM, you wrote:

JS> I'm getting a java.lang.IllegalAccessError from a class that inherits from a
JS> Catalina class:

JS> java.lang.IllegalAccessError: class
JS> org.apache.catalina.session.ReplicatedSession cannot access its superclass
JS> org.apache.catalina.session.StandardSession
JS> at java.lang.ClassLoader.defineClass0(Native Method)
JS> at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
JS> at
JS> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
JS> at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
JS> at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
JS> at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
JS> at java.security.AccessController.doPrivileged(Native Method)
JS> at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
JS> at
JS> org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:22
JS> 7)
JS> ... etc

JS> Where should class files that inherit from Catalina classes go?

JS> ___

JS> Sponsored by:
JS> ThinkGeek at http://www.ThinkGeek.com/
JS> ___
JS> JBoss-user mailing list
JS> [EMAIL PROTECTED]
JS> https://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
Best regards,
 Alex Loubyansky



___

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

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



Re: [JBoss-user] primary key question

2002-06-12 Thread Dain Sundstrom

A primary key must be an Object. It is in the spec.

The reason has to do with methods like getPrimaryKey in EJBObject which 
returns an Object.  If the spec allowed for primitive primary keys, this 
method would not be possible.

-dain

Gary S. Cuozzo wrote:

> I've been wanting to use a primitive datatype as a primary key for an 
> entity bean, but have not been able to do so.  I guess I'm just a bit 
> confused as I see it done in many examples, but they either don't 
> compile, or don't deploy.  Right now, I just use something like 
> java.lang.Integer as the primary key class.
> 
> I guess my question is:  Is it possible to do this?  It seems like it 
> may make life a bit easier if it is.
> 
> If so, what do you set the  to?  What type do you return 
> from the create() methods?  Anybody have a working example?
> 
> thanks,
> gary.
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



___

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

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



Re: [JBoss-user] CreateException from ejbPostCreate method?

2002-06-12 Thread Dain Sundstrom

Ya you are right.  The problem is LogInterceptor is wrapping 
EJBExceptions and RuntimeException with ServerExceptions which are 
declared RemoteExceptionsm and this causes the 
UndeclaredThrowableException.  I don't know why it is doing this, but 
I'm going to yank this code out soon.

-dain

Stephen Coy wrote:

> CreateException is mandatory on ejbCreate and optional on ejbPostCreate:
> 
> 10.6.4 ejbCreate methods
> ...
> The throws clause must define the javax.ejb.CreateException. The throws 
> clause may define
> arbitrary application specific exceptions.
> 
> and
> 
> 10.6.5 ejbPostCreate methods
> ...
> The throws clause may define arbitrary application specific exceptions, 
> including the
> javax.ejb.CreateException.
> 
> 
> On Thursday, June 13, 2002, at 02:39  AM, McAuley, Tim wrote:
> 
>>
>>> Did you declare CreateException for both the ejbCreate and
>>> ejbPostCreate
>>> methods? Do they both define the exact same exception
>>> declarations?
>>
>>
>> As far as I know they do. Both ejbCreate, ejbPostCreate and create (under
>> LocalHome) throw CreateException.
>>
>>> Can
>>> you post a bug report the reproduces the UndeclaredThrowableException.
>>>
>>
>> Will do, but it might take a day or two.
>>
>> I'll try out the latest version(s) of Jboss first. Our configuration 
>> files
>> need to be slightly updated to work with the new version, hence I have 
>> not
>> used it so far.
>>
>> Thanks for the replies.
>>
>> Tim
>>
>> ___
>>
>> Sponsored by:
>> ThinkGeek at http://www.ThinkGeek.com/
>> ___
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



___

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

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



Re: [JBoss-user] Startup/Shutdown classes

2002-06-12 Thread Dmitri Colebatch

Write your own service...  I'm not 100% sure of what changes there might
have been in 3.0, but have a look at
http://www.jboss.org/online-manual/HTML/ch13s26.html for how it is in 2.4 -
and it should give you at least a good start for 3.0

cheers
dim

- Original Message -
From: "John Houston Deviney" <[EMAIL PROTECTED]>
To: "'JBoss Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, June 13, 2002 1:35 PM
Subject: [JBoss-user] Startup/Shutdown classes


> I am a novice to JBoss and trying to get up to speed as fast as I can.
>
> How does a bean provider implement a startup/shutdown class for JBoss?  I
am
> familiar with Weblogic and I am looking for a similar feature in JBoss
3.0.  I
> haven't found anything in the QuickStart Guide that is relevant.
>
> Any guidance is appreciated.
>
> John Deviney
> [EMAIL PROTECTED]
>
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Startup/Shutdown classes

2002-06-12 Thread John Houston Deviney

I am a novice to JBoss and trying to get up to speed as fast as I can.

How does a bean provider implement a startup/shutdown class for JBoss?  I am
familiar with Weblogic and I am looking for a similar feature in JBoss 3.0.  I
haven't found anything in the QuickStart Guide that is relevant.

Any guidance is appreciated.

John Deviney
[EMAIL PROTECTED]


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re[2]: [JBoss-user] ClassNotFoundException upgrading from RC3 to 3.0

2002-06-12 Thread Peter Kelley

Found it, they moved the jnp jar file in the new release so of course
my ant tresting script wasn't finding it.

On a related note, has there been any discussion of or information on
the new all and minimal configs and how the lib directories work now ?



Wednesday, June 12, 2002, 5:24:53 PM, you wrote:

DC> is this on the client side?  Have you got jnp-client.jar in your classpath?

DC> cheers
DC> dim


DC> - Original Message -
DC> From: "Peter Kelley" <[EMAIL PROTECTED]>
DC> To: <[EMAIL PROTECTED]>
DC> Sent: Wednesday, June 12, 2002 4:28 PM
DC> Subject: [JBoss-user] ClassNotFoundException upgrading from RC3 to 3.0


>> Received the exception below attempting to look up an initial naming
>> context for an EJB. Any ideas ?
>>
>> P.S. I would have searched the archives before posing this except
>> archives are restricted to the JBoss group on sourceforge.
>>
>> java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:195)
>> at
DC> com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
>> at
DC> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
>> at
DC> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
>> at javax.naming.InitialContext.init(InitialContext.java:222)
>> at javax.naming.InitialContext.(InitialContext.java:178)
>> at
DC> au.com.moveit.ejb.versant.SessionEJBWrapper.getHome(SessionEJBWrapper.java:2
DC> 02)
>> at
DC> au.com.moveit.ejb.manifest.ManifestSearchBean.getHomeInstance(ManifestSearch
DC> Bean.java:62)
>> at
DC> au.com.moveit.ejb.manifest.ManifestSearchBeanTest.testManifestSearchByManife
DC> stNumber(ManifestSearchBeanTest.java:68)
>> at java.lang.reflect.Method.invoke(Native Method)
>> at junit.framework.TestCase.runTest(TestCase.java:166)
>> at junit.framework.TestCase.runBare(TestCase.java:140)
>> at junit.framework.TestResult$1.protect(TestResult.java:106)
>> at junit.framework.TestResult.runProtected(TestResult.java:124)
>> at junit.framework.TestResult.run(TestResult.java:109)
>> at junit.framework.TestCase.run(TestCase.java:131)
>> at junit.framework.TestSuite.runTest(TestSuite.java:173)
>> at junit.framework.TestSuite.run(TestSuite.java:168)
>> at junit.framework.TestSuite.runTest(TestSuite.java:173)
>> at junit.framework.TestSuite.run(TestSuite.java:168)
>> at junit.swingui.TestRunner$17.run(TestRunner.java:644)
>>
>> --
>>
>> regards,
>> Peter Kelley
>>
>> MoveIt Pty Ltd
>>
>> "If you want to build a ship, don't drum up the men to
>> gather wood, divide the work and give orders. Instead,
>> teach them to yearn for the vast and endless sea."
>> - Saint-Exupery
>>
>>
>> ___
>>
>> Sponsored by:
>> ThinkGeek at http://www.ThinkGeek.com/
>> ___
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/jboss-user
>>


DC> ___

DC> Sponsored by:
DC> ThinkGeek at http://www.ThinkGeek.com/
DC> ___
DC> JBoss-user mailing list
DC> [EMAIL PROTECTED]
DC> https://lists.sourceforge.net/lists/listinfo/jboss-user


-- 

regards,
Peter Kelley

MoveIt Pty Ltd

"If you want to build a ship, don't drum up the men to
gather wood, divide the work and give orders. Instead, 
teach them to yearn for the vast and endless sea."
- Saint-Exupery


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] How to set a relationship ?

2002-06-12 Thread Andre Selton

   Hi,

  I have 2 entity beans (CMP) Company and Departament
with a relationship 1 Company has N Departaments.
  To set a relationship on the client I want to do
this :

Company company = ...
Object ref = jndiContext.lookup("Departament");
DepartamentHome departament_home =
(DepartamentHome) PortableRemoteObject.narrow (ref,
DepartamentHome.class);
Departament departament =
departament_home.findByPrimaryKey(new
DepartamentPK(new Integer(1)));
Integer i = company.getCodCompany();
departament.setCompanyByID(new Integer(i));

 So I am calling a methon on the departament with the
primary key (Integer) of his related company.
  On DepartamentBean I have this :

public abstract void setCompany(CompanyLocal company)
throws RemoteException;

public void setCompanyByID(Integer Id) throws
RemoteException {
try {
System.out.println("Set company by PK "+Id);
InitialContext ctx = new InitialContext();
CompanyLocalHome company_lh = (CompanyLocalHome)
ctx.lookup("java:comp/env/ejb/CompanyLocalHome");
CompanyLocal company_l =
company_lh.findByPrimaryKey(new CompanyPK(Id));
System.out.println("Company Name
:"+company_l.getCompanyName());
setCompany(company_l);
} catch (Exception e) {
System.out.println(e.getMessage());
}
}

  When I execute the client code the company_l
variable is loaded correctly (I can see the value from
println statement with the right value) but the
relationship is not set on the database.
  
  What can be wrong ?

  Andre S.

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss crash upon j_security_check. Please HELP!

2002-06-12 Thread Shamis, Leonid

Hello,

I experience the server crash when trying to authenticate with Form Based
authentication. URL in browser shows
http://localhost:8080/hypothetic/j_security_check (hypothetic is my
hypothetical application) and the server crashes without any notice.

Please refer to my previous post as well:
http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg17456.html

Appreciate your help.

Best Regards,

Leonid Shamis


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Jboss 3 and Apache 1.3

2002-06-12 Thread Guy Rouillier

I don't understand this question.  mod_jk allows Apache to talk with Tomcat.
Are you running JBoss/Tomcat integrated?  If you are running JBoss by
itself, mod_jk is not used to hook up Apache with JBoss.

- Original Message -
From: "Roberto Camps" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 8:17 AM
Subject: [JBoss-user] Jboss 3 and Apache 1.3


> Anyone knows how to configure JBoss 3.0 with Apache 1.3 using mod_jk?
> Thank you.
>
> Robert
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Doesn't anyone have this problem?

2002-06-12 Thread Mitchell Kim

Not calling "DomConfigurator.configure()"?  That certainly a viable thing to
try.
Thanks for the suggestion.

Mitchell Kim

- Original Message -
From: "David Jencks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 9:35 PM
Subject: Re: [JBoss-user] Doesn't anyone have this problem?


> Are you calling DomConfigurator.configure?? If so what happens if you
don't
> call it?
>
> log4j logging from beans, mbeans, and everything I've tried works fine for
> me if I just leave log4j.xml alone.
>
> david jencks
>
> On 2002.06.12 21:24:47 -0400 Mitchell Kim wrote:
> > I don't remeber that I have configured log4j console appender twice.  I
> > am using the log4j.xml file in the "D:\jboss-3.0.0\server\default\conf"
> > directory which is the one that comes with JBoss distribution.  I am
> > using that config file for DOMConfigurator.configure() method.  Am I
> > doing something really wrong?  It works fine with WebLogic.  I guess
> > that's not relavent since WebLogic doesn't use log4j.  Then, my question
> > is what would be the best way to do loggin in JBoss 3.0?  I have been
> > using this in previous JBoss version and it worked fine...
> > What am I doing wrong?
> >
> > The log4j.xml file that I am using (that comes with JBoss) is below...
> >
> > 
> > 
> >
> > 
> > 
> > 
> > 
> > 
> >
> > 
> >
> > 
> >
> > http://jakarta.apache.org/log4j/";
> > debug="false">
> >
> >   
> >   
> >   
> >
> >   
> >   
> > 
> > 
> >
> > 
> > 
> >
> > 
> >
> > 
> >   
> >   
> >
> >   
> > 
> >   
> >
> >   
> >
> >   
> >   
> >   
> >
> >   
> > 
> > 
> >
> > 
> >   
> >   
> > 
> >   
> >
> >
> >   
> >   
> >   
> >
> >   
> >
> >   
> >
> >   
> >
> >   
> >
> >   
> >   
> >   
> >
> >   
> >
> >   
> >
> >   
> >
> >   
> >
> >   
> >   
> >   
> >
> >   
> > 
> > 
> >   
> >
> > 
> >
> >   - Original Message -
> >   From: Dmitri Colebatch
> >   To: [EMAIL PROTECTED]
> >   Sent: Wednesday, June 12, 2002 9:12 PM
> >   Subject: Re: [JBoss-user] Doesn't anyone have this problem?
> >
> >
> >   I have seen that before - I think it occurs when you configure log4j
> > console appenders twice - try removing the console appender from your
> > log4j config.
> >
> >   hth
> >   dim
> > - Original Message -
> > From: Mitchell Kim
> > To: [EMAIL PROTECTED]
> > Sent: Thursday, June 13, 2002 10:20 AM
> > Subject: [JBoss-user] Doesn't anyone have this problem?
> >
> >
> > I posted this message before...  but nobody is responding...  I
can't
> > believe I am the only who are having this issue...
> > Can any one help me?  Why am I getting that error?
> >
> > 
> >
> > I am using log4j for logging in one of my servlets.  It was working
> > as intended until I upgraded to JBoss 3.0.0 with integrated Jetty.  I am
> > seeing following error message on the console output.
> >
> > ERROR: invalid console appender config detected, console stream is
> > looping
> >
> > Does anyone know what's going on?
> > I am using the the log4j.xml file in the
> > D:\jboss-3.0.0\server\default\conf directory for
> > DOMConfigurator.configure(configDir + "/log4j.xml");
> > method.
> >
> > Can anyone tell me what I am doing wrong?
> >
> > Thanks in advance.
> >
> > 
> > Mitchell Kim (kimion.com)
> > Software Developer
> > [EMAIL PROTECTED]
> > http://www.kimion.com
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > I don't remeber that I have configured
log4j
> >
> > console appender twice.  I am using the log4j.xml file in the
> > "D:\jboss-3.0.0\server\default\conf" directory which is the one that
> > comes with
> > JBoss distribution.  I am using that config file for  > face=Arial size=2>DOMConfigurator.configure() method.  Am I doing
> > something
> > really wrong?  It works fine with WebLogic.  I guess that's
not
> >
> > relavent since WebLogic doesn't use log4j.  Then, my question is
> > what would
> > be the best way to do loggin in JBoss 3.0?  I have been using this
> > in
> > previous JBoss version and it worked fine...  
> > What am I doing wrong?
> >  
> > The log4j.xml file that I am using (that
> > comes with
> > JBoss) is below...
> >  
> >  > encoding="UTF-8"?> > "log4j.dtd">
> >  
> > 
> >  
> > 
>  
> 
>  
> 
>  
> http://jakarta.apache.org/log4j/"
> 
> debug="false">
>  
>       
> 
>  
>      class="org.jboss.logging.appender.DailyRollingFileAppender">   
> 
>  value="${jboss.server.home.dir}/lo

Re: [JBoss-user] Doesn't anyone have this problem?

2002-06-12 Thread Mitchell Kim



If I remove the console appender from the log4j.xml 
that comes with JBoss, then I don't see any output from the command 
prompt.  I don't want that to happen.
 
And, my another question is, if I am running 
"default" server configuration (JBoss 3), then which log4j.xml file JBoss 
use?  Is it "D:\jboss-3.0.0\server\default\conf\log4j.xml"?  The 
reason why I ask is that even though I change the configuration in that xml 
file, it doesn't look like the JBoss pick up that change at all...
 
Mitchell Kim

  - Original Message - 
  From: 
  Dmitri 
  Colebatch 
  To: [EMAIL PROTECTED] 
  
  Sent: Wednesday, June 12, 2002 9:12 
  PM
  Subject: Re: [JBoss-user] Doesn't anyone 
  have this problem?
  
  I have seen that before - I think it 
  occurs when you configure log4j console appenders twice - try removing the 
  console appender from your log4j config.
   
  hth
  dim
  
- Original Message - 
From: 
Mitchell Kim 

To: [EMAIL PROTECTED] 

Sent: Thursday, June 13, 2002 10:20 
AM
Subject: [JBoss-user] Doesn't anyone 
have this problem?


I posted this message before...  but 
nobody is responding...  I can't believe I am the only who are having 
this issue...
Can any one help me?  Why am I getting 
that error?
 

 
I am using log4j for logging in one of my 
servlets.  It was working as intended until I upgraded to JBoss 3.0.0 
with integrated Jetty.  I am seeing following error message on the 
console output.
 
ERROR: invalid console appender config 
detected, console stream is looping
 
Does anyone know what's going on?
I am using the the log4j.xml file in the 
D:\jboss-3.0.0\server\default\conf directory for 
    
DOMConfigurator.configure(configDir + "/log4j.xml");
method.
 
Can anyone tell me what I am doing 
wrong?
 
Thanks in advance.
 
Mitchell 
Kim (kimion.com)Software Developer[EMAIL PROTECTED]http://www.kimion.com


[JBoss-user] jboss 2.4.x & Log4J

2002-06-12 Thread Christian Bourque

Hi !

Is there a way to use the latest version of Log4J with JBoss 2.4.x ???

If I replace the old Log4J jar file with the new one I get this exception :

java.lang.NoSuchFieldError: priority
at org.jboss.logging.log4j.ConsoleAppender.append(ConsoleAppender.java:64)

Please let me know I really need to use the latest Log4J...

Regards
Christian



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Doesn't anyone have this problem?

2002-06-12 Thread Mitchell Kim



I don't remeber that I have configured log4j 
console appender twice.  I am using the log4j.xml file in the 
"D:\jboss-3.0.0\server\default\conf" directory which is the one that comes with 
JBoss distribution.  I am using that config file for DOMConfigurator.configure() method.  Am I doing something 
really wrong?  It works fine with WebLogic.  I guess that's not 
relavent since WebLogic doesn't use log4j.  Then, my question is what would 
be the best way to do loggin in JBoss 3.0?  I have been using this in 
previous JBoss version and it worked fine...  
What am I doing wrong?
 
The log4j.xml file that I am using (that comes with 
JBoss) is below...
 

 

 

 

 
http://jakarta.apache.org/log4j/" 
debug="false">
 
      

 
        
    

 
        
 
    
 
      
  
 
      
   

 
  
 
      
 
          
 
      
      
  
 
      
 
  
 
  
 
  
 
  
 
      
 
  
 
  
 
  
 
  
 
      
 
              


  - Original Message - 
  From: 
  Dmitri 
  Colebatch 
  To: [EMAIL PROTECTED] 
  
  Sent: Wednesday, June 12, 2002 9:12 
  PM
  Subject: Re: [JBoss-user] Doesn't anyone 
  have this problem?
  
  I have seen that before - I think it 
  occurs when you configure log4j console appenders twice - try removing the 
  console appender from your log4j config.
   
  hth
  dim
  
- Original Message - 
From: 
Mitchell Kim 

To: [EMAIL PROTECTED] 

Sent: Thursday, June 13, 2002 10:20 
AM
Subject: [JBoss-user] Doesn't anyone 
have this problem?


I posted this message before...  but 
nobody is responding...  I can't believe I am the only who are having 
this issue...
Can any one help me?  Why am I getting 
that error?
 

 
I am using log4j for logging in one of my 
servlets.  It was working as intended until I upgraded to JBoss 3.0.0 
with integrated Jetty.  I am seeing following error message on the 
console output.
 
ERROR: invalid console appender config 
detected, console stream is looping
 
Does anyone know what's going on?
I am using the the log4j.xml file in the 
D:\jboss-3.0.0\server\default\conf directory for 
    
DOMConfigurator.configure(configDir + "/log4j.xml");
method.
 
Can anyone tell me what I am doing 
wrong?
 
Thanks in advance.
 
Mitchell 
Kim (kimion.com)Software Developer[EMAIL PROTECTED]http://www.kimion.com


[JBoss-user] primary key question

2002-06-12 Thread Gary S. Cuozzo

I've been wanting to use a primitive datatype as a primary key for an 
entity bean, but have not been able to do so.  I guess I'm just a bit 
confused as I see it done in many examples, but they either don't 
compile, or don't deploy.  Right now, I just use something like 
java.lang.Integer as the primary key class.

I guess my question is:  Is it possible to do this?  It seems like it 
may make life a bit easier if it is.

If so, what do you set the  to?  What type do you return 
from the create() methods?  Anybody have a working example?

thanks,
gary.



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Doesn't anyone have this problem?

2002-06-12 Thread Dmitri Colebatch



I have seen that before - I think it occurs 
when you configure log4j console appenders twice - try removing the console 
appender from your log4j config.
 
hth
dim

  - Original Message - 
  From: 
  Mitchell Kim 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, June 13, 2002 10:20 
  AM
  Subject: [JBoss-user] Doesn't anyone have 
  this problem?
  
  
  I posted this message before...  but nobody 
  is responding...  I can't believe I am the only who are having this 
  issue...
  Can any one help me?  Why am I getting that 
  error?
   
  
   
  I am using log4j for logging in one of my 
  servlets.  It was working as intended until I upgraded to JBoss 3.0.0 
  with integrated Jetty.  I am seeing following error message on the 
  console output.
   
  ERROR: invalid console appender config detected, 
  console stream is looping
   
  Does anyone know what's going on?
  I am using the the log4j.xml file in the 
  D:\jboss-3.0.0\server\default\conf directory for 
      
  DOMConfigurator.configure(configDir + "/log4j.xml");
  method.
   
  Can anyone tell me what I am doing 
  wrong?
   
  Thanks in advance.
   
  Mitchell Kim 
  (kimion.com)Software Developer[EMAIL PROTECTED]http://www.kimion.com


[JBoss-user] Doesn't anyone have this problem?

2002-06-12 Thread Mitchell Kim




I posted this message before...  but nobody is 
responding...  I can't believe I am the only who are having this 
issue...
Can any one help me?  Why am I getting that 
error?
 

 
I am using log4j for logging in one of my 
servlets.  It was working as intended until I upgraded to JBoss 3.0.0 with 
integrated Jetty.  I am seeing following error message on the console 
output.
 
ERROR: invalid console appender config detected, 
console stream is looping
 
Does anyone know what's going on?
I am using the the log4j.xml file in the 
D:\jboss-3.0.0\server\default\conf directory for 
    
DOMConfigurator.configure(configDir + "/log4j.xml");
method.
 
Can anyone tell me what I am doing 
wrong?
 
Thanks in advance.
 
Mitchell Kim 
(kimion.com)Software Developer[EMAIL PROTECTED]http://www.kimion.com


Re: [JBoss-user] CreateException from ejbPostCreate method?

2002-06-12 Thread Stephen Coy

CreateException is mandatory on ejbCreate and optional on ejbPostCreate:

10.6.4 ejbCreate methods
...
The throws clause must define the javax.ejb.CreateException. The throws 
clause may define
arbitrary application specific exceptions.

and

10.6.5 ejbPostCreate methods
...
The throws clause may define arbitrary application specific exceptions, 
including the
javax.ejb.CreateException.


On Thursday, June 13, 2002, at 02:39  AM, McAuley, Tim wrote:

>
>> Did you declare CreateException for both the ejbCreate and
>> ejbPostCreate
>> methods? Do they both define the exact same exception
>> declarations?
>
> As far as I know they do. Both ejbCreate, ejbPostCreate and create 
> (under
> LocalHome) throw CreateException.
>
>> Can
>> you post a bug report the reproduces the UndeclaredThrowableException.
>>
>
> Will do, but it might take a day or two.
>
> I'll try out the latest version(s) of Jboss first. Our configuration 
> files
> need to be slightly updated to work with the new version, hence I have 
> not
> used it so far.
>
> Thanks for the replies.
>
> Tim
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Where to deploy servlets in jboss3.0

2002-06-12 Thread Jules Gosnell

The jetty/webapps dir is where you would place apps if you were using 
standalone Jetty.

Even back in 2.4.x the intention was for you to place them in 
jboss/deploy, packaged in a war (which was optionally packaged in an ear).

2.4 included a jetty/webapps dir because it included an entire Jetty 
distro. This is no longer the case in JBoss3. The Jetty service is now 
completely integrated and needs no home tree of it's own.

Good Luck !


Jules


Mitchell Kim wrote:
> I included the war file in a ear file in the deploy directory.  But, I 
> was able to deploy only the war file as well.
>  
> Mitchell
> 
> - Original Message -
> *From:* Sheng Zou 
> *To:* '[EMAIL PROTECTED]'
> 
> *Sent:* Wednesday, June 12, 2002 5:57 PM
> *Subject:* [JBoss-user] Where to deploy servlets in jboss3.0
> 
> Hi,
>  
> I am upgrading jboss2.4.4 to jboss3.0. Where should I place files
> used to be at "jboss-jetty/jetty/webapps" in jboss2.4.4 now in
> jboss3.0? I presume that it is going to be
> jboss/server/myserver/deploy now? If so, do I have to generate a WAR
> file?
>  
> thanks,
> sheng
> 




___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IDE Question

2002-06-12 Thread Dmitri Colebatch

Greg,

did this answer your question?  If not, have an ask on the XDoclet list - a
lot of us there use idea, and it would be a more appropriate place to ask
the question in the first place.

cheers
dim


- Original Message -
From: "Chris Chen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 13, 2002 4:39 AM
Subject: Re: [JBoss-user] IDE Question


> You know how I do it with IDEA to make it work?  I have ANT files to
> generate the EJB files.  Then I actually add that directory as part of my
> library in my project so that once the files are compiled, I can
> automatically see them and use them in my project and compile.
>
> That's the best way i've seen so far..
>
> I don't think there's any other IDE that lets you compile against
something
> that has no source code generated yet..
>
>
> THanks,
> Chris
>
> At 11:25 AM 06/12/2002, you wrote:
> >What IDE are you guys and gals using?  I have been using Intellij, but
> >now that I am getting into XDoclet, I find that Intellij is unable to
> >run a build file that contains an XDoclet.  I am about ready to look to
> >another IDE.  Any suggestions?
> >
> >Greg Turner
> >
> >Tiburon Enterprise Systems
> >http://www.tiburon-e-systems.com
> >Box 1171
> >Tiburon, CA 94920
> >415-332-3363
> >
> >
> >
> >___
> >
> >Sponsored by:
> >ThinkGeek at http://www.ThinkGeek.com/
> >___
> >JBoss-user mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> PGP at ldap://certserver.pgp.com/
>
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Where to deploy servlets in jboss3.0

2002-06-12 Thread Mitchell Kim
Title: questions on starting multiple jboss3.0 instances



I included the war file in a ear file in the deploy 
directory.  But, I was able to deploy only the war file as 
well.
 
Mitchell

  - Original Message - 
  From: 
  Sheng Zou 
  
  To: '[EMAIL PROTECTED]' 
  
  Sent: Wednesday, June 12, 2002 5:57 
  PM
  Subject: [JBoss-user] Where to deploy 
  servlets in jboss3.0
  
  Hi,
   
  I am upgrading 
  jboss2.4.4 to jboss3.0. Where should I place files used to be at 
  "jboss-jetty/jetty/webapps" in jboss2.4.4 now in jboss3.0? I presume that it 
  is going to be jboss/server/myserver/deploy now? If so, do I have to generate 
  a WAR file?
   
  thanks,
  sheng


Re: [JBoss-user] The Starting Point...

2002-06-12 Thread Mitchell Kim

I had to start migrating some of my code from WebLogic 7.0 to JBoss today
and I had the same question earlier.  I looked at the
JBoss.3.0QuickStart.pdf but wasn't quite clear on how to add connection
pools and etc.  However, I managed to make it work today but NOT QUITE SURE
if my configuration is well optimized but it works at least!!!  I need to
work with it more when I become more familiar with every different config
options.
Anyway, all I had to was to add mssql-service.xml and as400-service.xml to
deploy directory.  For mssql-service.xml, I modified the version from
"D:\jboss-3.0.0\docs\examples\jca" directory and for as400-service.xml, I
created based on examples provided those files in
"D:\jboss-3.0.0\docs\examples\jca" directory.  Basically, it was trial and
error process.

Mitchell

- Original Message -
From: "Gordon Luk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 10:06 PM
Subject: [JBoss-user] The Starting Point...


> Hi all,
>
> I just found the JBOSS 3.0 released. Current, i am using 2.4.3, when i
> know 3.0 released , DownLoad!! unpack... search the config file and add
> defination of database connection pool ... Oh! no.. where is ...
> jboss.jcml ... all have to change ok... no problem... i can read the
> README... INSTALL... it shoud be somewhere... :-( .. so bad... not found
> anything... mean that i have to read the comment in side the .xml file ...
>
> Anyone can give me a hand ? i don't want miss any option. Now , i just
> want add few connection pool (Postgres)... and deploy my old EJBs to new
> JBOSS ( oh... do i need change the jboss.xml ... my beans just session
> beans... and BMP entity beans.. ). Please help, Thanks.
>
> Which one document good for me at the startup (i mean purchase from
> jboss ) ?
>
>
> Gordon
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ___
>
> Multimillion Dollar Computer Inventory
> Live Webcast Auctions Thru Aug. 2002 -
http://www.cowanalexander.com/calendar
>
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] curious jndi? problem

2002-06-12 Thread Damon Torgerson

After fighting with this all day...shut down the serverstarted it 
back upeverything workedslightly frustrating but at least it's 
working.

On Tuesday, June 11, 2002, at 08:47 PM, Damon Torgerson wrote:

> Hello all,
>
> I've run across a curious problem.  I have deployed my EAR and the 
> beans are registered in jndi (as seen in the 8082 admin site).  
> Further, I have integrated my beans with my website and can access my 
> EJBs through classes running within the context of my web site.  Yet 
> the same calls cannot be from a simple outside of the context -- cannot 
> locate my beans throws a Naming Exception.
>
> I'm new to EJBs/JBoss so I hope that I haven't slaughtered too many 
> terms.
>
> I'm running JBoss 3.0 w/Tomcat
>
> This code worked in previous versions (RC1-3) but doesn't appear to be 
> working now.
>
> I hope that I haven't been too vague but I'm not sure what I should be 
> looking for.  Any help would be greatly appreciated.
>
> Thanks,
> Damon
>
>
> ___
>
> Multimillion Dollar Computer Inventory
> Live Webcast Auctions Thru Aug. 2002 - 
> http://www.cowanalexander.com/calendar
>
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 3/Tomcat 4.0.3 IllegalAccessError

2002-06-12 Thread Jerry Smith

I'm getting a java.lang.IllegalAccessError from a class that inherits from a
Catalina class:

java.lang.IllegalAccessError: class
org.apache.catalina.session.ReplicatedSession cannot access its superclass
org.apache.catalina.session.StandardSession
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at
org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:22
7)
... etc

Where should class files that inherit from Catalina classes go?

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Where to deploy servlets in jboss3.0

2002-06-12 Thread Sheng Zou
Title: questions on starting multiple jboss3.0 instances



Hi,
 
I am upgrading 
jboss2.4.4 to jboss3.0. Where should I place files used to be at 
"jboss-jetty/jetty/webapps" in jboss2.4.4 now in jboss3.0? I presume that it is 
going to be jboss/server/myserver/deploy now? If so, do I have to generate a WAR 
file?
 
thanks,
sheng


[JBoss-user] docs on jboss3.0 conf/deployment

2002-06-12 Thread Sheng Zou
Title: questions on starting multiple jboss3.0 instances



Hi, 

 
Is 
there any instruction on upgrading from jboss2.4 to jboss3.0? The paid document 
only covers jboss2.4.6, and the online html version doesn't really reflect the 
newest deployment/conf structure in today's jboss 3.0. What about conf/deploy 
using integrated Jetty service?
 
Also 
appriciate all the answers to my earlier questions today!
 
thanks,
sheng


[JBoss-user] can I add a datasource at runtime in 2.4.x?

2002-06-12 Thread Joe Hung

Is there a way to do it? For some reason our DB does not start before the
AppServer...and Jboss always stuck when it tries to create the datasource if
the database is not available.

Thanks in advance!

-joe


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] PostgreSQL "Boolean"-Support in JBoss 2.4.x

2002-06-12 Thread Andreas Schaefer

Hi Geeks

ATTENTION: Only applies to 2.4 because in 3.0 this
is already fixed.

A while ago I enountered a problem with PostgreSQL
and the support for "java.lang.Boolean".
When I define a PostgreSQL table attribute with
data type "Bool" the mapping in "standardjaws.xml" is
not working.
Therefore I would like to change from:

PostgreSQL

java.lang.Boolean
TINYINT
INT2


to:

PostgreSQL

java.lang.Boolean
CHAR
BOOLEAN


Any objects ? At least I want to document why using
INT2/TINYINT or BOOL/CHAR etc.

Thanx

x
Andreas Schaefer
Senior Consultant
JBoss Group, LLC
x



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] RE: jndi confusion - two servers on same machine

2002-06-12 Thread Glen Schrader

Ok the external context must not be intended to be used this way.  I am able
to connect to the other server when I create my own context.  I was hoping
that the calling bean would be able to use the same context so that I could
configure JBoss once and not have to worry about it.  Any suggestions for
where the configuration for the context should be kept so that the bean can
read from it?

-Original Message-
From: Glen Schrader [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 12:10 PM
To: [EMAIL PROTECTED]
Subject: jndi confusion - two servers on same machine


I have a similar problem, using JBoss 3.0.

I've defined my external context to use "external/central" as the jndi name
and it seems to show up correctly in the jndiview.  I then used the
following code to do the lookup.

Object objRef = ctx.lookup("external/central/ejb/Test");

On the other JBoss server, the jndi name for this bean is "ejb/Test"

I get a NameNotFoundException (Test not bound) and it looks from the stack
trace that it is going through the ExternalContext class, though it doesn't
seem to matter if I have the other JBoss server running or not.  I even
tried changing the provider.url to some bogus server expecting a timeout or
something but it comes back right away with the not bound message.

I've tried various combinations on the lookup and can't seem to figure out
what I'm doing wrong.  I've read through the section in the JBoss book
several times and I'm not sure as it doesn't really give this specific
example.

Any ideas?

thx,
Glen

-Original Message-

Okay so I fooled around with adding an external context mbean to the servlet
server - but it didn't seem to work.  The mbean is created fine but I still
get an error when trying to perform the lookup.  It doesn't seem like it is
ever trying to perform a connection to the external process since I get the
same exception regardless of whether the external process is running or not.

Has anybody been able to use an external context to attach to another jboss
server's naming service using 3.0?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gray Jones
Sent: Tuesday, June 11, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jndi confusion - two servers on same machine


I'm trying to run two different servers on the same machine.  The first one
hosts our ejb components and the second one hosts our servlets.  They are
both jboss servers.  In the ejb server I changed the jboss-service.xml file
to publish the naming service on port 1199 instead of the default 1099.


1299
  
  

Within the servlet server is a factory that is repsonsible for looking up
the home of one of the ejb components in the ejb server.  Below is the
snippet of code to create the initial context.  The file that gets passed in
contains the port of 1199 - which is what the ejb server is set to publish
on.

However it seems like these properties are getting ignored.  The lookup
always seems to attempt to perform its lookup against the local server (ie
the servlet server instead of the ejb server).  If I kill the ejb server,
this lookup doesn't even complain.

So my question is - is it possible to do a lookup from within a jboss server
to an external jboss server?

InputStream streamIn =
Thread.currentThread().getContextClassLoader().getResourceAsStream(fileName
);
Properties jndiProps = new Properties();
  jndiProps.load(streamIn);
  ctx = new InitialContext(jndiProps);

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1199
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Questions on Deployers

2002-06-12 Thread Sheng Zou
Title: Questions on Deployers





Hi,


I am a bit confused on the deployment strategy in JBoss 3.0.


what is usage and the loading sequence for 
+ jboss-3.0.0/lib/*.jar
+ jboss-3.0.0/lib/client/*.jar
+ jboss-3.0.0/server/myserver/lib/*.jar 
+ jboss-3.0.0/server/myserver/deploy/*.sar (i.e. jmx-rmi-adaptor.sar) 


Are there any deployer specific generation tools? 


thanks,
sheng





Re: [JBoss-user] Deploying a JSP on Jboss 2.4.4./Tomcat 4.0 and Apache

2002-06-12 Thread Greg Turner

Find attached a sample ear file which demonstrates how to map the root context
"/" and a context called foo, "/foo" to a war file.  This should be put into
the deploy directory.


Burkhard Vogel wrote:

> Hi,
> surely you need to. Anything that should run on the integrated JBoss/Tomcat
> stack needs to be packed as war (or in a dir-structure named foo.war/) and
> as any war it needs a WEB-INF/web.xml (and sometimes also a jboss-web.xml).
> The tomcat/webapps-dir is NOT used at all.
> Regards,
> Burkhard
> - Original Message -
> From: "Khosa, Sumeer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 11, 2002 11:28 AM
> Subject: [JBoss-user] Deploying a JSP on Jboss 2.4.4./Tomcat 4.0 and Apache
>
> > Hi,
> >
> > I am new to JBoss. I am trying to deploy a test JSP on JBoss 2.4.4.
> running
> > Tomcat 4.0 and integrated with Apache. Do i need to create  a deployment
> > descriptor for this also? Can anyone help me with this? Or is there a
> sample
> > code avalaible.
> >
> > Thanks
> > Sumeer.
> >
> > ___
> >
> > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user

--
Greg Turner

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




app.ear
Description: Binary data


[JBoss-user] Using MQSeries with JBoss configuration question

2002-06-12 Thread Werner Ramaekers

Hello,

unfortunately that the Forums are not working anymore, otherwise i would 
have to ask this question on the list, heck i should have saved the 
message, 

The question is :
can anybody post the jboss.jcml configuration part i need to be able to 
contact a MQSeries server and queues from appliactions running under JBoss.

I know somebody on this list knows how to do it, so please tell me.

Thanks

Werner
-- 
--
ir. Werner Ramaekers
Enterprise Java Solutions Architect - Shift@
Sun Certified Java Programmer

"May the source be with you."
 
--


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Deploying a JSP on Jboss 2.4.4./Tomcat 4.0 and Apache

2002-06-12 Thread Burkhard Vogel

Hi,
surely you need to. Anything that should run on the integrated JBoss/Tomcat
stack needs to be packed as war (or in a dir-structure named foo.war/) and
as any war it needs a WEB-INF/web.xml (and sometimes also a jboss-web.xml).
The tomcat/webapps-dir is NOT used at all.
Regards,
Burkhard
- Original Message -
From: "Khosa, Sumeer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 11:28 AM
Subject: [JBoss-user] Deploying a JSP on Jboss 2.4.4./Tomcat 4.0 and Apache


> Hi,
>
> I am new to JBoss. I am trying to deploy a test JSP on JBoss 2.4.4.
running
> Tomcat 4.0 and integrated with Apache. Do i need to create  a deployment
> descriptor for this also? Can anyone help me with this? Or is there a
sample
> code avalaible.
>
> Thanks
> Sumeer.
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-12 Thread Dain Sundstrom

The query you have posted here is using read ahead on-load.  This means 
that the entity you are loading was located using a finder, ejbSelect or 
cmr-field. When you locate an object using one of these methods, the 
default eager loading specification is overridden.  By default a finder 
will eager load on-load all of the fields in an entity.  You can specify 
the read-ahead loadgroup in the query specification, or at the entity level.

-dain

Dennis Muhlestein wrote:

>>Did you specify the default eager-load-group for the entity 
>>you are having a problem?
>>
> 
> It's right in there. (See xml below)
> Header 
> JBoss, before 3.0 final, didn't load it until I viewed a message.  Now,
> on this EJB (with 3.0 final), (And my other really big EJB) all fields
> are loaded instead of in their respective load groups.
> 
> JBoss prints this when loading messages.
> 
> Executing SQL: SELECT Id,Owner, ToUser, FromUser, Created, Subject,
> Message, FolderId FROM Messages WHERE (Id=?) OR (Id=?)..
> 
> The Message Field is not in the eager load group as far as I can tell.
> 
> Does the Xml Look correct?  My validator doesn't find any problems.
> 
> Thanks for your time..
> Dennis
> 
> 
> On Wed, 2002-06-12 at 12:57, Dain Sundstrom wrote:
> 
>>That is an eager load problem.  Lazy loading only happens when faulting 
>>in data.  Did you specify the default eager-load-group for the entity 
>>you are having a problem?
>>
>>-dain
>>
>>Dennis Muhlestein wrote:
>>
>>
>>>Here is my dtd:
>"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";>
>>>
>>>Here is my load section:
>>>
>>>
>>>
>>>   
>>> Header  
>  
>>>owner
>>>toUser
>>>fromUser
>>>created
>>>subject
>>>folderId
>>>
>>>
>>>Body
>>>message
>>>
>>>
>>>Header
>>>
>>>Body
>>>
>>>
>>>
>>>I don't get any warnings and When My MessageEJB loads, the message field
>>>is loaded as well.
>>>
>>>JBoss 3.0 final / SuSE Linux 7.3 / sun jdk1.4.0 
>>>
>>>I don't get any jboss messages when I deploy.  Not quite as big a deal
>>>on this ejb, but I have another one with many fields.  It has about 6
>>>load groups bit it is also being loaded all at once.
>>>
>>>Thanks Dennis
>>>
>>>
>>>On Wed, 2002-06-12 at 11:08, Dain Sundstrom wrote:
>>>
>>>
The declaration of lazy load groups did change.  Does your 
jbosscmp-jdbc.xml file declare a DOCTYPE?  If not, add it and you will 
see messages telling you where the problem are.  The JBossCMP 
documentation contains a complete read-ahead example, and it does lazy 
loading correctly.

-dain

Dennis Muhlestein wrote:



>I have a couple ejbs that have an eager and multiple lazy load groups.
>
>I set them on on 3.0 rc2&3 and everything worked fine.  Now, on 3.0
>final.  I noticed that in my debug output of sql, the entire ejb is
>being loaded again.
>
>Has anything changed?  Maybe someone can verify this before I post a bug
>or something.
>
>Thanks
>Dennis
>
>
>
>
>___
>
>Sponsored by:
>ThinkGeek at http://www.ThinkGeek.com/
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



>>>
>>>
>>>___
>>>
>>>Sponsored by:
>>>ThinkGeek at http://www.ThinkGeek.com/
>>>___
>>>JBoss-user mailing list
>>>[EMAIL PROTECTED]
>>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>>
>>>
>>
>>
>>___
>>
>>Sponsored by:
>>ThinkGeek at http://www.ThinkGeek.com/
>>___
>>JBoss-user mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



___

Sponsored by:
ThinkGeek at http://ww

[JBoss-user] error running client against 3.0

2002-06-12 Thread Eric Kaplan

I'm in the process of migrating to 3.0.  When I run my client, which ran
fine before, I now get the following.  I pulled in what I think are the new
client libraries.  Is this a configuration issue?

Regards

Eric

Error initializing connections to application server
javax.naming.CommunicationException.  Root exception is
java.lang.ClassNotFoundException: org.jboss.proxy.ClientContainer (no
security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132)
at
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:143)
at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:918)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at
java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
at
java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at
com.armanta.ejb.ArmantaDataAbstraction.getHome(ArmantaDataAbstraction.java:4
4)
at com.armanta.rptgen.DataServer.(DataServer.java:134)
at com.armanta.app.portviewer.PortGui.main(PortGui.java:461)
*

C:\armanta-abp>

Eric Kaplan
Armanta, Inc.
55 Madison Ave.
Morristown, NJ  07960
Phone: (973) 326-9600




winmail.dat
Description: application/ms-tnef


Re: [JBoss-user] What's the best java.util.Collection to return?

2002-06-12 Thread David Ward

If you really want to return an unmodifiable Collection structure, you 
can use one of these helper methods in the java.util.Collections class:

static Collection unmodifiableCollection(Collection c)
static List unmodifiableList(List list)
static Map unmodifiableMap(Map m)
static Set unmodifiableSet(Set s)
static SortedMap unmodifiableSortedMap(SortedMap m)
static SortedSet unmodifiableSortedSet(SortedSet s)

So you could do:
{
 ...
 origList = new ArrayList();
 origList.add(x);
 ...
 return Collections.unmodifiableList( origList );
}

Just make sure the contents of the Collection are Serializable or Remote.

Now, that being said, if this EJB you're talking about is a stateless 
session bean (slsb) accessing entities, it would be ***BAD*** to return 
remote interfaces of those entities.  Much network calls and separate 
transactions = bad performance and more.

Instead, use local interfaces to your entites from your slsb, put the 
data into Serializable data transfer objects (reg. javabeans, or 
"dto's"), shove them into an ArrayList, and return that.  Of course, 
that's just one (common) design pattern among other viable options.

Hope this helps,
David

--

Brandon Knitter wrote:
> Okay, I know this is not JBoss specific, but I got a good response from my last
> question, and this is a question in the context of EJB.
> 
> When returning a java.util.Collection, what object is the best to return?  I'm
> assuming that returning a Vector is not really a good idea as it is able to be
> modified.  What options for immutable Collection implementations are there?
> 
> 



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IDE Question

2002-06-12 Thread Damon Torgerson

Hunter...

Could you point me to some documentation regarding your projectbuilder 
ant set up?

Thanks,
Damon

On Wednesday, June 12, 2002, at 12:44 PM, Hunter Hillegas wrote:

> [EMAIL PROTECTED]


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] IDE Question

2002-06-12 Thread Frank Groot

I'm using Forte and/or Netbeans with the Ant module, XDoclet and
Strutsconsole.
Comfortable enough for me


Succes,

Frank

-Original Message-
From: Gray Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 20:39
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] IDE Question


I've been using jEdit - but I'm not using XDoclet yet.  It is able to
run
ant build files though

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Greg Turner
Sent: Wednesday, June 12, 2002 2:26 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] IDE Question


What IDE are you guys and gals using?  I have been using Intellij, but
now that I am getting into XDoclet, I find that Intellij is unable to
run a build file that contains an XDoclet.  I am about ready to look to
another IDE.  Any suggestions?

Greg Turner

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



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IDE Question

2002-06-12 Thread Hunter Hillegas

Apple ProjectBuilder (MacOS X tools), with an ANT build target. Works great.

> From: "Frank Groot" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Wed, 12 Jun 2002 21:04:02 +0200
> To: <[EMAIL PROTECTED]>
> Subject: RE: [JBoss-user] IDE Question
> 
> I'm using Forte and/or Netbeans with the Ant module, XDoclet and
> Strutsconsole.
> Comfortable enough for me
> 
> 
> Succes,
> 
> Frank
> 
> -Original Message-
> From: Gray Jones [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 12, 2002 20:39
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] IDE Question
> 
> 
> I've been using jEdit - but I'm not using XDoclet yet.  It is able to
> run
> ant build files though
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Turner
> Sent: Wednesday, June 12, 2002 2:26 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] IDE Question
> 
> 
> What IDE are you guys and gals using?  I have been using Intellij, but
> now that I am getting into XDoclet, I find that Intellij is unable to
> run a build file that contains an XDoclet.  I am about ready to look to
> another IDE.  Any suggestions?
> 
> Greg Turner
> 
> Tiburon Enterprise Systems
> http://www.tiburon-e-systems.com
> Box 1171
> Tiburon, CA 94920
> 415-332-3363
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Oracle 8i JDBC connection broken in JBoss 3.0.0 Final?

2002-06-12 Thread Bill Burke

I've used the following configuration with Oracle 8.1.7 on Win2k with JBoss
3.  BTW, I didn't use the JAAS stuff(login-config.xml)

Regards,

Bill









  
  
  
  
  

  






  
  

OracleDS


  
jdbc:oracle:thin:@localhost:1521:FABCONWB
oracle.jdbc.driver.OracleDriver
plm
plm
  





jboss.jca:service=RARDeployment,n
ame=JBoss LocalTransaction JDBC Wrapper
  



  
  

0
50
5000
15

ByContainer
  


jboss.jca:service=CachedCo
nnectionManager

jboss.security:name=Jaa
sSecurityManager

java:/TransactionManager


jboss.jca:service=RARDeployer

  




> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David Watson
> Sent: Wednesday, June 12, 2002 2:50 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Oracle 8i JDBC connection broken in JBoss 3.0.0
> Final?
>
>
> We had several Oracle 8i database schemas working with JDBC in
> JBoss 3.0.0RC2. We upgraded to JBoss 3.0.0 final while moving the
> database configuration in jboss-service.xml and login-config.xml.
> We cannot get a JDBC connection to work using the 3.0.0 final
> version. When we make a request, we see the following error in
> the server.log:
>
>  org.jboss.util.NestedSQLException: Apparently wrong driver class
> specified for URL: class: oracle.jdbc.driver.OracleDriver, url:
> jdbc:oracle:thin:@172.30.204.132:1521:DCOM; - nested throwable:
> (javax.resource.ResourceException: Apparently wrong driver class
> specified for URL: class: oracle.jdbc.driver.OracleDriver, url:
> jdbc:oracle:thin:@172.30.204.132:1521:DCOM)
>
> Does anybody know whether there was a regression in JBoss 3.0.0
> with regard to Oracle JDBC connections? We've tried a number of
> configuration changes but none of them work.
>
> Thanks,
> David
>
> from jboss-service.xml:
>
>   code="org.jboss.resource.connectionmanager.LocalTxConnectionManage
> r" name="jboss.jca:service=LocalTxCM,name=REG_DCOM">
>name="SecurityDomainJndiName">RegistrationOracleDbRealm
>  
>   name="jboss.jca:service=LocalTxDS,name=REG_DCOM">
>   REG_DCOM
>  
>  
>type="java.lang.String">jdbc:oracle:thin:@172.30.204.132:1521:DCOM
> 
>type="java.lang.String">oracle.jdbc.driver.OracleDriver operty>
>   
>   
>optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDe
> ployment,name=JBoss LocalTransaction JDBC Wrapper
>   
>   
>  
>   code="org.jboss.resource.connectionmanager.JBossManagedConnectionP
> ool" name="jboss.jca:service=LocalTxPool,name=REG_DCOM">
>   0
>   50
>   5000
>   15
>   ByContainer
>   
>   
>optional-attribute-name="CachedConnectionManager">jboss.jca:servic
> e=CachedConnectionManager
>optional-attribute-name="JaasSecurityManagerService">jboss.securit
> y:name=JaasSecurityManager
>name="TransactionManager">java:/TransactionManager
>   jboss.jca:service=RARDeployer
>   
>
> from login-config.xml:
>
> 
>
>"org.jboss.resource.security.ConfiguredIdentityLoginModule" flag
> = "required">
>  dave
>  dave
>  mypass
>   "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=RE
> G_DCOM
>   
>
> 
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Creating vertical cluster jb+tomcat

2002-06-12 Thread Miroslav . Chowaniok


Is it possible to cluster jboss 3.0 +tomcat within one machine?

Has anyone done it? if so you would you be willing to share your how to's?

Thanks.
Miroslav



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-12 Thread Dennis Muhlestein

>Did you specify the default eager-load-group for the entity 
> you are having a problem?

It's right in there. (See xml below)
Header That is an eager load problem.  Lazy loading only happens when faulting 
> in data.  Did you specify the default eager-load-group for the entity 
> you are having a problem?
> 
> -dain
> 
> Dennis Muhlestein wrote:
> 
> > Here is my dtd:
> >  > "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";>
> > 
> > Here is my load section:
> > 
> > 
> > 
> >
> > Header  
>  
> > owner
> > toUser
> > fromUser
> > created
> > subject
> > folderId
> > 
> > 
> > Body
> > message
> > 
> > 
> > Header
> > 
> > Body
> > 
> > 
> > 
> > I don't get any warnings and When My MessageEJB loads, the message field
> > is loaded as well.
> > 
> > JBoss 3.0 final / SuSE Linux 7.3 / sun jdk1.4.0 
> > 
> > I don't get any jboss messages when I deploy.  Not quite as big a deal
> > on this ejb, but I have another one with many fields.  It has about 6
> > load groups bit it is also being loaded all at once.
> > 
> > Thanks Dennis
> > 
> > 
> > On Wed, 2002-06-12 at 11:08, Dain Sundstrom wrote:
> > 
> >>The declaration of lazy load groups did change.  Does your 
> >>jbosscmp-jdbc.xml file declare a DOCTYPE?  If not, add it and you will 
> >>see messages telling you where the problem are.  The JBossCMP 
> >>documentation contains a complete read-ahead example, and it does lazy 
> >>loading correctly.
> >>
> >>-dain
> >>
> >>Dennis Muhlestein wrote:
> >>
> >>
> >>>I have a couple ejbs that have an eager and multiple lazy load groups.
> >>>
> >>>I set them on on 3.0 rc2&3 and everything worked fine.  Now, on 3.0
> >>>final.  I noticed that in my debug output of sql, the entire ejb is
> >>>being loaded again.
> >>>
> >>>Has anything changed?  Maybe someone can verify this before I post a bug
> >>>or something.
> >>>
> >>>Thanks
> >>>Dennis
> >>>
> >>>
> >>>
> >>>
> >>>___
> >>>
> >>>Sponsored by:
> >>>ThinkGeek at http://www.ThinkGeek.com/
> >>>___
> >>>JBoss-user mailing list
> >>>[EMAIL PROTECTED]
> >>>https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>>
> >>>
> >>
> >>
> >>___
> >>
> >>Sponsored by:
> >>ThinkGeek at http://www.ThinkGeek.com/
> >>___
> >>JBoss-user mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> >>
> > 
> > 
> > 
> > ___
> > 
> > Sponsored by:
> > ThinkGeek at http://www.ThinkGeek.com/
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jrmp tunnel through http with JBoss 3.0.

2002-06-12 Thread David Ward

Can anyone please give me some doc pointers on how to do this with JBoss 
3.0?

Thanks,
David


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] IDE Question

2002-06-12 Thread Starsinic, Frank
Title: RE: [JBoss-user] IDE Question





i use visual slick edit. 


Jedit is ok but too slow compared to a Compiled IDE.


slick edit works great with java, wonderful editing features
you get with no other editor, beautification, api viewing,
macros, search-replace with regular expressions and 
on multiple files at once (or all files)


i've got it set up to compile with Jikes, and build with ANT.


it's got a handy FTP client, the new version has an integreated
debugger, a la JBuilder. 


It has an awesome difference / merge tool.


the new version has a great XML editor that also checks 
for well-formedness and will run against schemas, etc.


I set it up to work with CVS, PVCS, Visual Source Safe, etc.
so you don't have to use those IDE's. just check in / check out/ diff
history, etc. all from within slick edit.


i've tried all the editors and i'm always disappointed with everything except Visual SlickEdit. 


it's also quite reasonable.  around $200 or so.



if you have any questions about it, let me know.


they have a free eval on their site for their new version 7.0.




-Original Message-
From: Gray Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 11:39 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] IDE Question



I've been using jEdit - but I'm not using XDoclet yet.  It is able to run
ant build files though


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Greg Turner
Sent: Wednesday, June 12, 2002 2:26 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] IDE Question



What IDE are you guys and gals using?  I have been using Intellij, but
now that I am getting into XDoclet, I find that Intellij is unable to
run a build file that contains an XDoclet.  I am about ready to look to
another IDE.  Any suggestions?


Greg Turner


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




___


Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



___


Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





[JBoss-user] 3.0.0 PetStore deployment

2002-06-12 Thread bryan hansen

Are their instructions that are more up to date than
the flashline/pdf on deploying the petstore? I am
going through the PDF and they seem like they aren't
really in sync with the conversion process. They also
keep talking about the petstore patch and that you can
just apply the patch over the directory and that
should fix things. Well... where is the patch?

I don't really care about the process of changing it
over. If someone has gotten this to work and has the
ear file already built, I would greatly appreciate it
if you would send it to me. If not, maybe some more up
to date instructions would be nice.

Thanks,

Bryan

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JNDI question

2002-06-12 Thread Starsinic, Frank
Title: RE: [JBoss-user] JNDI question





I've asked this one before but have not gotten around the problem so i'm re-asking. forgive me.


I start up JBOSS and things get loaded into JNDI (just strings)


Jboss uses them and they work just fine doing a ctx.lookup("name");



a remote server also uses those values by looking up the jboss
machine via jndi.properties


all seems well.



Now comes the part i do not understand:


if an object gets changed via  ctx.rebind("name", "newvalue");
and the ctx.rebind() method is invoked within the JBoss jvm,
the changes only seem to be "changed" if a ctx.lookup("name")
is done within the Jboss jvm.


a ctx.lookup("name") from a remote server STILL returns the
original value.


The inverse/converse/opposite (or whatever) is also true.


if I do a ctx.rebind("name","newvalue") from a remote server, the changes seem to take effect if ctx.lookup("name") is done from the remote server BUT ctx.lookup("name") from within the jboss jvm will return the original values AGAIN.  AARR!!!


how can this be?  





RE: [JBoss-user] questions on starting multiple jboss3.0 instances

2002-06-12 Thread Mike Finn
Title: questions on starting multiple jboss3.0 instances



run.bat -c myserver

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Sheng 
  ZouSent: Wednesday, June 12, 2002 2:43 PMTo: 
  '[EMAIL PROTECTED]'Subject: [JBoss-user] questions 
  on starting multiple jboss3.0 instances
  Hi all, 
  I am trying to start multiple jboss3.0 instances, and I made 
  copies of jboss-3.0.0/server/default to jboss-3.0.0/server/myserver. Then I 
  run the new instance as jboss-3.0.0/bin/run.bat myserver, however, I got this 
  message at the beginning:
      run.bat: unused 
  non-option argument: myserver And it doesn't seem to 
  run "myserver" instance. 
  Help pls! 
  thanks, sheng 



RE: [JBoss-user] questions on starting multiple jboss3.0 instances

2002-06-12 Thread Igor Rabinovich
Title: questions on starting multiple jboss3.0 instances



you 
need to run
 
run 
-c myserver

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Sheng 
  ZouSent: Wednesday, June 12, 2002 11:43 AMTo: 
  '[EMAIL PROTECTED]'Subject: [JBoss-user] questions 
  on starting multiple jboss3.0 instances
  Hi all, 
  I am trying to start multiple jboss3.0 instances, and I made 
  copies of jboss-3.0.0/server/default to jboss-3.0.0/server/myserver. Then I 
  run the new instance as jboss-3.0.0/bin/run.bat myserver, however, I got this 
  message at the beginning:
      run.bat: unused 
  non-option argument: myserver And it doesn't seem to 
  run "myserver" instance. 
  Help pls! 
  thanks, sheng 



Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-12 Thread Dain Sundstrom

That is an eager load problem.  Lazy loading only happens when faulting 
in data.  Did you specify the default eager-load-group for the entity 
you are having a problem?

-dain

Dennis Muhlestein wrote:

> Here is my dtd:
>  "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";>
> 
> Here is my load section:
> 
> 
> 
>
>   Header  
>  
> owner
> toUser
> fromUser
> created
> subject
> folderId
> 
> 
> Body
> message
> 
> 
> Header
> 
> Body
> 
> 
> 
> I don't get any warnings and When My MessageEJB loads, the message field
> is loaded as well.
> 
> JBoss 3.0 final / SuSE Linux 7.3 / sun jdk1.4.0 
> 
> I don't get any jboss messages when I deploy.  Not quite as big a deal
> on this ejb, but I have another one with many fields.  It has about 6
> load groups bit it is also being loaded all at once.
> 
> Thanks Dennis
> 
> 
> On Wed, 2002-06-12 at 11:08, Dain Sundstrom wrote:
> 
>>The declaration of lazy load groups did change.  Does your 
>>jbosscmp-jdbc.xml file declare a DOCTYPE?  If not, add it and you will 
>>see messages telling you where the problem are.  The JBossCMP 
>>documentation contains a complete read-ahead example, and it does lazy 
>>loading correctly.
>>
>>-dain
>>
>>Dennis Muhlestein wrote:
>>
>>
>>>I have a couple ejbs that have an eager and multiple lazy load groups.
>>>
>>>I set them on on 3.0 rc2&3 and everything worked fine.  Now, on 3.0
>>>final.  I noticed that in my debug output of sql, the entire ejb is
>>>being loaded again.
>>>
>>>Has anything changed?  Maybe someone can verify this before I post a bug
>>>or something.
>>>
>>>Thanks
>>>Dennis
>>>
>>>
>>>
>>>
>>>___
>>>
>>>Sponsored by:
>>>ThinkGeek at http://www.ThinkGeek.com/
>>>___
>>>JBoss-user mailing list
>>>[EMAIL PROTECTED]
>>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>>
>>>
>>
>>
>>___
>>
>>Sponsored by:
>>ThinkGeek at http://www.ThinkGeek.com/
>>___
>>JBoss-user mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] IDE Question

2002-06-12 Thread Bill Burke

Emacs has a JAVA IDE that's integratable with ANT.

Personally I just use XDoclet, ANT, and emacs.  When I want to debug, I use
stack traces and print statements.  When I want to profile, I use
OptimizeIt.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dain
> Sundstrom
> Sent: Wednesday, June 12, 2002 2:25 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] IDE Question
>
>
> vi and bash is all you will every need (unless you are an emacs user
> then all you will ever need is emacs)
>
> -dain
>
> Greg Turner wrote:
>
> > What IDE are you guys and gals using?  I have been using Intellij, but
> > now that I am getting into XDoclet, I find that Intellij is unable to
> > run a build file that contains an XDoclet.  I am about ready to look to
> > another IDE.  Any suggestions?
> >
> > Greg Turner
> >
> > Tiburon Enterprise Systems
> > http://www.tiburon-e-systems.com
> > Box 1171
> > Tiburon, CA 94920
> > 415-332-3363
> >
> >
> >
> > ___
> >
> > Sponsored by:
> > ThinkGeek at http://www.ThinkGeek.com/
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
>
>
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] questions on starting multiple jboss3.0 instances

2002-06-12 Thread Gray Jones
Title: questions on starting multiple jboss3.0 instances



I 
think you need to add -c
jboss-3.0.0/bin/run.bat -c myserver

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Sheng 
  ZouSent: Wednesday, June 12, 2002 2:43 PMTo: 
  '[EMAIL PROTECTED]'Subject: [JBoss-user] questions 
  on starting multiple jboss3.0 instances
  Hi all, 
  I am trying to start multiple jboss3.0 instances, and I made 
  copies of jboss-3.0.0/server/default to jboss-3.0.0/server/myserver. Then I 
  run the new instance as jboss-3.0.0/bin/run.bat myserver, however, I got this 
  message at the beginning:
      run.bat: unused 
  non-option argument: myserver And it doesn't seem to 
  run "myserver" instance. 
  Help pls! 
  thanks, sheng 



Re: [JBoss-user] IDE Question

2002-06-12 Thread Francisco Andrades

vi :)

Francisco Andrades
NextJ.com

- Original Message - 
From: "Greg Turner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 2:25 PM
Subject: [JBoss-user] IDE Question


> What IDE are you guys and gals using?  I have been using Intellij, but
> now that I am getting into XDoclet, I find that Intellij is unable to
> run a build file that contains an XDoclet.  I am about ready to look to
> another IDE.  Any suggestions?
> 
> Greg Turner
> 
> Tiburon Enterprise Systems
> http://www.tiburon-e-systems.com
> Box 1171
> Tiburon, CA 94920
> 415-332-3363
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] questions on starting multiple jboss3.0 instances

2002-06-12 Thread Sheng Zou
Title: questions on  starting multiple jboss3.0 instances





Hi all,


I am trying to start multiple jboss3.0 instances, and I made copies of jboss-3.0.0/server/default to jboss-3.0.0/server/myserver. Then I run the new instance as jboss-3.0.0/bin/run.bat myserver, however, I got this message at the beginning:

    run.bat: unused non-option argument: myserver
And it doesn't seem to run "myserver" instance.


Help pls!


thanks,
sheng





[JBoss-user] Oracle 8i JDBC connection broken in JBoss 3.0.0 Final?

2002-06-12 Thread David Watson

We had several Oracle 8i database schemas working with JDBC in JBoss 3.0.0RC2. We 
upgraded to JBoss 3.0.0 final while moving the database configuration in 
jboss-service.xml and login-config.xml. We cannot get a JDBC connection to work using 
the 3.0.0 final version. When we make a request, we see the following error in the 
server.log: 
  
 org.jboss.util.NestedSQLException: Apparently wrong driver class specified for URL: 
class: oracle.jdbc.driver.OracleDriver, url: 
jdbc:oracle:thin:@172.30.204.132:1521:DCOM; - nested throwable: 
(javax.resource.ResourceException: Apparently wrong driver class specified for URL: 
class: oracle.jdbc.driver.OracleDriver, url: 
jdbc:oracle:thin:@172.30.204.132:1521:DCOM) 

Does anybody know whether there was a regression in JBoss 3.0.0 with regard to Oracle 
JDBC connections? We've tried a number of configuration changes but none of them work. 
  
Thanks, 
David 
  
from jboss-service.xml: 
  
  
  RegistrationOracleDbRealm 
  
  
  REG_DCOM 
  
  
  jdbc:oracle:thin:@172.30.204.132:1521:DCOM 
  oracle.jdbc.driver.OracleDriver  
   
   
  jboss.jca:service=RARDeployment,name=JBoss 
LocalTransaction JDBC Wrapper 
   
   
  
  
  0 
  50 
  5000 
  15  
  ByContainer 
   
   
  jboss.jca:service=CachedConnectionManager
 
  jboss.security:name=JaasSecurityManager
 
  java:/TransactionManager  
  jboss.jca:service=RARDeployer 
   

from login-config.xml: 
  
 

   
 dave 
 dave 
 mypass 
 jboss.jca:service=LocalTxCM,name=REG_DCOM
 
   

 

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-12 Thread Dennis Muhlestein

Here is my dtd:
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";>

Here is my load section:



   
Header  
  
owner
toUser
fromUser
created
subject
folderId


Body
message


Header

Body



I don't get any warnings and When My MessageEJB loads, the message field
is loaded as well.

JBoss 3.0 final / SuSE Linux 7.3 / sun jdk1.4.0 

I don't get any jboss messages when I deploy.  Not quite as big a deal
on this ejb, but I have another one with many fields.  It has about 6
load groups bit it is also being loaded all at once.

Thanks Dennis


On Wed, 2002-06-12 at 11:08, Dain Sundstrom wrote:
> The declaration of lazy load groups did change.  Does your 
> jbosscmp-jdbc.xml file declare a DOCTYPE?  If not, add it and you will 
> see messages telling you where the problem are.  The JBossCMP 
> documentation contains a complete read-ahead example, and it does lazy 
> loading correctly.
> 
> -dain
> 
> Dennis Muhlestein wrote:
> 
> > I have a couple ejbs that have an eager and multiple lazy load groups.
> > 
> > I set them on on 3.0 rc2&3 and everything worked fine.  Now, on 3.0
> > final.  I noticed that in my debug output of sql, the entire ejb is
> > being loaded again.
> > 
> > Has anything changed?  Maybe someone can verify this before I post a bug
> > or something.
> > 
> > Thanks
> > Dennis
> > 
> > 
> > 
> > 
> > ___
> > 
> > Sponsored by:
> > ThinkGeek at http://www.ThinkGeek.com/
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] $10,$60,$120 - PEANUTS! Are Docs Stable, 3.0, Lead, Mis-lead?

2002-06-12 Thread Dain Sundstrom

The JBossCMP documentation posted yesterday is fully up-to-date with 3.0.

-dain

Bill Burke wrote:

> I can only speak acurately for the clustering documentation:
> 
> The clustering documentation is up-to-date for 3.0.  We will be releasing a
> new version soon, but this is mainly a reformatting and a decent increase in
> new information and configuration and trouble shooting(new configuration is
> additional to already documented functionality.)
> 
> The CMP docs Dain will have to tell you what's up with that.
> 
> The JBoss manual is the pdf version of the SAMs publishing and only covers
> JBoss 2.4.x.
> 
> The QuickStart guide is fully up-to-date with 3.0.
> 
> Regards,
> 
> Bill
> 
> 
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]]On Behalf Of Paul Sabadin
>>Sent: Wednesday, June 12, 2002 1:41 PM
>>To: Jboss-User@Lists. Sourceforge. Net
>>Subject: [JBoss-user] $10,$60,$120 - PEANUTS! Are Docs Stable, 3.0,
>>Lead, Mis-lead?
>>
>>
>>Welcoming all opinions (esp. authors) on this!
>>
>>I care much less about the reasonable cost of the docs! In fact,
>>I would pay
>>someone to steer me AWAY from any technology docs that are deprecated or
>>inaccurate. WHAT I CARE ABOUT:
>>
>>1) Do current docs (all docs - basic, CMP, clustering, etc.) accurately
>>reflect the current 3.0 final release?
>>
>>2) If I invest my precious and pressured time will docs lead me
>>in a stable
>>direction or is 3.0 in such flux that docs will be out of sync.
>>
>>3) Being a beginner with JBoss, are docs tutorial or example-like, or are
>>they statements of fact, structure, and architecture.
>>
>>4) Bottom line - Can us beginners get docs and GET PRODUCTIVE on 3.0
>>IMMEDIATELY?
>>
>>
>>Thanks,
>>
>>Paul
>>
>>
>>___
>>
>>Sponsored by:
>>ThinkGeek at http://www.ThinkGeek.com/
>>___
>>JBoss-user mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IDE Question

2002-06-12 Thread Chris Chen

You know how I do it with IDEA to make it work?  I have ANT files to 
generate the EJB files.  Then I actually add that directory as part of my 
library in my project so that once the files are compiled, I can 
automatically see them and use them in my project and compile.

That's the best way i've seen so far..

I don't think there's any other IDE that lets you compile against something 
that has no source code generated yet..


THanks,
Chris

At 11:25 AM 06/12/2002, you wrote:
>What IDE are you guys and gals using?  I have been using Intellij, but
>now that I am getting into XDoclet, I find that Intellij is unable to
>run a build file that contains an XDoclet.  I am about ready to look to
>another IDE.  Any suggestions?
>
>Greg Turner
>
>Tiburon Enterprise Systems
>http://www.tiburon-e-systems.com
>Box 1171
>Tiburon, CA 94920
>415-332-3363
>
>
>
>___
>
>Sponsored by:
>ThinkGeek at http://www.ThinkGeek.com/
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user

PGP at ldap://certserver.pgp.com/


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] IDE Question

2002-06-12 Thread Gray Jones

I've been using jEdit - but I'm not using XDoclet yet.  It is able to run
ant build files though

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Greg Turner
Sent: Wednesday, June 12, 2002 2:26 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] IDE Question


What IDE are you guys and gals using?  I have been using Intellij, but
now that I am getting into XDoclet, I find that Intellij is unable to
run a build file that contains an XDoclet.  I am about ready to look to
another IDE.  Any suggestions?

Greg Turner

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



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] busted jboss dtd's?

2002-06-12 Thread Sonnek, Ryan

what's up with the DTD's on JBoss' site?
every time i try to work with jboss-web.dtd or jboss-web_3_0.dtd, i'm
receiving errors.

http://www.jboss.org/j2ee/dtd/jboss-web.dtd
http://www.jboss.org/j2ee/dtd/jboss-web_3_0.dtd


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] jndi confusion - two servers on same machine

2002-06-12 Thread Gray Jones

I haven't been able to get it to work yet either.  I'm going to try a
stand-alone test probably tommorow to see if that helps shed light on
things.

Glad to see it isn't only me...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Glen
Schrader
Sent: Wednesday, June 12, 2002 2:10 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jndi confusion - two servers on same machine


I have a similar problem, using JBoss 3.0.

I've defined my external context to use "external/central" as the jndi name
and it seems to show up correctly in the jndiview.  I then used the
following code to do the lookup.

Object objRef = ctx.lookup("external/central/ejb/Test");

On the other JBoss server, the jndi name for this bean is "ejb/Test"

I get a NameNotFoundException (Test not bound) and it looks from the stack
trace that it is going through the ExternalContext class, though it doesn't
seem to matter if I have the other JBoss server running or not.  I even
tried changing the provider.url to some bogus server expecting a timeout or
something but it comes back right away with the not bound message.

I've tried various combinations on the lookup and can't seem to figure out
what I'm doing wrong.  I've read through the section in the JBoss book
several times and I'm not sure as it doesn't really give this specific
example.

Any ideas?

thx,
Glen

-Original Message-

Okay so I fooled around with adding an external context mbean to the servlet
server - but it didn't seem to work.  The mbean is created fine but I still
get an error when trying to perform the lookup.  It doesn't seem like it is
ever trying to perform a connection to the external process since I get the
same exception regardless of whether the external process is running or not.

Has anybody been able to use an external context to attach to another jboss
server's naming service using 3.0?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gray Jones
Sent: Tuesday, June 11, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jndi confusion - two servers on same machine


I'm trying to run two different servers on the same machine.  The first one
hosts our ejb components and the second one hosts our servlets.  They are
both jboss servers.  In the ejb server I changed the jboss-service.xml file
to publish the naming service on port 1199 instead of the default 1099.


1299
  
  

Within the servlet server is a factory that is repsonsible for looking up
the home of one of the ejb components in the ejb server.  Below is the
snippet of code to create the initial context.  The file that gets passed in
contains the port of 1199 - which is what the ejb server is set to publish
on.

However it seems like these properties are getting ignored.  The lookup
always seems to attempt to perform its lookup against the local server (ie
the servlet server instead of the ejb server).  If I kill the ejb server,
this lookup doesn't even complain.

So my question is - is it possible to do a lookup from within a jboss server
to an external jboss server?

InputStream streamIn =
Thread.currentThread().getContextClassLoader().getResourceAsStream(fileName
);
Properties jndiProps = new Properties();
  jndiProps.load(streamIn);
  ctx = new InitialContext(jndiProps);

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1199
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IDE Question

2002-06-12 Thread Juha-P Lindfors

On Wed, 12 Jun 2002, Dain Sundstrom wrote:

> vi and bash is all you will every need (unless you are an emacs user
> then all you will ever need is emacs)

nah,

use jEdit ;-)

-- Juha



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Large JMS queue storage

2002-06-12 Thread Aaron Lindsey

Hello everyone.  I've been using message queues with JBoss for a few weeks, 
and I'm running into some trouble.  I need to be able to store large numbers 
of messages in a queue for later retrieval.  The obvious solution seemed to 
be a DB backed queue.  After running some tests it looks like it is 
impossible to have a queue that will not fit entirely in RAM.  If I shutdown 
JBoss with a queue of, say, 1 2K messages, I get out of memory exceptions 
on restart.  I looked through the code and it looks to me like on restart 
every message in the DB is read into memory and if it's too many, it chokes.  
My question is, have I missed something here?  Is there any way to have a 
message queue of arbitrary size (the 1 messages is well below what I need 
to store) backed by a database without keeping the messages resident in 
memory?  If not, has anyone built a successful work around?  Thanks.

Aaron

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] IDE Question

2002-06-12 Thread Jim Birchfield

We use IntelliJ and XDoclet with no problems.  What sort of problems are you
having?

James Birchfield
Director, Application Development
Genscape, Inc.
(502) 583-2298 (o)
(502) 639-3136 (c)
 

-Original Message-
From: Greg Turner [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, June 12, 2002 2:26 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] IDE Question

What IDE are you guys and gals using?  I have been using Intellij, but
now that I am getting into XDoclet, I find that Intellij is unable to
run a build file that contains an XDoclet.  I am about ready to look to
another IDE.  Any suggestions?

Greg Turner

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



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] $10,$60,$120 - PEANUTS! Are Docs Stable, 3.0, Lead, Mis-lead?

2002-06-12 Thread Bill Burke

I can only speak acurately for the clustering documentation:

The clustering documentation is up-to-date for 3.0.  We will be releasing a
new version soon, but this is mainly a reformatting and a decent increase in
new information and configuration and trouble shooting(new configuration is
additional to already documented functionality.)

The CMP docs Dain will have to tell you what's up with that.

The JBoss manual is the pdf version of the SAMs publishing and only covers
JBoss 2.4.x.

The QuickStart guide is fully up-to-date with 3.0.

Regards,

Bill

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Sabadin
> Sent: Wednesday, June 12, 2002 1:41 PM
> To: Jboss-User@Lists. Sourceforge. Net
> Subject: [JBoss-user] $10,$60,$120 - PEANUTS! Are Docs Stable, 3.0,
> Lead, Mis-lead?
>
>
> Welcoming all opinions (esp. authors) on this!
>
> I care much less about the reasonable cost of the docs! In fact,
> I would pay
> someone to steer me AWAY from any technology docs that are deprecated or
> inaccurate. WHAT I CARE ABOUT:
>
> 1) Do current docs (all docs - basic, CMP, clustering, etc.) accurately
> reflect the current 3.0 final release?
>
> 2) If I invest my precious and pressured time will docs lead me
> in a stable
> direction or is 3.0 in such flux that docs will be out of sync.
>
> 3) Being a beginner with JBoss, are docs tutorial or example-like, or are
> they statements of fact, structure, and architecture.
>
> 4) Bottom line - Can us beginners get docs and GET PRODUCTIVE on 3.0
> IMMEDIATELY?
>
>
> Thanks,
>
> Paul
>
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IDE Question

2002-06-12 Thread Dain Sundstrom

vi and bash is all you will every need (unless you are an emacs user 
then all you will ever need is emacs)

-dain

Greg Turner wrote:

> What IDE are you guys and gals using?  I have been using Intellij, but
> now that I am getting into XDoclet, I find that Intellij is unable to
> run a build file that contains an XDoclet.  I am about ready to look to
> another IDE.  Any suggestions?
> 
> Greg Turner
> 
> Tiburon Enterprise Systems
> http://www.tiburon-e-systems.com
> Box 1171
> Tiburon, CA 94920
> 415-332-3363
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] IDE Question

2002-06-12 Thread Greg Turner

What IDE are you guys and gals using?  I have been using Intellij, but
now that I am getting into XDoclet, I find that Intellij is unable to
run a build file that contains an XDoclet.  I am about ready to look to
another IDE.  Any suggestions?

Greg Turner

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



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jndi confusion - two servers on same machine

2002-06-12 Thread Glen Schrader

I have a similar problem, using JBoss 3.0.

I've defined my external context to use "external/central" as the jndi name
and it seems to show up correctly in the jndiview.  I then used the
following code to do the lookup.

Object objRef = ctx.lookup("external/central/ejb/Test");

On the other JBoss server, the jndi name for this bean is "ejb/Test"

I get a NameNotFoundException (Test not bound) and it looks from the stack
trace that it is going through the ExternalContext class, though it doesn't
seem to matter if I have the other JBoss server running or not.  I even
tried changing the provider.url to some bogus server expecting a timeout or
something but it comes back right away with the not bound message.

I've tried various combinations on the lookup and can't seem to figure out
what I'm doing wrong.  I've read through the section in the JBoss book
several times and I'm not sure as it doesn't really give this specific
example.

Any ideas?

thx,
Glen

-Original Message-

Okay so I fooled around with adding an external context mbean to the servlet
server - but it didn't seem to work.  The mbean is created fine but I still
get an error when trying to perform the lookup.  It doesn't seem like it is
ever trying to perform a connection to the external process since I get the
same exception regardless of whether the external process is running or not.

Has anybody been able to use an external context to attach to another jboss
server's naming service using 3.0?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gray Jones
Sent: Tuesday, June 11, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jndi confusion - two servers on same machine


I'm trying to run two different servers on the same machine.  The first one
hosts our ejb components and the second one hosts our servlets.  They are
both jboss servers.  In the ejb server I changed the jboss-service.xml file
to publish the naming service on port 1199 instead of the default 1099.


1299
  
  

Within the servlet server is a factory that is repsonsible for looking up
the home of one of the ejb components in the ejb server.  Below is the
snippet of code to create the initial context.  The file that gets passed in
contains the port of 1199 - which is what the ejb server is set to publish
on.

However it seems like these properties are getting ignored.  The lookup
always seems to attempt to perform its lookup against the local server (ie
the servlet server instead of the ejb server).  If I kill the ejb server,
this lookup doesn't even complain.

So my question is - is it possible to do a lookup from within a jboss server
to an external jboss server?

InputStream streamIn =
Thread.currentThread().getContextClassLoader().getResourceAsStream(fileName
);
Properties jndiProps = new Properties();
  jndiProps.load(streamIn);
  ctx = new InitialContext(jndiProps);

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1199
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



SV: [JBoss-user] adding multicast route on Win2k

2002-06-12 Thread Jon Martin Solaas


I should probably bring my laptop home from work and try with a simple 
crossover-cable, instead of using the network at work over which I have very little 
knowledge except the stuff that route and
ipconfig /all tells me. All kinds of routers, switches and firewalls might interfer...

-- 
martin s.

-Opprinnelig melding-
Fra: Bill Burke [mailto:[EMAIL PROTECTED]]
Sendt: 12. juni 2002 19:45
Til: [EMAIL PROTECTED]
Emne: RE: [JBoss-user] adding multicast route on Win2k


I know of a few other people that have gotten clustering to work other than
Sacha and I.  The multicast route is just one of the few possible things
that could go wrong.  I'll get you going Jon, just give me some time.

Bill

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Martin
> Solaas
> Sent: Wednesday, June 12, 2002 12:59 PM
> To: [EMAIL PROTECTED]
> Subject: SV: [JBoss-user] adding multicast route on Win2k
>
>
>
> >Hope I have understood your question correctly :-)
>
> Uh, it was an answer, not a question, but anyway, your answer
> seems to confirm mine :-)
>
> Btw, isn't the right term broadcast and not multicast?
>
> The wole question here is about getting clustering and farming up
> on w2k. Clusters are implemented using JavaGroups, and the group
> members are supposed to discover the others using broadcasting
> (or multicasting). But for  some reason it doesn't work (on my
> box that is), with or without the famous route mentioned in my post.
>
> The basic setup/configuration is quite simple, so it'd be cool if
> anybody with two or more networked w2k-machines actually managed
> to get it up and running. Use the `run -c all` to run and put a
> farm-service.xml as described in the QuickStart guide in the
> ...server\all\deploy dir. "Anything" in the ...server\all\farm
> directory (that appears automagically as soon as the
> farm-service.xml is deployed) will get distributed with failover
> and loadbalancing clusterwide.
>
> --
> Best Regards,
> [EMAIL PROTECTED]
>
> -Opprinnelig melding-
> Fra: Rajesh Acharya [mailto:[EMAIL PROTECTED]]
> Sendt: 12. juni 2002 18:26
> Til: [EMAIL PROTECTED]
> Emne: Re: [JBoss-user] adding multicast route on Win2k
>
>
> Hope I have understood your question correctly :-)
> Multicast is on by default on Windows while we need to do it
> explicitly on
> Linux. With newer versions of Linux (Mine is RedHat) the
> multicast is enabled
> by default with increased need of P2P systems trying to publish
> and discover
> each others' presence.
>
> Hope this helps.
> Rajesh
>
> On Wednesday 12 June 2002 20:36, you wrote:
> > Isn't this present by default in the routing table on w2k? I remember
> > having to configure this manually on linux 2.0 in order to get
> dhcp-server
> > to work, but that is long ago ...
> >
> > Here is my routing-table (that I have not altered, use `route
> print` to see
> > yours):
> >
> > 
> >
> >
> ==
> =
> > Interface List
> > 0x1 ... MS TCP Loopback interface
> > 0x2 ...00 50 04 29 8d 9c .. FE575 Ethernet Adapter
> >
> ==
> =
> >
> ==
> =
> > Active Routes:
> > Network DestinationNetmask  Gateway
> Interface  Metric
> >   0.0.0.0  0.0.0.0   172.16.2.1
> 172.16.3.30   1
> > 127.0.0.0255.0.0.0127.0.0.1
> 127.0.0.1   1
> >172.16.2.0255.255.254.0  172.16.3.30
> 172.16.3.30   1
> >   172.16.3.30  255.255.255.255127.0.0.1
> 127.0.0.1   1
> >172.16.255.255  255.255.255.255  172.16.3.30
> 172.16.3.30   1
> > 224.0.0.0224.0.0.0  172.16.3.30
> 172.16.3.30   1
> >   255.255.255.255  255.255.255.255  172.16.3.30
> 172.16.3.30   1
> > Default Gateway:172.16.2.1
> >
> ==
> =
> > Persistent Routes:
> >   None
> >
> > 
> >
> > I think the entry
> >
> >172.16.2.0255.255.254.0  172.16.3.30
> 172.16.3.30   1
> >
> > would be the result after applying a w2k-version of the example
> route add
> > -net linux-command in your post. My IP is 172.16.3.30 and netmask
> > 255.255.254.0, so I could add this route with the command
> >
> > route add 172.16.2.0 MASK 255.255.254.0 172.16.3.30 metric 1 if 0x2
> >
> > but it's already there, so ...
> >
> > The "173.16.3.30"-part is actually the gateway address for my
> network. My
> > PC is it's own gateway to the network it's on. The linux-variant of the
> > route command uses the -net option and a local device (like eth0)
> > as gateway-specification for the route. As the gateway-ip is specified,
> > it seems w2k is smart enough that you can skip the device "if 0x2"-part.
> >
> > Hence
> >
> > `route add 224.0.0.0

RE: [JBoss-user] adding multicast route on Win2k

2002-06-12 Thread Bill Burke

I know of a few other people that have gotten clustering to work other than
Sacha and I.  The multicast route is just one of the few possible things
that could go wrong.  I'll get you going Jon, just give me some time.

Bill

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Martin
> Solaas
> Sent: Wednesday, June 12, 2002 12:59 PM
> To: [EMAIL PROTECTED]
> Subject: SV: [JBoss-user] adding multicast route on Win2k
>
>
>
> >Hope I have understood your question correctly :-)
>
> Uh, it was an answer, not a question, but anyway, your answer
> seems to confirm mine :-)
>
> Btw, isn't the right term broadcast and not multicast?
>
> The wole question here is about getting clustering and farming up
> on w2k. Clusters are implemented using JavaGroups, and the group
> members are supposed to discover the others using broadcasting
> (or multicasting). But for  some reason it doesn't work (on my
> box that is), with or without the famous route mentioned in my post.
>
> The basic setup/configuration is quite simple, so it'd be cool if
> anybody with two or more networked w2k-machines actually managed
> to get it up and running. Use the `run -c all` to run and put a
> farm-service.xml as described in the QuickStart guide in the
> ...server\all\deploy dir. "Anything" in the ...server\all\farm
> directory (that appears automagically as soon as the
> farm-service.xml is deployed) will get distributed with failover
> and loadbalancing clusterwide.
>
> --
> Best Regards,
> [EMAIL PROTECTED]
>
> -Opprinnelig melding-
> Fra: Rajesh Acharya [mailto:[EMAIL PROTECTED]]
> Sendt: 12. juni 2002 18:26
> Til: [EMAIL PROTECTED]
> Emne: Re: [JBoss-user] adding multicast route on Win2k
>
>
> Hope I have understood your question correctly :-)
> Multicast is on by default on Windows while we need to do it
> explicitly on
> Linux. With newer versions of Linux (Mine is RedHat) the
> multicast is enabled
> by default with increased need of P2P systems trying to publish
> and discover
> each others' presence.
>
> Hope this helps.
> Rajesh
>
> On Wednesday 12 June 2002 20:36, you wrote:
> > Isn't this present by default in the routing table on w2k? I remember
> > having to configure this manually on linux 2.0 in order to get
> dhcp-server
> > to work, but that is long ago ...
> >
> > Here is my routing-table (that I have not altered, use `route
> print` to see
> > yours):
> >
> > 
> >
> >
> ==
> =
> > Interface List
> > 0x1 ... MS TCP Loopback interface
> > 0x2 ...00 50 04 29 8d 9c .. FE575 Ethernet Adapter
> >
> ==
> =
> >
> ==
> =
> > Active Routes:
> > Network DestinationNetmask  Gateway
> Interface  Metric
> >   0.0.0.0  0.0.0.0   172.16.2.1
> 172.16.3.30   1
> > 127.0.0.0255.0.0.0127.0.0.1
> 127.0.0.1   1
> >172.16.2.0255.255.254.0  172.16.3.30
> 172.16.3.30   1
> >   172.16.3.30  255.255.255.255127.0.0.1
> 127.0.0.1   1
> >172.16.255.255  255.255.255.255  172.16.3.30
> 172.16.3.30   1
> > 224.0.0.0224.0.0.0  172.16.3.30
> 172.16.3.30   1
> >   255.255.255.255  255.255.255.255  172.16.3.30
> 172.16.3.30   1
> > Default Gateway:172.16.2.1
> >
> ==
> =
> > Persistent Routes:
> >   None
> >
> > 
> >
> > I think the entry
> >
> >172.16.2.0255.255.254.0  172.16.3.30
> 172.16.3.30   1
> >
> > would be the result after applying a w2k-version of the example
> route add
> > -net linux-command in your post. My IP is 172.16.3.30 and netmask
> > 255.255.254.0, so I could add this route with the command
> >
> > route add 172.16.2.0 MASK 255.255.254.0 172.16.3.30 metric 1 if 0x2
> >
> > but it's already there, so ...
> >
> > The "173.16.3.30"-part is actually the gateway address for my
> network. My
> > PC is it's own gateway to the network it's on. The linux-variant of the
> > route command uses the -net option and a local device (like eth0)
> > as gateway-specification for the route. As the gateway-ip is specified,
> > it seems w2k is smart enough that you can skip the device "if 0x2"-part.
> >
> > Hence
> >
> > `route add 224.0.0.0 MASK 240.0.0.0 224.50.50.50 metric 1`
> >
> > should do the trick, if your IP is 224.50.50.50.
> >
> > Still no clustering, though ...
>
> ___
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> __

RE: [JBoss-user] Binding Datasource problems

2002-06-12 Thread Sonnek, Ryan

here's a bit more info on my situation.  when i deploy my ejb, here's the
log that's displayed.

[DEBUG,EntityContainer] Begin java:comp/env for EJB: EmployeeEJB
[DEBUG,EntityContainer] TCL: java.net.URLClassLoader@ec5677
[DEBUG,EntityContainer] Binding resource manager: jdbc/mcs/database to JDNI
ENC
as: jdbc/mcs/mcsuser
[DEBUG,EntityContainer] End java:comp/env for EJB: EmployeeEJB

that still hasn't helped me figure out which JNDI name I should be using
inside my ejb.  thanks again.

-Original Message-
From: Sonnek, Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 11:06 AM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Binding Datasource problems


hopefully this will be a simple question for someone out there.  I'm trying
to use an already configured datasource from an ejb, but i'm getting mixed
up on how the JNDI name is bound.  I'm using jboss 2.4.4 with tomcat 4.0.1.
I've tried several different JNDI names, and servlets are able to use the
literal JNDI name from the jboss.jcml, but my EJB can't connect.

any help would be greatly appreciated.  thanks.

EJB DAO source code:

Context naming = new InitialContext();
DataSource dataSource = (DataSource)
naming.lookup("java:comp/env/jdbc/mcs/mcsuser);
connection = dataSource.getConnection();

ejb.xml



http://java.sun.com/dtd/ejb-jar_2_0.dtd";>


  Machine Crewing System Enterprise Java Beans
  MCS EJB
  

  Employee BMP
  EmployeeEJB
  EmployeeEJB
  bpc.mcs.ejb.employee.EmployeeHome
  bpc.mcs.ejb.employee.Employee
  bpc.mcs.ejb.employee.EmployeeEJB
  Bean
  java.lang.Integer
  False
  


  
  
jdbc/mcs/mcsuser
javax.sql.DataSource
Container
Shareable
  

  
  

  
EmployeeEJB
*
  
  Required



jboss.xml



  

  EmployeeEJB
  ejb/mcs/employee
  
jdbc/mcs/mcsuser
javax.sql.DataSource
jdbc/mcs/database
  

  


jboss.jcml


  jdbc/mcs/database
  org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
  jdbc:oracle:thin:@xxx.xx.xxx:orcl
  blah
  blah
  20  
  30
  true
  30
  true   
  12


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] $10,$60,$120 - PEANUTS! Are Docs Stable, 3.0, Lead, Mis-lead?

2002-06-12 Thread Paul Sabadin

Welcoming all opinions (esp. authors) on this!

I care much less about the reasonable cost of the docs! In fact, I would pay
someone to steer me AWAY from any technology docs that are deprecated or
inaccurate. WHAT I CARE ABOUT:

1) Do current docs (all docs - basic, CMP, clustering, etc.) accurately
reflect the current 3.0 final release?

2) If I invest my precious and pressured time will docs lead me in a stable
direction or is 3.0 in such flux that docs will be out of sync.

3) Being a beginner with JBoss, are docs tutorial or example-like, or are
they statements of fact, structure, and architecture.

4) Bottom line - Can us beginners get docs and GET PRODUCTIVE on 3.0
IMMEDIATELY?


Thanks,

Paul


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss-3.0.0_Tomcat-4.0.3 Tomcat newbie question

2002-06-12 Thread Ferdinand Che

You need to package your web application in a war archive and then a ear
archive as per the J2ee spec. When you deploy our ear archive - your web
application contexts will be setup as per your application.xml entries (in
your ear archive) for your web application modules. You don't need to do
anything to the tomcat4-service.xml w.r.t your contexts.

Hope that helps.
Ferdinand
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christopher
Watson
Sent: Wednesday, June 12, 2002 12:44 AM
To: Jboss-User
Subject: [JBoss-user] JBoss-3.0.0_Tomcat-4.0.3 Tomcat newbie question


Hello group,

This is my first posting, so please be gentle with me.

I've just downloaded the JBoss-3.0.0_Tomcat-4.0.3 bundle.

I've managed to get the template project compiled and deployed as per the
quick start guide,
the command line client works just fine.

However, I'm not sure how to use the tomcat bit.
I want to deploy my own non-EJB stuff in there too, specifically the Apache
Cocoon XML-XSL offering.

But try as I might all I get from the embedded catalina service is 'No
Context configured to process this request' in the browser
and a 'MAPPING configuration error for request URI ' in the
server/default/log/server.log

I've noticed the file server/default/deploy/tomcat4-service.xml
If I try editing that, I can effective change the location of the server
log, so I thought I was on the scent
but I can't get it to take any notice of any  entries I put there.

Should I be editing this file?
To deploy a war, what do I need to do?
I tried putting the tomcat examples.war file into /server/default/deploy. It
says it's deploying it, but I can't get to it from the browser.

Can anyone help me get started with this.

Thanks,

Christopher

PS

By the way ...

I've also done much the same with JBoss-2.4.1_Tomcat-3.2.3 and the
documentation-example sample works fine.
It's web client work s fine too.
If I put a war into it's deploy directory, it deployes it just fine.
Also, the contexts in the webapps directory work fine too.

It's just 3.0.0 that's beyond me.







___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Jboss 3 and Apache 1.3

2002-06-12 Thread Jules Gosnell

Roberto,

If you are using Jetty as your webcontainer (default) you should find 
what you need at jetty.mortbay.org. You can also try questions on 
[EMAIL PROTECTED]

Let me know if you have any problems


Jules


Roberto Camps wrote:
> Anyone knows how to configure JBoss 3.0 with Apache 1.3 using mod_jk?
> Thank you.
> 
> Robert
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user




___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-12 Thread Dain Sundstrom

The declaration of lazy load groups did change.  Does your 
jbosscmp-jdbc.xml file declare a DOCTYPE?  If not, add it and you will 
see messages telling you where the problem are.  The JBossCMP 
documentation contains a complete read-ahead example, and it does lazy 
loading correctly.

-dain

Dennis Muhlestein wrote:

> I have a couple ejbs that have an eager and multiple lazy load groups.
> 
> I set them on on 3.0 rc2&3 and everything worked fine.  Now, on 3.0
> final.  I noticed that in my debug output of sql, the entire ejb is
> being loaded again.
> 
> Has anything changed?  Maybe someone can verify this before I post a bug
> or something.
> 
> Thanks
> Dennis
> 
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Sample Template Problems

2002-06-12 Thread Jim Williams

I tried this and it did not help unfortunatly.

Thanks Maris.

Any other ideas what I am doing wrong?

Jim
--- Maris Orbidans <[EMAIL PROTECTED]> wrote:
> 
> use this jndi.properties
> 
>
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
> java.naming.provider.url=localhost:1099
> java.naming.factory.url.pkgs=org.jboss.naming
> 
> > -Original Message-
> > From: Jim Williams
> [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 12, 2002 6:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] Sample Template Problems
> > 
> > 
> > Hello,
> > I am very new to jboss and I am having a problem
> getting the 
> > template sample 
> > client to run for jboss3.0.0.
> > I can build the template and watch it be deployed
> but when I 
> > try to run the 
> > client as described in the documentation I get
> this error:
> > 
> > 
> > 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:640)
> > at 
> >
>
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
> > at 
> >
>
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialCont
> > ext.java:280)
> > at
>
javax.naming.InitialContext.lookup(InitialContext.java:347)
> > at
> test.client.TestClient.main(TestClient.java:21)
> > 
> > 
> > I am using the default jndi.properties so that may
> be the problem.
> > 
> > I am not sure where to look to fix this.  
> > 
> > Can anyone help  or do I need to supply more
> info??
> > 
> > Thanks,
> > Jim Williams
> > 
> >
>
___
> > 
> > Sponsored by:
> > ThinkGeek at http://www.ThinkGeek.com/
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
>
___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] possible bug (in jboss or IBM JVM) when deployinga ear with a war inside

2002-06-12 Thread Marius Kotsbak

It also seems to happen on the original 1.4 from sun.

On Wed, 2002-06-12 at 18:24, Marius Kotsbak wrote:
> I get this exception when I deploy a ear with a war and a jar-module inside and 
>running jboss on IBM 1.3. The same file deploys without problems on sun's 1.4.
> 
> But since 1.4 might have other problems like the PortableRemoteObject's 
>classcastexception. So if this is't a jboss problem, it should be reported to IBM:
> 
> 2002-06-12 17:00:51,869 DEBUG [org.jboss.ejb.EJBDeployer] Deployed: 
>njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.jar
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.deployment.MainDeployer] Final (start) 
>deployment step successfully completed on package: bedriftsboost.jar
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.deployment.MainDeployer] start step for 
>deployment 
>njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] webContext: /
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] warURL: 
>njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] webAppParser: 
>org.jboss.web.AbstractWebContainer$DescriptorParser@3a379ee7
> 2002-06-12 17:00:52,538 WARN  [org.jboss.jetty.session.ClusteredStore] distributed 
>HttpSession support is not deployed - disabled
> 2002-06-12 17:00:53,344 INFO  [org.jboss.jetty.Jetty] Registered 
>jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/
> 2002-06-12 17:00:53,683 INFO  [org.jboss.jetty.Jetty] Created temp dir 
>/tmp/Jetty__8080_www_boostcom_net__ for 
>WebApplicationContext[/,jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war!/]
> 2002-06-12 17:00:53,862 INFO  [org.jboss.jetty.Jetty] Extract 
>jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war!/
> to /tmp/Jetty__8080_www_boostcom_net__/webapp
> 2002-06-12 17:00:55,943 WARN  [org.jboss.jetty.Jetty] WARNING: Configuration error 
>jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war!/
> java.lang.NullPointerException
>   at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524)
>   at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>   at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
>   at javax.xml.parsers.SAXParser.parse(SAXParser.java:357)
>   at org.mortbay.xml.XmlParser.parse(XmlParser.java:123)
>   at org.mortbay.xml.XmlParser.parse(XmlParser.java:138)
>   at 
>org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:298)
>   at org.jboss.jetty.Jetty.deploy(Jetty.java:405)
>   at org.jboss.jetty.JettyService.performDeploy(JettyService.java:244)
>   at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:671)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at 
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
>   at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
>   at $Proxy4.deploy(Unknown Source)
>   at 
>org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:405)
>   at 
>org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:586)
>   at 
>org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:465)
>   at 
>org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:237)
>   at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at 
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
>   at 
>org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894)
>   at $Proxy0.start(Unknown Source)
>   at org.jboss.system.ServiceController.start(ServiceController.java:340)
>   at java.lang.reflect.Method.invoke(Native Method)
>   at 
>org.

[JBoss-user] lazy-load-groups not honored in 3.0 final

2002-06-12 Thread Dennis Muhlestein

I have a couple ejbs that have an eager and multiple lazy load groups.

I set them on on 3.0 rc2&3 and everything worked fine.  Now, on 3.0
final.  I noticed that in my debug output of sql, the entire ejb is
being loaded again.

Has anything changed?  Maybe someone can verify this before I post a bug
or something.

Thanks
Dennis




___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



SV: [JBoss-user] adding multicast route on Win2k

2002-06-12 Thread Jon Martin Solaas


>Hope I have understood your question correctly :-)

Uh, it was an answer, not a question, but anyway, your answer seems to confirm mine :-)

Btw, isn't the right term broadcast and not multicast? 

The wole question here is about getting clustering and farming up on w2k. Clusters are 
implemented using JavaGroups, and the group members are supposed to discover the 
others using broadcasting (or multicasting). But for  some reason it doesn't work (on 
my box that is), with or without the famous route mentioned in my post.

The basic setup/configuration is quite simple, so it'd be cool if anybody with two or 
more networked w2k-machines actually managed to get it up and running. Use the `run -c 
all` to run and put a farm-service.xml as described in the QuickStart guide in the 
...server\all\deploy dir. "Anything" in the ...server\all\farm directory (that appears 
automagically as soon as the farm-service.xml is deployed) will get distributed with 
failover and loadbalancing clusterwide.

-- 
Best Regards,
[EMAIL PROTECTED]

-Opprinnelig melding-
Fra: Rajesh Acharya [mailto:[EMAIL PROTECTED]]
Sendt: 12. juni 2002 18:26
Til: [EMAIL PROTECTED]
Emne: Re: [JBoss-user] adding multicast route on Win2k


Hope I have understood your question correctly :-)
Multicast is on by default on Windows while we need to do it explicitly on 
Linux. With newer versions of Linux (Mine is RedHat) the multicast is enabled 
by default with increased need of P2P systems trying to publish and discover 
each others' presence.

Hope this helps.
Rajesh

On Wednesday 12 June 2002 20:36, you wrote:
> Isn't this present by default in the routing table on w2k? I remember
> having to configure this manually on linux 2.0 in order to get dhcp-server
> to work, but that is long ago ...
>
> Here is my routing-table (that I have not altered, use `route print` to see
> yours):
>
> 
>
> ===
> Interface List
> 0x1 ... MS TCP Loopback interface
> 0x2 ...00 50 04 29 8d 9c .. FE575 Ethernet Adapter
> ===
> ===
> Active Routes:
> Network DestinationNetmask  Gateway   Interface  Metric
>   0.0.0.0  0.0.0.0   172.16.2.1 172.16.3.30   1
> 127.0.0.0255.0.0.0127.0.0.1   127.0.0.1   1
>172.16.2.0255.255.254.0  172.16.3.30 172.16.3.30   1
>   172.16.3.30  255.255.255.255127.0.0.1   127.0.0.1   1
>172.16.255.255  255.255.255.255  172.16.3.30 172.16.3.30   1
> 224.0.0.0224.0.0.0  172.16.3.30 172.16.3.30   1
>   255.255.255.255  255.255.255.255  172.16.3.30 172.16.3.30   1
> Default Gateway:172.16.2.1
> ===
> Persistent Routes:
>   None
>
> 
>
> I think the entry
>
>172.16.2.0255.255.254.0  172.16.3.30 172.16.3.30   1
>
> would be the result after applying a w2k-version of the example route add
> -net linux-command in your post. My IP is 172.16.3.30 and netmask
> 255.255.254.0, so I could add this route with the command
>
> route add 172.16.2.0 MASK 255.255.254.0 172.16.3.30 metric 1 if 0x2
>
> but it's already there, so ...
>
> The "173.16.3.30"-part is actually the gateway address for my network. My
> PC is it's own gateway to the network it's on. The linux-variant of the
> route command uses the -net option and a local device (like eth0)
> as gateway-specification for the route. As the gateway-ip is specified,
> it seems w2k is smart enough that you can skip the device "if 0x2"-part.
>
> Hence
>
>   `route add 224.0.0.0 MASK 240.0.0.0 224.50.50.50 metric 1`
>
> should do the trick, if your IP is 224.50.50.50.
>
> Still no clustering, though ...

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss3.0.0 final / tomcat exceptions

2002-06-12 Thread Aleksander Grzebyta


- Original Message - 
From: "Ionel Gardais" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 4:23 PM
Subject: Re: [JBoss-user] JBoss3.0.0 final / tomcat exceptions


> I can know deploy the Tomcat service and get Tomcat up and running (i'm
> getting a HTTP 500 error but at lease i'm getting something)

This is probably because you have no apps deployed by default ?

Olek




___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jboss 3 and Apache 1.3

2002-06-12 Thread Roberto Camps

Anyone knows how to configure JBoss 3.0 with Apache 1.3 using mod_jk?
Thank you.

Robert

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] CreateException from ejbPostCreate method?

2002-06-12 Thread McAuley, Tim

 
> Did you declare CreateException for both the ejbCreate and 
> ejbPostCreate 
> methods? Do they both define the exact same exception 
> declarations? 

As far as I know they do. Both ejbCreate, ejbPostCreate and create (under
LocalHome) throw CreateException.

> Can 
> you post a bug report the reproduces the UndeclaredThrowableException.
>

Will do, but it might take a day or two. 

I'll try out the latest version(s) of Jboss first. Our configuration files
need to be slightly updated to work with the new version, hence I have not
used it so far.

Thanks for the replies.

Tim

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 2.4.4 & ClassLoader problem ?

2002-06-12 Thread Ing. Thomas Margreiter

hi there !
i want to XML-Serialize some Objects to a String save this string in a 
DataBase and vize-versa
i use the JSX package !
when i try to serialize and deserialize localy it works fine, but when i
try this on the Jboss i allway's get the following Error:


[INFO,Default] 3
[INFO,Default] 
forName("at.felder.FERPS.EJB.SYSTEM.FerpsDataDomain.String.Artike
lNr") didn't find the class. Please report this problem. Wrapped: 
at.felder.FERP
S.EJB.SYSTEM.FerpsDataDomain.String.ArtikelNr


here is the sourceCode i tried localy and on the JBOSS

//beginn-
try {
 java.io.StringWriter oos = new java.io.StringWriter();
 JSX.ObjOut jo = new JSX.ObjOut(oos, false);
 jo.writeObject(new ArtikelNr("01-0-001"));
 oos.flush();
 String xmlField = new String(oos.getBuffer());
 java.io.StringReader sr = new java.io.StringReader(xmlField);
 JSX.ObjIn ji = new JSX.ObjIn(sr);
 Object o = null;
 System.out.println("3");
 o = ji.readObject();
}catch (Exception e){System.out.println(e.getMessage());}
System.out.println(o.getClass().getName());
//end-



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] possible bug (in jboss or IBM JVM) when deploying a ear with a war inside

2002-06-12 Thread Steve Knight

Marius,
I get the same error when running IBM 1.3.
It must be a problem with Jetty because it deploys and works fine under the
JBoss3.0-Tomcat bundle.

Steve

- Original Message -
From: "Marius Kotsbak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 12:24 PM
Subject: [JBoss-user] possible bug (in jboss or IBM JVM) when deploying a
ear with a war inside


> I get this exception when I deploy a ear with a war and a jar-module
inside and running jboss on IBM 1.3. The same file deploys without problems
on sun's 1.4.
>
> But since 1.4 might have other problems like the PortableRemoteObject's
classcastexception. So if this is't a jboss problem, it should be reported
to IBM:
>
> 2002-06-12 17:00:51,869 DEBUG [org.jboss.ejb.EJBDeployer] Deployed:
njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/defa
ult/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.jar
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.deployment.MainDeployer] Final
(start) deployment step successfully completed on package: bedriftsboost.jar
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.deployment.MainDeployer] start
step for deployment
njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/defa
ult/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] webContext: /
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] warURL:
njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/defa
ult/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war
> 2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] webAppParser:
org.jboss.web.AbstractWebContainer$DescriptorParser@3a379ee7
> 2002-06-12 17:00:52,538 WARN  [org.jboss.jetty.session.ClusteredStore]
distributed HttpSession support is not deployed - disabled
> 2002-06-12 17:00:53,344 INFO  [org.jboss.jetty.Jetty] Registered
jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/
> 2002-06-12 17:00:53,683 INFO  [org.jboss.jetty.Jetty] Created temp dir
/tmp/Jetty__8080_www_boostcom_net__ for
WebApplicationContext[/,jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/de
fault/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ea
r^/bedriftsboost.war!/]
> 2002-06-12 17:00:53,862 INFO  [org.jboss.jetty.Jetty] Extract
jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/
default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war!/
to /tmp/Jetty__8080_www_boostcom_net__/webapp
> 2002-06-12 17:00:55,943 WARN  [org.jboss.jetty.Jetty] WARNING:
Configuration error
jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/
default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war!/
> java.lang.NullPointerException
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
> at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:357)
> at org.mortbay.xml.XmlParser.parse(XmlParser.java:123)
> at org.mortbay.xml.XmlParser.parse(XmlParser.java:138)
> at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.
java:298)
> at org.jboss.jetty.Jetty.deploy(Jetty.java:405)
> at org.jboss.jetty.JettyService.performDeploy(JettyService.java:244)
> at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
> at org.jboss.deployment.MainDeployer.start(MainDeployer.java:671)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
> at java.lang.reflect.Method.invoke(Native Method)
> at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
> at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
> at $Proxy4.deploy(Unknown Source)
> at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:405)
> at
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymen
tScanner.java:586)
> at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:465)
> at
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abstract
DeploymentScanner.java:237)
> at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
> at java.lang.reflect.Method.invoke(Native Method)
> at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
> at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.jav
a:894)
> at $Proxy0.start(Unknown Source)
> at org.jboss.system.ServiceController.start(ServiceController.java:340)
>

[JBoss-user] JBoss 2.4.4 ClassLoader Bug ?

2002-06-12 Thread Ing. Thomas Margreiter

hi there !
i want to XML-Serialize some Objects to a String save this string in a 
DataBase and vize-versa
i use the JSX package !
when i try to serialize and deserialize localy it works fine, but when i
try this on the Jboss i allway's get the following Error:


[INFO,Default] 3
[INFO,Default] 
forName("at.felder.FERPS.EJB.SYSTEM.FerpsDataDomain.String.Artike
lNr") didn't find the class. Please report this problem. Wrapped: 
at.felder.FERP
S.EJB.SYSTEM.FerpsDataDomain.String.ArtikelNr


here is the sourceCode i tried localy and on the JBOSS

//beginn- 

try {   
java.io.StringWriter oos = new java.io.StringWriter();
JSX.ObjOut jo = new JSX.ObjOut(oos, false);
jo.writeObject(new ArtikelNr("01-0-001"));
oos.flush();
String xmlField = new String(oos.getBuffer());  
java.io.StringReader sr = new java.io.StringReader(xmlField);
JSX.ObjIn ji = new JSX.ObjIn(sr);
Object o = null;
System.out.println("3");
o = ji.readObject();
}catch (Exception e){System.out.println(e.getMessage());}   
System.out.println(o.getClass().getName());
//end-



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] possible bug (in jboss or IBM JVM) when deploying a ear with a warinside

2002-06-12 Thread Marius Kotsbak

I get this exception when I deploy a ear with a war and a jar-module inside and 
running jboss on IBM 1.3. The same file deploys without problems on sun's 1.4.

But since 1.4 might have other problems like the PortableRemoteObject's 
classcastexception. So if this is't a jboss problem, it should be reported to IBM:

2002-06-12 17:00:51,869 DEBUG [org.jboss.ejb.EJBDeployer] Deployed: 
njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.jar
2002-06-12 17:00:51,870 DEBUG [org.jboss.deployment.MainDeployer] Final (start) 
deployment step successfully completed on package: bedriftsboost.jar
2002-06-12 17:00:51,870 DEBUG [org.jboss.deployment.MainDeployer] start step for 
deployment 
njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war
2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] webContext: /
2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] warURL: 
njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war
2002-06-12 17:00:51,870 DEBUG [org.jboss.jetty.JettyService] webAppParser: 
org.jboss.web.AbstractWebContainer$DescriptorParser@3a379ee7
2002-06-12 17:00:52,538 WARN  [org.jboss.jetty.session.ClusteredStore] distributed 
HttpSession support is not deployed - disabled
2002-06-12 17:00:53,344 INFO  [org.jboss.jetty.Jetty] Registered 
jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/
2002-06-12 17:00:53,683 INFO  [org.jboss.jetty.Jetty] Created temp dir 
/tmp/Jetty__8080_www_boostcom_net__ for 
WebApplicationContext[/,jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war!/]
2002-06-12 17:00:53,862 INFO  [org.jboss.jetty.Jetty] Extract 
jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war!/
 to /tmp/Jetty__8080_www_boostcom_net__/webapp
2002-06-12 17:00:55,943 WARN  [org.jboss.jetty.Jetty] WARNING: Configuration error 
jar:njar:file:/home/marius/tmp/jboss-3.0.0/server/default/tmp/deploy/server/default/deploy/bedriftsboost.ear/69.bedriftsboost.ear^/bedriftsboost.war!/
java.lang.NullPointerException
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:357)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:123)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:138)
at 
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:298)
at org.jboss.jetty.Jetty.deploy(Jetty.java:405)
at org.jboss.jetty.JettyService.performDeploy(JettyService.java:244)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:671)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:405)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:586)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:465)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:237)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:340)
at java.lang.reflect.Method.invoke(Native Method)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:

RE: [JBoss-user] Architecture Options

2002-06-12 Thread Bill Burke



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gray Jones
> Sent: Wednesday, June 12, 2002 10:54 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Architecture Options
>
>
> Hey Bill,
>
> I agree about the expensiveness of http session failover.  It's
> probably not
> worth it for our app too.  We will be getting a hardware balancer as you
> suggest.  It is capable of making sessions 'sticky' so we don't need to
> distribute the session state.  It is probably ok to have a user
> re-login if
> a box goes down.  I'm hoping to get some crude performance stats
> in place to
> measure how much of a hit the http session clustering actually is.
>
> 'One thing to note is that since you have a web application, you
> probably do
> not need EJB clustering and failover.'
>
> I don't follow your reasoning about not needing the ejb's to be clustered.
> Wouldn't that represent a single point of failure?  Our thinking
> is that we
> want to be able to spread the ejb load across several machines if needed.
> Doesn't that imply that clustering is needed to keep the state in sync?
>

If you have Tomcat running in the same JVM as JBoss then you do not need EJB
clustering.  Read my "Clustering with JBoss/Jetty" article.  Your hardware
loadbalancer should spread user sessions evenly and the good ones can
distribute http sessions based on server load.  The loadbalancer will also
provide all the high availability you need since you do not require
fail-over http sessions and again, the CISCO load-balancer I used detected
server failures.

> 'Yes, I have done this.  I explicitly setup the InitialContext with
> Properties.  But I recommend an integrate stack.'
>
> Could you possibly send me what you used for the properties file?  I've
> tried this with no luck.  Did you use an external context?  Were your
> servers on seperate computers?  For my development I am trying to get the
> two servers up and running on the same computer.  But I can't seem to get
> the servlet server to attach to the ejb servers jndi server.
> Even if I use
> a properties file and explicitly use seperate ports.  I'd really
> like to get
> this approach set up so we can measure the two approaches.
>

I saw your stack trace from another email. Its seems like you may know what
you're doing so your problems may be deeper than a simple configuration
problem.  You are able to communicate to JNDI and get back a JBoss smart
proxy to the EJB, but the RMI connection is failing.  I suggest writing a
simple remote client that is separate from Tomcat to isolate the problem.

Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
p.put(Context.URL_PKG_PREFIXES,
"jboss.naming:org.jnp.interfaces");
p.put(Context.PROVIDER_URL, "localhost:1099");
ctx = new InitialContext(p);

I think that if you leave out the PROVIDER_URL, JBoss will use multicast to
locate the JNDI server(that's if you are running with JBoss clustering.

Bill


> Thanks for your help!
>
> Gray
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Burke
> Sent: Wednesday, June 12, 2002 10:13 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Architecture Options
>
>
> Hi Gray,
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Gray Jones
> > Sent: Wednesday, June 12, 2002 9:27 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] Architecture Options
> >
> >
> > We are in the process of converting a servlet application over to an ejb
> > application.  The main reason for doing this is for clustering - to
> > eliminate a single source of failure and increase load capacity.
> >
>
> Make sure that HTTP session failover is a requirement in your system.  Its
> expensive.  At Mercantec, we had a "cluster" of same-VM JBoss 2.2.2/Jetty
> 3.0.1 machines and we determined that HTTP session failover was not
> required.  A good HTTP loadbalancer like Cisco's content switch
> provided the
> high availability and increase in load capacity we needed.  There are also
> software load-balancers you can use as well.  Here are some links.  More
> comments follow:
>
> What we did at Mercantec:
> http://www.onjava.com/pub/a/onjava/2001/09/18/jboss.html
>
> Cisco's load-balancer:
> http://www.cisco.com/univercd/cc/td/doc/pcat/11150.htm
>
> software HTTP load-balancer(Apache/mod_jk/Tomcat 4):
> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html
>
> One thing to note is that since you have a web application, you
> probably do
> not need EJB clustering and failover.
>
>
>
> > Our original thought was to have the ejb's run inside of one
> > server and the
> > servlets run inside a different server.  Our first guess is
> that we would
> > have a 2:1 ration between servlet machines and ejb machines.  For
> > example we
> > could have 4 mac

[JBoss-user] how to set SFSB timeout in JBoss 3.0 ??????

2002-06-12 Thread Maris Orbidans


Can I configure it in StandardJBoss.xml file ?


Maris

> -Original Message-
> From: Mâris Orbidâns 
> Sent: Wednesday, June 12, 2002 5:31 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] how to set SFSB timeout in JBoss 3.0
> 
> 
> 
> How to configure SFSB time interval before passivation and 
> removing from cache ?
> 
> Maris
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] adding multicast route on Win2k

2002-06-12 Thread Rajesh Acharya

Hope I have understood your question correctly :-)
Multicast is on by default on Windows while we need to do it explicitly on 
Linux. With newer versions of Linux (Mine is RedHat) the multicast is enabled 
by default with increased need of P2P systems trying to publish and discover 
each others' presence.

Hope this helps.
Rajesh

On Wednesday 12 June 2002 20:36, you wrote:
> Isn't this present by default in the routing table on w2k? I remember
> having to configure this manually on linux 2.0 in order to get dhcp-server
> to work, but that is long ago ...
>
> Here is my routing-table (that I have not altered, use `route print` to see
> yours):
>
> 
>
> ===
> Interface List
> 0x1 ... MS TCP Loopback interface
> 0x2 ...00 50 04 29 8d 9c .. FE575 Ethernet Adapter
> ===
> ===
> Active Routes:
> Network DestinationNetmask  Gateway   Interface  Metric
>   0.0.0.0  0.0.0.0   172.16.2.1 172.16.3.30   1
> 127.0.0.0255.0.0.0127.0.0.1   127.0.0.1   1
>172.16.2.0255.255.254.0  172.16.3.30 172.16.3.30   1
>   172.16.3.30  255.255.255.255127.0.0.1   127.0.0.1   1
>172.16.255.255  255.255.255.255  172.16.3.30 172.16.3.30   1
> 224.0.0.0224.0.0.0  172.16.3.30 172.16.3.30   1
>   255.255.255.255  255.255.255.255  172.16.3.30 172.16.3.30   1
> Default Gateway:172.16.2.1
> ===
> Persistent Routes:
>   None
>
> 
>
> I think the entry
>
>172.16.2.0255.255.254.0  172.16.3.30 172.16.3.30   1
>
> would be the result after applying a w2k-version of the example route add
> -net linux-command in your post. My IP is 172.16.3.30 and netmask
> 255.255.254.0, so I could add this route with the command
>
> route add 172.16.2.0 MASK 255.255.254.0 172.16.3.30 metric 1 if 0x2
>
> but it's already there, so ...
>
> The "173.16.3.30"-part is actually the gateway address for my network. My
> PC is it's own gateway to the network it's on. The linux-variant of the
> route command uses the -net option and a local device (like eth0)
> as gateway-specification for the route. As the gateway-ip is specified,
> it seems w2k is smart enough that you can skip the device "if 0x2"-part.
>
> Hence
>
>   `route add 224.0.0.0 MASK 240.0.0.0 224.50.50.50 metric 1`
>
> should do the trick, if your IP is 224.50.50.50.
>
> Still no clustering, though ...

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] How to modify the log level trace

2002-06-12 Thread Maris Orbidans


edit conf/log4j.xml




> -Original Message-
> From: Jos Henrique Varanda [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 12, 2002 6:49 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] How to modify the log level trace
> 
> 
> How to modify the log level? I'd like to turn it to trace!
> 
> Thanks,
> JH
> 
> _
> Una-se ao maior serviço de email do mundo: o MSN Hotmail. 
> http://www.hotmail.com
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Binding Datasource problems

2002-06-12 Thread Sonnek, Ryan

hopefully this will be a simple question for someone out there.  I'm trying
to use an already configured datasource from an ejb, but i'm getting mixed
up on how the JNDI name is bound.  I'm using jboss 2.4.4 with tomcat 4.0.1.
I've tried several different JNDI names, and servlets are able to use the
literal JNDI name from the jboss.jcml, but my EJB can't connect.

any help would be greatly appreciated.  thanks.

EJB DAO source code:

Context naming = new InitialContext();
DataSource dataSource = (DataSource)
naming.lookup("java:comp/env/jdbc/mcs/mcsuser);
connection = dataSource.getConnection();

ejb.xml



http://java.sun.com/dtd/ejb-jar_2_0.dtd";>


  Machine Crewing System Enterprise Java Beans
  MCS EJB
  

  Employee BMP
  EmployeeEJB
  EmployeeEJB
  bpc.mcs.ejb.employee.EmployeeHome
  bpc.mcs.ejb.employee.Employee
  bpc.mcs.ejb.employee.EmployeeEJB
  Bean
  java.lang.Integer
  False
  


  
  
jdbc/mcs/mcsuser
javax.sql.DataSource
Container
Shareable
  

  
  

  
EmployeeEJB
*
  
  Required



jboss.xml



  

  EmployeeEJB
  ejb/mcs/employee
  
jdbc/mcs/mcsuser
javax.sql.DataSource
jdbc/mcs/database
  

  


jboss.jcml


  jdbc/mcs/database
  org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
  jdbc:oracle:thin:@xxx.xx.xxx:orcl
  blah
  blah
  20  
  30
  true
  30
  true   
  12


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] on-the-fly destination / mbeans / queues / help

2002-06-12 Thread Gary Grobe
This is a repost as I'm still searching for this howto.

Does anyone happen to have or know of an example to creating a destination (either topic or queue) on the fly as stated in http://www.jboss.org/online-manual/HTML/ch08s07.html ?
 
What's stated (or lack of) in the docs leaves many questions open to what I might be doing wrong and I only found one example in the code of JBoss itself and this didn't seem to fit what the docs say.

Any help much appreciated.
 
--- snip --- 

   MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).iterator().next();
   server.invoke(new ObjectName("JBossMQ", "service", "Server"), "createQueue", new Object[] { bInfo.getNodeName() }, new String[] {"java.lang.String"});
 
   context = new InitialContext();
 
   connectionFactory = (QueueConnectionFactory)
   context.lookup("QueueConnectionFactory");
 
   connection = connectionFactory.createQueueConnection();
 
   session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
 
   // really not sure if I still use the "queue/" prefix and how to grab the new queue
   // or if any of this is still to be done ...
   queue = (Queue)context.lookup("queue/" + bInfo.getNodeName());
 
   sender = session.createSender(queue);
 
   ObjectMessage message = session.createObjectMessage();
   message.setObject(bInfo);
 
   sender.send(queue, message);
...


RE: [JBoss-user] Sample Template Problems

2002-06-12 Thread Maris Orbidans


use this jndi.properties

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming

> -Original Message-
> From: Jim Williams [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 12, 2002 6:26 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Sample Template Problems
> 
> 
> Hello,
> I am very new to jboss and I am having a problem getting the 
> template sample 
> client to run for jboss3.0.0.
> I can build the template and watch it be deployed but when I 
> try to run the 
> client as described in the documentation I get this error:
> 
> 
> 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:640)
> at 
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
> at 
> javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialCont
> ext.java:280)
> at javax.naming.InitialContext.lookup(InitialContext.java:347)
> at test.client.TestClient.main(TestClient.java:21)
> 
> 
> I am using the default jndi.properties so that may be the problem.
> 
> I am not sure where to look to fix this.  
> 
> Can anyone help  or do I need to supply more info??
> 
> Thanks,
> Jim Williams
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] How to modify the log level trace

2002-06-12 Thread Jos Henrique Varanda

How to modify the log level? I'd like to turn it to trace!

Thanks,
JH

_
Una-se ao maior serviço de email do mundo: o MSN Hotmail. 
http://www.hotmail.com


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] jrockit and linux distribution

2002-06-12 Thread Marius Kotsbak

On Wed, 2002-06-12 at 17:26, Stefan Groschupf wrote:
> Hi,
> Since I read that jrockit is a good choice for Jboss. I try to run it on a
> Suse Linux 7.2. But I get a error that this distribution is not supported.
> Someone get Jrocckit and Jboss to run under Suse Linux?
Yes, on 8.0. Upgrade if you want to use it then :-)

> 
> Thanks
> Stefan
> 
> 
> 
> ___
> 
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Sample Template Problems

2002-06-12 Thread Jim Williams

Hello,
I am very new to jboss and I am having a problem getting the template sample 
client to run for jboss3.0.0.
I can build the template and watch it be deployed but when I try to run the 
client as described in the documentation I get this error:


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:640)
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at 
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at test.client.TestClient.main(TestClient.java:21)


I am using the default jndi.properties so that may be the problem.

I am not sure where to look to fix this.  

Can anyone help  or do I need to supply more info??

Thanks,
Jim Williams

___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jrockit and linux distribution

2002-06-12 Thread Stefan Groschupf

Hi,
Since I read that jrockit is a good choice for Jboss. I try to run it on a
Suse Linux 7.2. But I get a error that this distribution is not supported.
Someone get Jrocckit and Jboss to run under Suse Linux?

Thanks
Stefan



___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Resend: EJB statistics?

2002-06-12 Thread Bill Burke
Title: Message



Yes, 
you can.  Through the 8082 viewer, each Entity bean has a link.  
Through that link you can view cache size for that Entity bean, and you can also 
flush the cache.
 
Bill

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of James 
  HigginbothamSent: Wednesday, June 12, 2002 10:38 AMTo: 
  [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]Subject: [JBoss-user] Resend: EJB 
  statistics?
  
  Is there a way to 
  determine what the current size of the cache, requests, other performance 
  indicators for an EJB via 
  the JMX 8082 viewer? Or, is there anything else out there that acts similiar 
  to the weblogic console for seeing what the stats are for an EJB to better tune 
  deployment settings?
   
  Thanks,
  James


  1   2   >