[JBoss-user] [Clustering/JBoss] - Re: Auto-discover node in the client

2004-02-19 Thread kaobe
Hi Mike, 

thank you for your tip, but the net configuration is ok. 
the connect works in one specific case: The remote machine has a jboss running, my 
local jboss has just been started (no connect has yet been made). Then I am able to 
connect my client once. 

That's why I don't have a clue what might be the problem. 

Thanks for any further hints!

Peter

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822271#3822271

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822271


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: problem retrieving topic -ClassCastException

2004-02-19 Thread genman

Where did you find this example code?

Why are you applying EJB calls to JNDI objects?

Why didn't you use existing, freely available example code?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822270#3822270

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822270


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Roy Britten
Nice. Thanks Adrian.

On Fri, 20 Feb 2004 at 5:37am, Adrian Brock wrote:

> Right click the title bar on your console and turn off
> quick edit mode.

-- 
Usual disclaimer.

Roy Britten
National Institute of Water and Atmospheric Research
PO Box 8602, Christchurch, New Zealand
P: +64-3-343-7818
F: +64-3-348-5548
http://www.niwa.co.nz


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Hot redeployment - failed in jboss 3.2.3

2004-02-19 Thread mikefinn
Looks like maybe he is finding an incompatible XML parser. Do you have a copy of 
xerces/crimson/etc in your EAR, or in your server/*/lib?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822264#3822264

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822264


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: ant task for deploying ?

2004-02-19 Thread mikefinn
I have a similar dilemma, as I want to run some junits once everything is deployed. I 
have not had time to try yet, but one idea I had was to use jmx-console/html adapter 
to get the URL (via ant wait) for the installed EAR? Not sure what mbean gets deployed 
last in an EAR, but this one may be it:

http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.management.local%3AJ2EEServer%3DLocal%2Cj2eeType%3DJ2EEApplication%2Cname%3Dfoo.ear

Admittedly a hack, and certainly not as slick as your suggestion. The JMX solution 
might be as simple as the ant task registering and listening to JMX notifications for 
a deployment-completed for the appropriate module. Not sure if there is such a 
notification, but it doesn't seem too big of a deal to implement.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822263#3822263

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822263


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Next Nukes Release ?

2004-02-19 Thread cooper
Unfortunately create/remove table were not good enough when we started the project.

We need index on some fields and at this moment it was not possible to add index 
constraint on the cmp fields (now it is possible)



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822266#3822266

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822266


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Datasource Configuration] - Re: Data Source problem

2004-02-19 Thread mikefinn
1) Make sure you aren't using any dot notation in 
the SID.
2) Verify the port number
3) Verify the SID name
4) Make sure you have the right driver version. IIRC, classes111.zip is for JDK 1.1.

Mike

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822265#3822265

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822265


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Why can't you use local interfaces for CMP EJBs?

2004-02-19 Thread hirowla
At last, somebody seems to have the same setup! How do you do the changes you 
mentioned? BTW, the test classes are part of the WAR file so that ought to be ok.

Was going to e-mail, but it doesn't want to let me do it!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822262#3822262

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822262


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread [EMAIL PROTECTED]
lookup UIL2ConnectionFactory

Regards,
Adrian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822261#3822261

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822261


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Autodeployer only gets *.jar file

2004-02-19 Thread mikefinn
What kind of XML configuration file? And what do you expect the deployer to do with 
it? For anything out of the ordinary (web.xml, struts-config.xml, jboss-web.xml, etc), 
you will need to write a custom deployer. If it's just something you need access to 
programmatically at runtime, use getResourceAsStream() to load it off the classpath 
(which should include web-inf/lib IIRC).



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822259#3822259

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822259


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: javax.naming.CommunicationException when calling a clust

2004-02-19 Thread [EMAIL PROTECTED]
Actually you can leave it blank (or not defined)

The client will try to contact HAJNDI using a multicast.
i.e. it will look for any jboss server on the network.

The timeout messages says it couldn't find such a server
within the configured timeout (default 5 seconds).

Regards,
Adrian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822257#3822257

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822257


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Is it *really* possible to use Log4j ?

2004-02-19 Thread mikefinn
#1 is fairly simple. As long as you have a way to set log4j.configuration as a system 
property, you should be able to use log4j from anywhere, portably. Of course, each 
server has it's idiosyncracies as to how it uses log4j (categories, trace-level 
extensions, etc). You may want to look at jakarta-commons-logging. It's basically a 
veneer on top of different logging implementations. You may never have total 
portability, since it's not part of j2ee spec.

#2 is a different story. Many have asked about application-level log4j configs, a few 
have claimed they have done it, but I have yet to see anyone offer a working example.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822258#3822258

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822258


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JMX client and Log4j

2004-02-19 Thread mikefinn
There is a log4j.properties in jbossall-client.jar that may be getting in your way. In 
your app, try initializing do you force log4j config to load your log4j.xml?
like:
log4j.configuration=file://path/to/log4j.xml

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822256#3822256

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822256


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Create Durable Subscription at runtime when clientID is

2004-02-19 Thread [EMAIL PROTECTED]
You can flushAuthenticationCache("jbossmq")
on the mbean jboss.security:service=JaasSecurityManager

You'll also find the 1800 second timeout configured there.

Regards,
Adrian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822255#3822255

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822255


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Cannot instantiate class: org.jnp.interfaces.NamingConte

2004-02-19 Thread Aldo Martinez
I'm running under linux... but the same problem under windows xp

Right now i'm just doing: java -jar cliente.jar

but before i did it with -D with the path of jbossall-client.jar... and others.. i 
can't even remember all the things i did... i started at 10 am... and right now is 
2:46 am... so imagine how i feel...

if you have any idea.. please help me... i'm lost...
thanks.. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822254#3822254

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822254


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Frequently Asked Questions (FAQ)] - Re: DatabaseLoginModule example project

2004-02-19 Thread [EMAIL PROTECTED]
The current forum software does not support attachments. Use JBoss Wiki instead.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822253#3822253

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822253


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Please help! Problems configuring authentication.

2004-02-19 Thread [EMAIL PROTECTED]

  select role, 'Roles'
  from memberships m

Regards,
Adrian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822252#3822252

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822252


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Adrian Brock
Right click the title bar on your console and turn off
quick edit mode.

Regards,
Adrian

On Thu, 2004-02-19 at 20:09, Roy Britten wrote:
> Hi Peter,
> 
> I've occasionally seen something similar happen in my
> development server (also JBoss 3.2.1 with Jetty). Oddly, hitting
> the  key while in the console frees it up again (and
> releases a backlog of Log4j messages from "on-hold" requests).
> 
> No idea why it happens, and cannot replicate at will. It doesn't
> appear to be using any significant number of CPU cycles during
> that time, and with little activity on a server that is usually
> only up for a few hours I cannot imagine that there would have
> been any significant GC activity.
> 
> Cheers,
> Roy.
> 
> On Thu, 19 Feb 2004 at 10:23am, Peter Luttrell wrote:
> 
> > We experienced an odd problem last night in one of our
> > production servers running JBoss3.2.1 (with Jetty). The entire
> > things simply stopped responding for ~3 minutes! It didn't
> > complete any of it's web requests nor write anything to the
> > log for the entire period - something i've never seen before.
> >
> > The only thing that we can think of is that the VM was doing
> > GC for that period. Does anyone have any other ideas on what
> > could have caused the little nap it took?
> 
> My opinions, not my employer's.
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
 



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Cannot instantiate class: org.jnp.interfaces.NamingConte

2004-02-19 Thread mikefinn
It's behaving exactly like you are missing a jar. jbossall-client.jar should have 
everything you need. How are you launching the client? In unix shell, or windows cmd? 
Can you post the script?

mike

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822251#3822251

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822251


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Minimal JBoss configuration

2004-02-19 Thread mikefinn
Why not start with the 'minimal' configuration out of the box, and add what you need 
(JMS)? JMX has to be there - it's the backbone of the server. Everything else is just 
modules that plug into JMX. Note: you will not get jmx-console, web-console, HTML 
adapter, etc, unless you have a web container running.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822250#3822250

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822250


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Frequently Asked Questions (FAQ)] - J2EE

2004-02-19 Thread bharathpu
I am intrested in developing a J2EE project using JB0ss application server. where can 
i get the dummy project.please give the website name in which i'll get free J2EE 
projects.please do mail me as soon as possible


thanks,
Bharath


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822249#3822249

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822249


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Cannot instantiate class: org.jnp.interfaces.NamingContextFa

2004-02-19 Thread Aldo Martinez
I know others ask this before... but still can't solve the problem

I'm trying to make a simple client to access a ejb in jboss when i run it from 
eclipse it runs perfect... but when i make the jar and try tu run it i get:

javax.naming.NoInitialContextException: Cannot instantiate class: 
org.jnp.interfaces.NamingContextFactory [Root exception is 
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory] at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.(InitialContext.java:175)
at p.Client.main(Client.java:36)
Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
... 4 more

I did everything i saw in the forums... but still the same

the code in the client is:

System.setProperty( 
"java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); 
System.setProperty( "java.naming.provider.url","jnp://localhost:1099"); 
System.setProperty( 
"java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
Context ctx = new InitialContext( );

Also i have the jndi.properties:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

and in the classpath i have jbossall-client.jar, jndi.jar, jnp-client.jar, etc

any ideas? i'm lost cos it's working inside eclipse... so... ()...

Aldo

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822248#3822248

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822248


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Running two Jboss instance on the same machine

2004-02-19 Thread mikefinn
If your version is recent enough (3.0.5+ and 3.2.1+ I think), use the binding service 
manager. It's a single XML file to control all ports on the server.

http://prdownloads.sourceforge.net/jboss/BindingService.pdf?download

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822247#3822247

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822247


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Auto-discover node in the client

2004-02-19 Thread mikefinn
Simple question (from the 'never overlook the obvious' category): your 'remote' server 
is on the same subnet as your 'local' server, or client? Meaning, there are no network 
hops between local and remote? And both are using the same mcast_addr and discovery 
group?

Autodiscovery (in default config) only works if you can UDP/multicast between the 
nodes, or between client and server.

Mike

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822246#3822246

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822246


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: javax.naming.CommunicationException when calling a clust

2004-02-19 Thread mikefinn
Where does it specifically say to leave it blank? I am not sure how that would ever 
work, unless you are talking about local calls. 

The EJB (remote) client needs the URL to do the initial lookup to JNDI. You should set 
it to a comma separated list of your HA-JNDI servers:

node1:1100,node2:1100,node3:1100, and so on.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822244#3822244

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822244


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Maximum number of HTTP Sessions in a cluster

2004-02-19 Thread mikefinn
It would help to know:
1) What you mean by "max out"? Is there an error?
2) What platform you are on (Windows, Linux, etc)
3) What is your architecture? Is a load balancer in front? How many nodes do you have? 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822243#3822243

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822243


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Unexpected Cluster Shutdown

2004-02-19 Thread mikefinn
Just a guess, but JNP discovery is finding the servers automatically. I have seen this 
when using shutdown.sh with no args, and the 'local' server is not running. This 
assumes that the servers are multicast-reachable.

Two ideas:
1) Do JAVA_OPTS=-Djnp.disableDiscovery=true before calling shutdown.sh.
2) shutdown.sh --server=jnp://localhost:1099

mike

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822242#3822242

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822242


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
JBossMQProvider  
when my program run, it throws an exception,
JNDI API lookup failed: javax.naming.NameNotFoundException: JBossMQProvider   not bound

who can Help?
thank you


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822241#3822241

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822241


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
My code is below:

try {
  java.util.Hashtable JNDIParm = new java.util.Hashtable();
  JNDIParm.put(Context.PROVIDER_URL, "localhost");
  JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  jndiContext = new InitialContext(JNDIParm);
} catch (NamingException e) {
System.out.println("Could not create JNDI API " +
"context: " + e.toString());
System.exit(1);
}
try {
queueConnectionFactory = (QueueConnectionFactory)
jndiContext.lookup("JBossMQProvider");
queue = (Queue) jndiContext.lookup(queueName);
} catch (NamingException e) {
System.out.println("JNDI API lookup failed: " +
e.toString());
System.exit(1);
}

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822237#3822237

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822237


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - How Can I get a ConnectionFactory using JMS with JBoss?

2004-02-19 Thread SportsBaby1980
HI.Thank you .
this time I am in another trouble.
How to get a ConnectionFactory?
In the jboss_home/server/default/deploy/jms/ directory,there is a file named 
jms-ds.xml, there is a tag named , and a tag named " "
.
Is this a ConnectionFactory JNDI name?
who can tell me?
Thak you .

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822236#3822236

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822236


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Help on JMS for JBOSS

2004-02-19 Thread SportsBaby1980
I encouter a new problem  now.
I don't know how to create or get one ConnectionFactory with Jss?
Using SUN's J2EESDK1.3,I can create connectionFactory like this:
j2eeadmin -addJmsFactory jndi_name queue
   j2eeadmin -addJmsFactory jndi_name topic
waiting...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822235#3822235

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822235


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Next Nukes Release ?

2004-02-19 Thread jae77
unfortunately, i am going to have to defer these questions to julien. 

i've only recently joined the effort and come from an environment that doesn't do 
table creation through the entity beans, so i've honestly never thought about it. 

how fine grained are the database constraints if you use the entity bean to create the 
table?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822234#3822234

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822234


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: CMP:Where my data is going?

2004-02-19 Thread mandarjboss
Hi triahlon98
Thanx for ur reply.But i really didn't understand what u want to say.If u look 
closely i don't think there is any difference between my jbosscmp-jdbc.xml and what u 
have stated here.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822233#3822233

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822233


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Next Nukes Release ?

2004-02-19 Thread hxp
Hi Jae,

Could you please go deeper into Nicholas' question, and clear something up for those 
of us who are curious...

Why is there any need for DDL at all?

Is the DDL, which was in the .ddl files and is now embedded in the  setup.xml files, a 
legacy of the database schema migration from the PHP Nukes model? 

Will it eventually be eliminated when Nukes takes full advantage of EJB2.0 CMP ??

Or, is there something that you guys have discovered that is outside what CMP can 
handle? ...that has to be done via a SQL/DDL approach? What are the particular 
database-specific issues that have to handled separately for each database?

What is the rationale for not using J2EE standard facilities to manage table creation 
(and possibly removal)? Why do we have these xdoclet tag values:

 * @jboss.persistence
 *create-table="false"
 *remove-table="false"
???

Why not go thru CMP to establish the DB? instead of .ddl, or embedded sql inside 
setup.xml, why not just have a utility to read nice clean XML (i.e., with no embedded 
SQL), and then go properly thru entity EJBs w CMP to create everything in the DB?

BTW,  a side effect of the above approach is that it would get us pretty far towards a 
powerful admin facility -- batch construction, under-the-hood maintenance, dump & 
reload of the entire Nukes database to pure XML... so IMHO, it would be a good way to 
go anyway. So why not initialize the system this way?

Perhaps this is the plan, and we're just not there yet? Or what am I missing?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822232#3822232

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822232


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Clustering/JBoss] - Re: Auto-discover node in the client

2004-02-19 Thread Bela Ban
kaobe wrote:

Hello again,

I don't know why, but I'm still (again?) facing problems concerning 
cluster node auto detection.
I have now the following properties for the InitialContext:

Properties prop = System.getProperties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
prop.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
prop.put(Context.PROVIDER_URL, "");

I think these are right because sometimes I get a connection and am 
able to lookup my stateless session bean.

But most of the times it doesn't work. I think it works more often 
when I started the cluster nodes freshly, but I don't know if that is 
just my imagination.

It would be really great if somebody could help me with this problem. 
Perhaps someone out of the JGroups team.

By the way, here is the stacktrace of the exception when my client 
doesn't get a connection.

javax.naming.CommunicationException: Receive timed out. Root exception 
is java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:671)
at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1093)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at de.kaobe.client.TestClient.(TestClient.java:54)
at de.kaobe.client.TestClient.main(TestClient.java:85)


HA-JNDI discovery is *not* done by JGroups. Can you increase the timeout 
value for jnp.discoveryTimeout, to e.g. 1 ? Also, try putting a list 
of at least some of your servers in PROVIDER_URL. If none are found, 
only then do we use multicast discovery.



--
Bela Ban
Lead JGroups / JBossCache
Cell: (408) 316-4459


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - EJB-QL: get a SET of Beans ???

2004-02-19 Thread ericmacau
Hello,

How can I get a BEAN its ID is the MAXMIMUM ?


For example,

UserBean.java
- userID
- userName


How can I retrieve the last User Object ?

signature="User findLastUser()"
query=" ???  "


What should be defined in the query ???


Eric


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822231#3822231

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822231


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: jboss jmx console problem

2004-02-19 Thread sailer2008
hi,i downloaded zip file is jboss-3.0.8_tomcat4.1.24.zip and unzipped into a dir,
then started jboss using /bin/run.bat i can see the index.jsp page when i typed 
url:http://localhost:8080/jmx-console.maybe you can down jboss-3.0.8_tomcat4.1.24.zip 
file to try again.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822230#3822230

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822230


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - JBoss 3.2.3 ships with previous version of xercesImpl.jar

2004-02-19 Thread surjitsen
JBoss 3.2.3 ships with an older version of xercesImpl.jar, that does not support XML 
Schema Validation. I conducted some quick trials with JBoss using the latest version 
of xercesImpl.jar and it seems to work fine. However I am worried about using the new 
version of xercesImpl.jar in production. Any comments or suggestions would be highly 
appreciated

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=389#389

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=389


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign Key within Composite Primary Key and CMR

2004-02-19 Thread shy613
Hi Chris, 

I 'll be very happy if you can e-mail me those *.xml files. My e-mail i.d is [EMAIL 
PROTECTED] 

Thanks a lot 

with regards 
shy613 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=388#388

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=388


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - jboss jmx console problem

2004-02-19 Thread madhurn_2000
Hi,
I  tried installing jboss doing the following unzipped the donloaded zip file set 
jboss_home in env variable and started jboss using run.bat the server starts up.But 
when i type the following url:http://localhost:8080/jmx-console/index.jsp in the 
browser i cannot see the management console i am asked for a network username 
andpassword for localhost under xda realm what should i do pls help

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=387#387

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=387


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Maximum number of HTTP Sessions in a cluster

2004-02-19 Thread dshimy_eh
I am running 3.2.3 with tomcat and session replication enabled.  The system seems to 
max out with 9,829 sessions.  Is there a hard limit?  Is there a way to adjust the 
limit?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=386#386

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=386


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Help with pre-compilied JSPs clashing names

2004-02-19 Thread zorzella
To my great delight, I've managed to setup Tomcat to make use of the pre-compiled JSPs 
I generate with ant. What I've done is to add this to the global web.xml


   scratchdir
   ../server/default/jsps


It works like a charm for a single deployment, but since it ignores the servlet 
context path, two JSPs in two different applications end up overwriting each other. 
E.g., deploying a.ear and b.ear, both these pages get compiled into 
../server/default/jsps/jsp/index_jsp.[java/class]:

http://myserver/a/index.jsp
http://myserver/b/index.jsp

Is there any way to prevent this? Ideas: is there any way to configure scratchdir to 
heed the context path (e.g. though the use of the "classpath")? Is there a way to at 
least configure this parameter in the deployed application's web.xml -- rather than 
the global web.xml?

Any other ideas are welcomed.

TIA,

Zorzella

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=385#385

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=385


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - eclipse 3.0 and getting recent jboss 3.2.2 branch from cvs

2004-02-19 Thread vijay172
Hi,

I am using eclispe 3.0 and I had pulled out jboss 3.2.2 branch from 
cvs.sourceforge.net:/cvsroot/jboss.

I was able to create a branch Branch_3_2.But i wanted to pull some recent code changes 
from the cvs for branch 3.2.2 but I can't seem to do it.Could someone help me with 
this.Jboss-3.2 under Head is empty.The code change I sought for is now under 
HEAD/jbosscx.I tried following the instructions for getting code from cvs but that 
sure didn't help me.

Thanks a ton for all your help,
Vijay

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=384#384

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=384


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - CMP Relationship Collection dilemma

2004-02-19 Thread supercleanse
Hi,
I'm having problems with some of my entity beans...  I have a bean that I 
lookup we'll call it entity bean "A"...  So bean "A" has a one-way many-to-many 
relationship with bean "B"...  thus, "A" has the following abstract methods:

public abstract Collection getBs();
public abstract void setBs(Collection bc);

I call getBs from my program and then add objects to the collection and call setBs 
with my altered Collection (to place it back into the database)...  The problem is 
that no matter what I do, the Collection always comes back from the database with only 
one Object in it...  If someone could help me it would be great...  Thanks.

Blair

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=382#382

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=382


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - javax.management.timer.Timer problem in case of high load

2004-02-19 Thread molnarl3
Hi,

There is a small task (saving some counter state into a database) which is executed 
periodically by a JMX timer in every 10 second. This works fine for me, but when a 
high load situation occures, then this timer dies (this task is NEVER executed again, 
even when the high load had been stopped). So now I have to restart JBoss (I use 
version 3.2.1) after each 'high load timeframe' in order to get the timer running 
again, which is not an acceptable solution!
Previously I have tried it with the help of java.util.Timer, but the behavior was the 
same. Is there any workaround for this? How could this task be managed in such case?

Best regards,

Laszlo


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=381#381

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=381


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Ib Seratski
Hej
i have also seen this on my developer server with jboss-3.2.2(with tomcat). 
HTTP Request seems to hang and after some hitting in the console it "weaks up"
this happens regardles if i use the server machine or over network testet also
throug the Jakarta Isapi Redirector. not a big issue right now but not a happy
situation in production.

BWY does some one have some experience in optimeizing and configuration with 
the Isapi Redirector, they want to share ?
-- 
Regards
   Ib Seratski
---
 Erara humanum est 
---


Quoting Roy Britten <[EMAIL PROTECTED]>:

> Hi Peter,
> 
> I've occasionally seen something similar happen in my
> development server (also JBoss 3.2.1 with Jetty). Oddly, hitting
> the  key while in the console frees it up again (and
> releases a backlog of Log4j messages from "on-hold" requests).
> 
> No idea why it happens, and cannot replicate at will. It doesn't
> appear to be using any significant number of CPU cycles during
> that time, and with little activity on a server that is usually
> only up for a few hours I cannot imagine that there would have
> been any significant GC activity.
> 
> Cheers,
> Roy.
> 
> On Thu, 19 Feb 2004 at 10:23am, Peter Luttrell wrote:
> 
> > We experienced an odd problem last night in one of our
> > production servers running JBoss3.2.1 (with Jetty). The entire
> > things simply stopped responding for ~3 minutes! It didn't
> > complete any of it's web requests nor write anything to the
> > log for the entire period - something i've never seen before.
> >
> > The only thing that we can think of is that the VM was doing
> > GC for that period. Does anyone have any other ideas on what
> > could have caused the little nap it took?
> 
> My opinions, not my employer's.
> 
> -- 
> Roy Britten
> National Institute of Water and Atmospheric Research
> PO Box 8602, Christchurch, New Zealand
> P: +64-3-343-7818
> F: +64-3-348-5548
> http://www.niwa.co.nz
> 
> 
> ---
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: how to configure to use custom AuthenticationManager and

2004-02-19 Thread khohl
Thanks again for the additional information.  I'm still having troubles I can't find 
answers for in the documentation -

3) Back to my original question here - what should the implementation of 
getActiveSubject() do?  Do I need to do something like maintain a Map of thread names 
to Subjects and return the matching Subject for the thread when called?  I assume 
isValid() should populate the Subject parameter with Principals and credentials 
(including the ones passed in) if the Principal and credential are valid.  Let me know 
if I've got that wrong.

4) Sorry but I must be missing the defined contract you refer to in Chap 8 - what are 
the contract details?  What do you recommend I do for dealing with authentication 
requests I don't care about, and how do I recognize those I don't care about?  In this 
case of JCA, null is being passed in for both the Principal and credential and I 
assume that isn't valid and return false.  Apparently, it is valid and I must either 
return true and populate the Subject with something (I don't know what), or somehow 
delegate this request to JaasSecurityManager but I'm not sure how.

5) Below is the a log excerpt showing 2 attempts to instantiate my security manager -

2004-02-18 16:38:29,133 INFO  [ComponentServer] JBOSS_ServerLogger: isTraceEnabled() = 
true, isDebugEnabled() = true
2004-02-18 16:38:29,364 INFO  [STDOUT] ComponentServer 6.0.1 - 0222 2004.02.13 - 24
2004-02-18 16:38:29,364 INFO  [STDOUT] Copyright (c) 1997-2003 by Apropos Technology, 
Inc.  All Rights Reserved.
2004-02-18 16:38:29,694 INFO  [ComponentServer] null: updated [ReplyTimeout] managed 
element
2004-02-18 16:38:29,804 INFO  [ComponentServerSecurity] JBOSS_ServerLogger: 
isTraceEnabled() = true, isDebugEnabled() = true
2004-02-18 16:38:29,804 TRACE [ComponentServerSecurity] AproposSecurity called
2004-02-18 16:38:31,437 TRACE [ComponentServerSecurity] SecurityRealm called
2004-02-18 16:38:31,437 TRACE [ComponentServerSecurity] SecurityRealm: creating new 
group [ASSIGNMENTS]
2004-02-18 16:38:31,497 INFO  [org.jboss.security.plugins.JaasSecurityManagerService] 
Created securityMgr=SecurityRealm:[EMAIL PROTECTED]
2004-02-18 16:38:31,547 INFO  [org.jboss.security.plugins.JaasSecurityManagerService] 
Added HsqlDbRealm, [EMAIL PROTECTED] to map
2004-02-18 16:38:31,577 INFO  
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.DefaultDS] Bound 
connection factory for resource adapter for ConnectionManager 
'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS'
2004-02-18 16:38:31,577 INFO  
[org.jboss.resource.connectionmanager.TxConnectionManager] Started 
jboss.jca:service=LocalTxCM,name=DefaultDS
2004-02-18 16:38:31,647 TRACE [ComponentServerSecurity] SecurityRealm.isValid called - 
principal[null], 
credential[null],activeSubject[Subject(Principals{}PublicCredentials{}PrivateCredentials{count=0})]
2004-02-18 16:38:31,647 TRACE [ComponentServerSecurity] SecurityRealm.isValid called - 
principal[null], credential[null]
2004-02-18 16:38:31,707 WARN  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while 
attempting to get a new connection: 
org.jboss.resource.JBossResourceException: No matching credentials in Subject!
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.getConnectionProperties(BaseWrapperManagedConnectionFactory.java:389)
at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:137)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:477)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:213)
at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:496)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:425)
at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:318)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:477)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.getConnection(PersistenceManager.java:1266)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:216)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1356)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at java.lang.reflect.Metho

[JBoss-user] [Beginners Corner] - Re: JMX client and Log4j

2004-02-19 Thread gjb9876
It's not that log4j is no longer working, in fact my log file is being created, but no 
log items exist.  I've discovered that it is only logging ERROR level, not below 
(whereas before it logged INFO, DEBUG, all levels).  I've setup my log4j.xml with the 
Threshold of DEBUG, so I assumed everything would work as before I added 
jbossclient-all.jar to the classpath.

I guess jbossclient-all.jar is somehow changing the log level from DEBUG to ERROR?

Now I'll need to find how to programatically set the level back to DEBUG.  Any tips?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822216#3822216

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822216


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Help on JMS for JBOSS

2004-02-19 Thread npdavis
"darranl" wrote : Chapter 5 of the quick start guide covers JMS configuration and 
message driven beans.

Know where to find an example (XML files, and code) of how to set up an MDB on 
MACHINE_A running JBoss 3.2.x to connect to a queue on MACHINE_B running JBoss 3.2.x, 
through a firewall?

I found something in the JMS forum on this, but the XML was eaten because the guy 
didn't "code" it.

I have a working MDB, I just need to make it connect to a Queue over the wire using 
some firewall friendly way. 

I have been googling for most of the day and haven't found anything useful.

Any help would be appreciated.

l8,
npdavis

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822215#3822215

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822215


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: javax.naming.NoInitialContextException

2004-02-19 Thread Aldo Martinez
could you fix the problem?.. i have the same problem :(

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822214#3822214

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822214


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Mini-Howto: MDB listens on remote topic hosted by anothe

2004-02-19 Thread npdavis
jieshengz,
Can you possibly repost your xml. It has been eaten. Use the  code button: ) 

BTW thank you for posting this

thx,
Neil


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822213#3822213

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822213


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: I can't see my pictures on my web-page!!!

2004-02-19 Thread mcscottmc
Just to follow up. After putting in the patch I tried to reproduce my errors and of 
course it turns out that it is user error :(

I sometimes forget to put the "/" at the beginning of the filename and that causes it 
to throw. 

-Scott

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822212#3822212

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822212


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Roy Britten
Hi Peter,

I've occasionally seen something similar happen in my
development server (also JBoss 3.2.1 with Jetty). Oddly, hitting
the  key while in the console frees it up again (and
releases a backlog of Log4j messages from "on-hold" requests).

No idea why it happens, and cannot replicate at will. It doesn't
appear to be using any significant number of CPU cycles during
that time, and with little activity on a server that is usually
only up for a few hours I cannot imagine that there would have
been any significant GC activity.

Cheers,
Roy.

On Thu, 19 Feb 2004 at 10:23am, Peter Luttrell wrote:

> We experienced an odd problem last night in one of our
> production servers running JBoss3.2.1 (with Jetty). The entire
> things simply stopped responding for ~3 minutes! It didn't
> complete any of it's web requests nor write anything to the
> log for the entire period - something i've never seen before.
>
> The only thing that we can think of is that the VM was doing
> GC for that period. Does anyone have any other ideas on what
> could have caused the little nap it took?

My opinions, not my employer's.

-- 
Roy Britten
National Institute of Water and Atmospheric Research
PO Box 8602, Christchurch, New Zealand
P: +64-3-343-7818
F: +64-3-348-5548
http://www.niwa.co.nz


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Peter Luttrell
Actually i don't think it has anything to do with the web container as 
we have a jmx service that runs every 60 seconds that always dumps stuff 
to the server.log. During the 3 minute nap, it didn't appear to run...

.peter

Rod Macpherson wrote:

Use tomcat -- you knew that was coming:) 

-Original Message-
From: Peter Luttrell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 19, 2004 8:24 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JBoss Took a Nap!

We experienced an odd problem last night in one of our production 
servers running JBoss3.2.1 (with Jetty). The entire things simply 
stopped responding for ~3 minutes! It didn't complete any of it's web 
requests nor write anything to the log for the entire period - something

i've never seen before.

The only thing that we can think of is that the VM was doing GC for that

period. Does anyone have any other ideas on what could have caused the 
little nap it took?

thanks.
.peter
--
CONFIDENTIALITY NOTICE: This e-mail message, including any
attachments,is for the sole use of the intended recipient(s), even if
addressed incorrectly, and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact
the sender by reply e-mail and destroy or delete all copies of the
original message and all attachments, including deletion from the trash
or equivalent folder.  Thank you.
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
 



--
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,is for the sole 
use of the intended recipient(s), even if addressed incorrectly, and may contain 
confidential and privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended recipient, please contact the 
sender by reply e-mail and destroy or delete all copies of the original message and 
all attachments, including deletion from the trash or equivalent folder.  Thank you.


Re: [JBoss-user] Performance Data

2004-02-19 Thread Andrew Oliver
The problem is that it varies so much by what your doing and how you do it.
It matters so much about your database setup, the use case of your data (can
it be cached, eager or lazy loaded), what operating system you're using,
what version...that any numbers would be pretty useless.

Look here: 
http://www.jboss.com/index.html?module=html&op=userdisplay&id=services/refer
ences/index

If you have these kinds of concerns the best thing would be to get training
and support from JBoss.  In the advanced training you'd find out how
transactions, locking policies, eager, lazy loading, caching, clustering
issues, the database driver you use and more could effect the speed and
scalability of your application.

-Andy


From: "pooja" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Thu, 19 Feb 2004 17:34:00 +0530
To: <[EMAIL PROTECTED]>
Subject: [JBoss-user] Performance Data

Hi
 
I searched the JBoss official site but cud not get any performance data for
some in-production application.
Can someone provide that?
 
I am planning to use it for an application which will host transactions
received from *many* other terminals.
At peak time I expect 400-500 such clients, trying synchronous long
connections & posting around a million transactions a day.
Right now, I do not have a design to contribute to the question, but I
expect it to be around 30 EJBs with very few view components, if at all. A
single servlet will listen to all the incoming terminals requests.
 
I understand optimizations like clustering but they¹ll come afterwards.
Do we have a list of numbers for some in-production application? I just need
to be able to say *JBoss has it proven* :-)
 
Thank You
--- Pooja. 




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss Remoting help needed

2004-02-19 Thread Marek Lange
I have successfully realized to detect JBoss instances via the new 
remoting framework which is in 3.2. I aim at calling any jmx method on 
the detected server. I have tried to use org.jboss.remoting.Client.

Javadoc says: "Client is a convience method for invoking remote methods 
for a given subsystem".

Client client = new Client (myDetectedLocator, "jmx");
client.connect();
//invoke method
client.invoke(new NameBasedInvocation(.
Can someone give me a hint what to code here? Is this the preferred way 
to realize that?

Thanks!

-marek



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Blocked in StdServerSession.start: PooledExecutor has no

2004-02-19 Thread [EMAIL PROTECTED]
Your analysis is off.

1) Doug says we must catch all exceptions otherwise the executor is broken
(unless you prefill the pool by setting a minimum)
That is what Genman fixed, no exception is thrown from StdServerSession.run()

It is in cvs for the 3.2.4RC1. I still haven't seen what this exception actually is
and why an exception is being thrown there.

2) For the minimum size of 1, that would be unacceptable in general. If you have 100
mdbs, we cannot have 100 idle threads hanging around when there are no
messages to process. We just let the thread die if there are no messages for
30 seconds.
There is no need if set the minimum if there are no uncaught exceptions.

3) The 3.2.3 release is frozen, it will not change.

Regards,
Adrian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822189#3822189

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822189


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - javax.naming.CommunicationException when calling a cluster e

2004-02-19 Thread cari34
Hi guys,
I have a cluster enabled session bean deployed on JBOSS.
The bean client uses the following properties :

table.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
table.put(Context.PROVIDER_URL, "");
table.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); 

My client has the jbossha.jar in its classpath.
The thing is that anytime I try to get a reference of the home interface
I got the following exception :

javax.naming.CommunicationException: Receive timed out.  Root exception is 
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:671)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1093)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)

Can anybody tell me what is wrong??
If I do not leave empty the Context.PROVIDER_URL I get the reference.
But the JBOSS cluster specification says that the Context.PROVIDER_URL should be empty 
in a cluster environment.

So, has anybody solved this problem

Thank you very much.  
Cari


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822188#3822188

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822188


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread acoliver
Hi Martin, most security experts tend to discourage "Security through Obscurity".  
Moreover, it doesn't take too many lines of code or too powerful of a machine to 
perform a dictionary or brute force crack these passwords.  Meaning, if I've gotten to 
your password store, you're already wide open.  I'll just query the database, grab the 
passwords (even encrypted) and write about a 30 line perl script that guesses until it 
gets it right.   I'll just disassemble the class file, redeploy, capture what the user 
types.  

I'd instead encrypt any remote EJB calls using the RMI+SSL, HTTP calls with SSL, etc.  
I'd put my datasource deinfitions in their own deploy directory with tight 
permissions.  I'd put my authentication source somewhere locked down fairly tight.  
Prevent users from picking stupid passwords, etc.  Heck, if you really want security 
don't use passwords :-).  Ultimately, you want accountability, you need to know who 
did what and who had access to the information to leak it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822186#3822186

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822186


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Frequently Asked Questions (FAQ)] - What is the optimal platform for JBoss?

2004-02-19 Thread unsane1
What is the optimal platform for running a JBoss production server?

I'm looking for both operating system (MacOS X, Windows, Solaris, Specific Linux), as 
well as then processor technology and speed (AMD, Intel, PPC, Sparc), and recommended 
memory amount.

I'm very interested in any published hardware platform testing, as well as operating 
system results. Is RH ES recommended, or SUSE, or is MacOS X beating anything out?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822185#3822185

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822185


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: JBoss 323/Nukes

2004-02-19 Thread javab0y
The new source fixed the boot errors.  The only one left is when selecting the Blocks 
module, and selecting "menu / Main Menu".

Here is the error:

anonymous wrote : 
  | 10:29:29,814 ERROR [block] Cannot invoke operation
  | org.jboss.nukes.utils.ConversionException: A property editor has not been found 
for type org.apache.xerces.dom.DeferredElementImpl
  | at org.jboss.nukes.utils.Tools.fromObject(Tools.java:820)
  | at 
org.jboss.nukes.core.modules.block.BlockModule.edit(BlockModule.java:276)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at org.jboss.nukes.module.ModuleSupport.render(ModuleSupport.java:255)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at 
org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
  | at 
org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:43)
  | at 
org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93)
  | at 
org.jboss.nukes.mx.LifeCycleInterceptor.invoke(LifeCycleInterceptor.java:93)
  | at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.nukes.html.ThemeSupport.module(ThemeSupport.java:192)
  | at org.jboss.nukes.html.ThemeTemplate$1.get(ThemeTemplate.java:111)
  | at org.jboss.nukes.common.template.Generated38.render(Generated38.java)
  | at org.jboss.nukes.html.ThemeTemplate.main(ThemeTemplate.java:191)
  | at org.jboss.nukes.html.ThemeSupport.render(ThemeSupport.java:137)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at 
org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
  | at 
org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:43)
  | at 
org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93)
  | at 
org.jboss.nukes.mx.LifeCycleInterceptor.invoke(LifeCycleInterceptor.java:93)
  | at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:177)
  | at $Proxy32.render(Unknown Source)
  | at org.jboss.nukes.html.Page.process(Page.java:155)
  | at org.jboss.nukes.module.ModuleSupport.process(ModuleSupport.java:148)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at 
org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
  | at 
org.jboss.mx.interceptor.MBeanAttributeInterceptor.invoke(MBeanAttributeInterceptor.java:43)
  | at 
org.jboss.mx.interceptor.PersistenceInterceptor2.invoke(PersistenceInterceptor2.java:93)
  | at 
org.jboss.nukes.mx.LifeCycleInterceptor.invoke(LifeCycleInterceptor.java:93)
  | at org.jboss.mx.server.MBeanInvoker.invoke(MBeanInvoker.java:76)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.nukes.core.Main$LastNext.handle(Main.java:438)
  | at 
org.jboss.nukes.core.modules.profile.ProfileModule$1.handle(ProfileModule.java:153)
  | at org.jboss.nukes.core.Main$HandlerNext.handle(Main.java:423)
  | at 
org.jboss.nukes.core.modules.core.CoreModule$3

[JBoss-user] [Installation & Configuration] - Error handler and SMTP

2004-02-19 Thread sch-th
Hi,

I Use SMPT appender to send me errors.
But yesterday, when our mail server got a problem, SMTP appender blocked application.

I'd like to to errorhandler to put SMTP errors in a file and solve me problem.

Has anybody implemented this configuration in a log4j.xml file ?

Tom

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822183#3822183

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822183


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Rod Macpherson
Use tomcat -- you knew that was coming:) 

-Original Message-
From: Peter Luttrell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 19, 2004 8:24 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JBoss Took a Nap!


We experienced an odd problem last night in one of our production 
servers running JBoss3.2.1 (with Jetty). The entire things simply 
stopped responding for ~3 minutes! It didn't complete any of it's web 
requests nor write anything to the log for the entire period - something

i've never seen before.

The only thing that we can think of is that the VM was doing GC for that

period. Does anyone have any other ideas on what could have caused the 
little nap it took?

thanks.
.peter


--
CONFIDENTIALITY NOTICE: This e-mail message, including any
attachments,is for the sole use of the intended recipient(s), even if
addressed incorrectly, and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact
the sender by reply e-mail and destroy or delete all copies of the
original message and all attachments, including deletion from the trash
or equivalent folder.  Thank you.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Create Durable Subscription at runtime when clientID is

2004-02-19 Thread iherwig
Hello,

after running additional tests i figured out, that it takes about half an hour from 
adding the user to the role until the associated topic is available to the user. 
Is this due to refresh timeouts and if so is it possible to configure these?

Thanks in advance and regards, ingo.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822181#3822181

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822181


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread Martin0
Thanks Andrew - I'll take a look.

After a bit of research, my current thoughts are:
1) Use JAAS - I need this anyway
2) Use jboss DatabaseServerLoginModule
3) encrypt password with md5
4) (d)encrypt other data with Password-based encryption from JCE within 
ejbLoad/ejbStore

The only downside of 4) is that once I have created the secret key from the user's 
password, I have to keep that key in the users session so I can 
(d)encrypt any data I need whilst they are logged in.  This is okay so long as there's 
no memory dumps etc.  I guess this is a normal scenario...

This way - no one, not even sysadmin can read the sensitive data - right?

I just need the source to DatabaseServerLoginModule so I can do md5 passwords - 
hopefully there's nothing in there to sink the plan.


Martin


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822180#3822180

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822180


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - [NestedThrowable] Duplicate throwable nesting of same base t

2004-02-19 Thread jacklyn
Ok, first of all, I've got:

Eclipse 2.1.2
Lomboz 2.1.2
JBoss 3.2.3

Can anybody help me with the "jboss323all.server" configuration?

My "jboss323all.server":

  | 
  | 
  | 
  | 
  | 
  | 
  | /server/all/deploy
  | /server/all/deploy
  | /server/all/deploy
  | 
org.jnp.interfaces.NamingContextFactory
  | jnp://:1099
  | org.jboss.Main
  | /bin
  | 
  | -c all
  | org.jboss.Shutdown
  | /bin
  | 
  |  
  | 
  | JDK_TOOLS
  | /bin/run.jar
  | /bin/shutdown.jar
  | /client/jboss-j2ee.jar
  | /server/all/lib/javax.servlet.jar
  | /lib/commons-httpclient.jar
  | /lib/concurrent.jar
  | /lib/getopt.jar
  | /lib/gnu-regexp.jar
  | /lib/jboss-boot.jar
  | /lib/jboss-common.jar
  | /lib/jboss-jmx.jar
  | /lib/jboss-system.jar
  | /lib/jdom.jar
  | /lib/log4j-boot.jar
  | /lib/webdavlib.jar
  | /lib/xercesImpl.jar
  | /lib/xml-apis.jar
  | /server/all/lib/bcel.jar
  | /server/all/lib/hsqldb.jar
  | /server/all/lib/hsqldb-plugin.jar
  | /server/all/lib/jboss.jar
  | /server/all/lib/jbossha.jar
  | /server/all/lib/jboss-j2ee.jar
  | /server/all/lib/jboss-jaas.jar
  | /server/all/lib/jboss-jsr77.jar
  | /server/all/lib/jboss-management.jar
  | /server/all/lib/jbossmq.jar
  | /server/all/lib/jbosssx.jar
  | /server/all/lib/jboss-transaction.jar
  | /server/all/lib/jgroups.jar
  | /server/all/lib/jnpserver.jar
  | /server/all/lib/jpl-pattern.jar
  | /server/all/lib/jpl-util.jar
  | /server/all/lib/jsse.jar
  | /server/all/lib/jts.jar
  | /server/all/lib/log4j.jar
  | 
  | 
  | /client/jboss-j2ee.jar
  | /client/jnp-client.jar
  | /client/jboss-client.jar
  | /client/jboss-common-client.jar
  | /client/jbosssx-client.jar
  | /client/log4j.jar
  | /client/jnet.jar
  | /client/jaas.jar
  | 
  | 
  | JDK_TOOLS
  | /bin/run.jar
  | /bin/shutdown.jar
  | /client/jboss-j2ee.jar
  | /server/all/lib/javax.servlet.jar
  | /lib/commons-httpclient.jar
  | /lib/concurrent.jar
  | /lib/getopt.jar
  | /lib/gnu-regexp.jar
  | /lib/jboss-boot.jar
  | /lib/jboss-common.jar
  | /lib/jboss-jmx.jar
  | /lib/jboss-system.jar
  | /lib/jdom.jar
  | /lib/log4j-boot.jar
  | /lib/webdavlib.jar
  | /lib/xercesImpl.jar
  | /lib/xml-apis.jar
  | /server/all/lib/bcel.jar
  | /server/all/lib/hsqldb.jar
  | /server/all/lib/hsqldb-plugin.jar
  | /server/all/lib/jboss.jar
  | /server/all/lib/jbossha.jar
  | /server/all/lib/jboss-j2ee.jar
  | /server/all/lib/jboss-jaas.jar
  | /server/all/lib/jboss-jsr77.jar
  | /server/all/lib/jboss-management.jar
  | /server/all/lib/jbossmq.jar
  | /server/all/lib/jbosssx.jar
  | /server/all/lib/jboss-transaction.jar
  | /server/all/lib/jgroups.jar
  | /server/all/lib/jnpserver.jar
  | /server/all/lib/jpl-pattern.jar
  | /server/all/lib/jpl-util.jar
  | /server/all/lib/jsse.jar
  | /server/all/lib/jts.jar
  | /server/all/lib/log4j.jar
  | 
  | 

My problem: When I right click on my JBOSS icon in Lomboz J2EE View, and select option 
"Debug Server", in the console I 
keep getting:

...
  | 13:02:27,653 WARN  [NestedThrowable] Duplicate throwable nesting of same base 
type: class org.jboss.deployment.DeploymentException is assignable from: class 
org.jboss.deployment.DeploymentException
  | 13:02:27,663 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss-3.2.3/server/all/deploy/jboss-net.sar/
  | org.jboss.deployment.DeploymentException: create operation failed for package 
file:/C:/jboss-3.2.3/server/all/deploy/jboss-net.sar/; - nested throwable: 
(org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.reflect.UndeclaredThrowableException))
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy6.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
  | at 
org.jboss.deployment.scanner.Abs

[JBoss-user] [Installation & Configuration] - Re: Jboss performance

2004-02-19 Thread nickman
Bill Burke posted a very useful disertation on tuning for performance here: 
http://jboss.org/jbossBlog/blog/bburke/?permalink=Optimizing+JBoss%3A+Experiences+with+SPECj2002.html

More information on exactly what you are seeing would be helpful.

Also consider the following:

1. Review your Tomcat configuration. There is nearly always room for optimization 
there, and the defaults are not universally adequate. 
2. Some obvious things like Xms and Xmx settings...make sure you are giving JBoss 
enough RAM.
3. Post your descriptors. Perhaps it will jog something.

Cheers.

//Nicholas

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822178#3822178

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822178


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - When to release JMS resource in container-mamager transactio

2004-02-19 Thread jieshengz
Hi, 
  I have a stateless session bean which will use the java:/JmsXA to obtain 
connectionFactory, connection and session. The method transaction is container 
managed.  When should I release these resource?
If I release the resource before the method return, the JMS transaction (which is 
within the session) is managed by container and has not commited yet. Will this 
resource release before methor return  cause the transation roll back? If I do not 
release resource before the method return, I will not have a reference to them and can 
not release them anymore.
Advice and suggestion are really appreciated!

jason


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822177#3822177

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822177


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread acoliver
I'm not sure I think this is a good idea but you can go look here:

http://cvs.sourceforge.net/viewcvs.py/jboss/nukes/nukes/src/main/org/jboss/nukes/core/modules/user/UserModule.java?rev=1.29&view=markup

-Andy

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822176#3822176

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822176


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Is there a Remote-Deployment solution?

2004-02-19 Thread schmidts
See 
http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system%3Aservice%3DMainDeployer

And invoke deploy(java.net.URL) providing the URL of the component you want to deploy. 
Works fine for me.

(Actually, this could be also done programmatically without using the jmx-console 
web-interface)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822175#3822175

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822175


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How possible create user session in server?

2004-02-19 Thread olegsafonov
I understand how create session bean, but I want store reference on stateful session 
bean in cach, at that other bean, which created same user can call method of this 
bean, of course I can send reference on my bean how parameter in each methods of my 
other bean, but it is not fine, in HttpSession I can store reference on my bean and 
get it in any time.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822174#3822174

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822174


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread schmidts
Yes, guessing that PostgreSQL does not support transparent encryption on the database 
server side, you'd have to implement this in your application. EjbLoad() and 
ejbStore() could be the key in an implementation where you'd extend the default 
behaviour of CMP. 
Check section 10.3.9 of the EJB 2.0 spec for details on ejbLoad/Store().
Of course you could always write some additional accessors that deal with 
encrytion/decryption of attributes.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822173#3822173

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822173


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss Took a Nap!

2004-02-19 Thread Peter Luttrell
We experienced an odd problem last night in one of our production 
servers running JBoss3.2.1 (with Jetty). The entire things simply 
stopped responding for ~3 minutes! It didn't complete any of it's web 
requests nor write anything to the log for the entire period - something 
i've never seen before.

The only thing that we can think of is that the VM was doing GC for that 
period. Does anyone have any other ideas on what could have caused the 
little nap it took?

thanks.
.peter
--
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,is for the sole 
use of the intended recipient(s), even if addressed incorrectly, and may contain 
confidential and privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended recipient, please contact the 
sender by reply e-mail and destroy or delete all copies of the original message and 
all attachments, including deletion from the trash or equivalent folder.  Thank you.


[JBoss-user] [Security & JAAS/JBoss] - Please help! Problems configuring authentication.

2004-02-19 Thread nerotnt
I'm using JBoss 3.2.3.
I've put myapp-ds.xml in the "deploy" directory:

  | 
  | 
  | 
  |   
  | jboss:service=Hypersonic
  | myappDS
  | jdbc:hsqldb:hsql://localhost:1701
  | org.hsqldb.jdbcDriver
  | 5
  | myapp
  |   
  | 
  | 

I've configured login-conf.xml by adding the following:

  | 
  | 
  |   
  | java:/myappDS
  | 
  |   select password from users where id=?
  | 
  | 
  |   select role, null
  |   from memberships m
  |   where m.user_ = ?
  | and m.group_ = 'xpto'
  | 
  |   
  | 
  |   
  | 

In my web.xml I've added:

  | 
  | 
  |   user authentication
  |   *.do
  |   *.jsp
  |   POST
  |   GET
  | 
  | 
  |   user
  | 
  | 
  |   NONE
  | 
  | 
  |   
  | 
  | FORM
  | xpto
  | 
  |   /login.jsp
  |   /loginError.jsp
  | 
  | 
  | 

In my jboss-web.xml I have:

  | 
  |   java:/jaas/myapp
  | 
  | 

When I enter my webapp, I get redirected correctly to the login.jsp but every time I 
authenticate, I always get redirected to the loginError.jsp even if I put a correct 
password.

Please help! Don't know where look anymore.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822172#3822172

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822172


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [Installation & Configuration] - Re: changing port

2004-02-19 Thread Goncha

On Thu, 19 Feb 2004 09:15:11 -0500 (EST), "saeedamer" <[EMAIL PROTECTED]>
said:
> I am using "jboss-3.0.6_tomcat-4.1.18" and had the same problem. Oracle
> 9i server had occupied port 8080 and JBoss (tomcat in fact) was trying to
> listen on the same port and could not.
> 
> Well, after wondering here and there - changing this .xml file and that
> .xml file, I finally foud the one that solved my problem:
> 
> In the "...\server\default\deploy" directory, I found a file called
> "tomcat41-service.xml". I updated this file and replaced 8080 with
> another number - say - 8181, restarted JBoss - IT WORKED!
> 
> I am not sure if this is THE right way to configure JBoss to listen on a
> different port rather than on default (8080), but it worked for me.
> 
> If this is not the right way, I'd much appreciate feedback.
> 
> Cheers!
> [/img]

yes, i change the tomcat listening port in the same way. tomcat is
deployed into jboss as a service.

-- 
http://www.fastmail.fm - Access your email from home and the web


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread Martin0
Thanks for the response so far.

My database is Postgresql 7.4.1, and as well as passwords (MD5 noted), I also want to 
store other data that I need read+write access.

I'm still gaining EJB knowledge - do ejbStore and ejbLoad play a part in this?

Thanks again
Martin

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822170#3822170

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822170


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Tomcat - disable session serialization

2004-02-19 Thread Keysers Wonne
Hi,

I posted this on the forum, but apparently it didn't make it though to the 
mailing-list...

 

Is it possible to use the war's META-INF/context.xml to override the default session 
manager configuration?

I tried to disable this session serialization, which occurs on undeployment, but was 
unsuccessful with these configurations in META-INF/context.xml:


  



  


Thanks
Wonne
 

Forum post : http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45741 
 
Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822118 
 

<>

[JBoss-user] [Nukes User] - Re: [ERROR MESSAGE], console server error message

2004-02-19 Thread itchiban
Thank's a lot for helping.
It's sure this is not my last message so prepare yourself.
I hope you'll continue to reply!! 

see ya!!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822169#3822169

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822169


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Does anybody true resolve the

2004-02-19 Thread alanBen
When i start jboss 3.0.7, all running fine , but when i redeploy some (not all ) Bean 
, the errors : 
23:26:04,195 INFO  [EJBDeployer]
  | Bean   : PmmMoserials
  | Method : public abstract PmmMoserials create(String) throws CreateException
  | Section: 12.2.11
  | Warning: The return type for a create(...) method must be the entity bean's loca
  | l interface type.
  | 
  | 23:26:04,205 INFO  [EJBDeployer]
  | Bean   : PmmMoserials
  | Method : public abstract PmmMoserials findByPrimaryKey(String) throws FinderExce
  | ption
  | Section: 12.2.11
  | Warning: The return type for a find method must be the entity bean's loc
  | al interface type (single-object finder) or a collection thereof (for a multi-ob
  | ject finder).
  | 
  | 23:26:04,225 INFO  [EJBDeployer]
  | Bean   : PMMEjbMOShell
  | Method : public abstract PMMEjbMOShell create() throws CreateException, RemoteEx
  | ception
  | Section: 7.10.6
  | Warning: The return type for a create(...) method must be the session bean's rem
  | ote interface type.
  | 

I have test with same src and same META-INF in jboss 3.0.2 and jboss 3.2.3 , there are 
always fine , not only start , but also redeploy , but  why throws these info in jboss 
3.0.7 ? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822168#3822168

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822168


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Jboss performance

2004-02-19 Thread twutort
Hello,

I'm doing some testing for my company to determine if we should switch to JBoss over 
Weblogic.  I'm runnig the same application with the in the same environment on both 
servers.  It seems that Weblogic is outperforming JBoss by a lot. 

A lot of our http request are timing out with a lot less load than we are running on 
Weblogic.We can't even get 50 users to run that well on JBoss.  I've changed a lot 
of configuration options,  Everything from changing the commit options to running the 
entity beans under the Instance Per Transaction configuration.   Besides some changes 
we made to run on the JBoss platform we are running the same exact queries on both 
servers.  We use about 60% beans and 40% straight JDBC calls.  

I need to file my report in the next week.  Are there any configuration options I may 
be able to try that would help?  I've tried commit option B and it seems to run slower 
than with A, for obvious reasons.  So then I tried to configure my beans using the 
Instance Per Transaction configuration and that got worse results.   I've read through 
the documentation I have and can't seem to find any other settings that would help.  
I'm a fan of JBoss but we won't be able to switch unless I can prove that the same 
code on JBoss will run the same load under the same conditions.  Any suggestions would 
be appreciated.

Thanks,
Tim

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822167#3822167

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822167


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Tomcat 5 and JSP Expression Language (EL)

2004-02-19 Thread mjremijan
I downloaded the lates 3.x relase of JBoss and I updated to the Tomcat5 iin the 
examples directory.  However, Expression Language support (EL) is not working.  So if 
I have a bean in the PageContext named "person", when I do this...

${person.firstName}

...in the JSP page I do not get the name, "Michael Remijan" I just get that string 
like the jsp is not being parsed for EL at all?

Anyone else run into this?  know how to turn EL parsing on?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822166#3822166

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822166


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] [EJB/JBoss] - Re: CMP:Where my data is going?

2004-02-19 Thread Goncha

On Thu, 19 Feb 2004 08:42:27 -0500 (EST), "triathlon98" <[EMAIL PROTECTED]>
said:
> The start of your jbossjdbc-cmp.xml is wrong. It should be something like
> :
> 
> 
>  "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";>
> 
> 
> 
> java:/PostgresDS
> PostgreSQL
> false
> false
> 
> 
> ... followed by everything which is 
> 
> The XML really has to be correct!
> 
> Joachim
> 
> 

Why not use XDoclet to generate XML files. :-)

-- 
http://www.fastmail.fm - A fast, anti-spam email service.


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: changing port

2004-02-19 Thread saeedamer
I am using "jboss-3.0.6_tomcat-4.1.18" and had the same problem. Oracle 9i server had 
occupied port 8080 and JBoss (tomcat in fact) was trying to listen on the same port 
and could not.

Well, after wondering here and there - changing this .xml file and that .xml file, I 
finally foud the one that solved my problem:

In the "...\server\default\deploy" directory, I found a file called 
"tomcat41-service.xml". I updated this file and replaced 8080 with another number - 
say - 8181, restarted JBoss - IT WORKED!

I am not sure if this is THE right way to configure JBoss to listen on a different 
port rather than on default (8080), but it worked for me.

If this is not the right way, I'd much appreciate feedback.

Cheers!
[/img]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822164#3822164

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822164


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] classloaders & webapplication inside ear

2004-02-19 Thread harm

Hi all,

I think I have some sort of problem
with classloaders in my application.

I have a EAR file which contains an
EJB jar file. It also contains 2 WAR archives.
Both WAR archives are STRUTS applications.

My struts applications use a different
ApplicationResource.properties file for external strings. 
Unfortunatly somehow the two WAR archives
use the SAME ApplicationResources.properties file eventhough both WAR archives
contain a different ApplicationResources.properties file.

Can this behaviour be explained? (Maybe
I'm doing something wrong regarding classloaders?).

Thanks in advance,

Harm de Laat
Informatiefabriek
The Netherlands


[JBoss-user] [Datasource Configuration] - cp-ds.xml Ingres DataSource

2004-02-19 Thread nasser
Hi

I obtain to carry through the connection with ingres using ca.edbc.jdbc.EdbcDriver , 
normally!!

How I could make this same connection using following class 
ca.edbc.jdbcx.EdbcCPDataSource ?

Any aid I am thankful.
Nasser Auada

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822163#3822163

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822163


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How possible create user session in server?

2004-02-19 Thread marc fleury
There are many examples in the documentation that will help you create a session bean

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822162#3822162

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822162


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - SSL on single page

2004-02-19 Thread JJuser
I'm looking for a way to secure a single page using SSL inside an application. Anyone 
knows if it is possible to do in a declarative way in jboss? I'm using jboss 3.2.1 
with tomcat 4.1.24.

Thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822161#3822161

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822161


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Blocked in StdServerSession.start: PooledExecutor has no thr

2004-02-19 Thread Thoennes
Hi,

we have seen a related post recently in this forum, where genman analyzed the 
situation and
added a fix in the HEAD of Branch_3_2:

anonymous wrote : 
  | revision 1.14.2.3
  | date: 2004/01/13 19:21:25;  author: genman;  state: Exp;  lines: +21 -1
  | Throwable / Thread.interrupted must be caught/checked otherwise we lose JMS
  |   ServerSession threads through PooledExecutor
  | (Looking at the sources, this sort of safety checking is done elsewhere.)
  | This is a fix for a "forum bug"
  |   http://jboss.org/index.html?module=bb&op=viewtopic&p=3818218#3818218
  | 

The forum entry disappeared and therefore we created a  new topic.

Our MDB is configured as a singleton (MaximumSize=1), so that the PooledExecutor
gets configured as follows:


  | executor = new PooledExecutor(poolSize);  // poolSize = 1
  | executor.setMinimumPoolSize(0);
  | executor.setKeepAliveTime(1000 * 30);
  | executor.waitWhenBlocked();
  | executor.setThreadFactory(new DefaultThreadFactory());
  | 

If the only thread in this thread pool dies, the mininmum size of 0 prevents the 
generation of new threads. In an e-mail discussion Doug Lea (creator of the 
util.concurrent package) explained why the thread should die rather than catch any 
exception:

anonymous wrote : 
  | Yes, this is a documented feature, not a bug. Threads dying from
  | uncaught exceptions are discarded because you cannot tell if they are
  | in usable states.
  | 
  | I believe that the unexpected consequence of this in your case is that
  | it will only replace such threads with new ones if there are fewer
  | than the minimum number of threads. (See method workerDone()).  If you
  | would like them replaced in such cases, you could increase the minimum
  | value.
  | 

So we think that minimum size of the thread pool should be 1 (as in the other two 
thread pools in the OIL2 and UIL2). Doug said about the above configuration:

anonymous wrote : 
  | I have mentioned several times to people using JBoss that setting a
  | minimum size of zero is usually a bad idea because it interacts badly
  | with other policies and settings. It cannot be disallowed, because
  | there ARE legitimate uses for this, but they are not common.
  | 

IMHO, genman should also review his change to catch the Throwable: Log the 
exception/error thrown and let the thread die. The PooledExecutor will create a new 
one if needed.

Is it possible to build a separate org.jboss.jms.asf package jar which contains the 
above fixes and can be added to the current 3.2.3 release?

Thanks in advance and regards

Joerg


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822160#3822160

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822160


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: [ERROR MESSAGE], console server error message

2004-02-19 Thread leberre
I got the very same problem with Mozilla (1.6) too.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822159#3822159

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822159


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: protocol violation

2004-02-19 Thread sarantin
Hi,

I tried different jdbc drivers (classes111, classes12 and classes14) but
still the same message appears.
The Jboss server is running to a Unix machine.
When I try it from a Jboss running to Windows (2000) (accessing the same db), no such 
message appears. 
Therefore, I am pretty sure that is a a matter of JBoss configuration!
Any clue?

Christos

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822158#3822158

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822158


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET & SOAP] - jboss-net.xml-schema

2004-02-19 Thread dinesh_soma
I have the following :

package uk.co.foo;
/**
 * @jboss-net.xml-schema urn="pcc:Process"
 */
public class Process implements Serializable { ... }


In my build.xml I have:
< jbossnet webDeploymentName="BPMService" prefix="pcc"destDir="" 
targetNameSpace="http://www.foo.co.uk/cc"/>

No typemappings are created for Process in the web-service.xml that's generated. When 
I look at the autogenerated wsdl, the Process class has been converted to xml under 
the namespace http://foo.co.uk. Am I missing something. Would appreciate any help.

Thanks
Dinesh

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822157#3822157

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822157


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: CMP:Where my data is going?

2004-02-19 Thread triathlon98
The start of your jbossjdbc-cmp.xml is wrong. It should be something like :


http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";>



java:/PostgresDS
PostgreSQL
false
false


... followed by everything which is 

The XML really has to be correct!

Joachim



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822156#3822156

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822156


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - CMP:Where my data is going?

2004-02-19 Thread mandarjboss


To,
Mr. Bandaru Kagaru,
I am trying to develop a J2EE(CMP2.0 based) application with 
JBoss3.2.2.I am able to successfully configure the datasource for PostgreSQL.I have 
tested the datasource with manual lookup and connection establishment. It is 
successful.
Now the problem is when i am executing my CMP bean the application gets deployed and 
executed successfully even my Finder queries are returning successfully.But when i go 
to corresponding table in PostgreSQL i can not find my row there.
It seems to be that my row is getting inserted in HSQL(Hypersonic 
SQL),the default database of JBoss.That is the whole problem.
I want my row to be inserted in PostgreSQL and not in HSQL.Can you tell me where am i 
wrong?
I am giving details of my CMP's config files below.
Waiting for your reply.

In postgres-ds.xml i have following entries

  
PostgresDS
jdbc:postgresql://192.168.100.18:5432/xsim
org.postgresql.Driver
xsim
xsim

org.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter
  



In ejb.jar.xml I have following entries...




jdbc/MyDSName
javax.sql.DataSource
Container



In jboss.xml I have following entries


   

 

  
 QuestionBean
 QuestionBean
  
java:/PostgresDS
java:/PostgresDS
  -->




  
  
 ChoiceBean
 ChoiceBean




  

   

   
  
 java:/PostgresDS
 java:/PostgresDS
  




In jbosscmp-jdbc.xml i have following entries


http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";>


   
  java:/PostgresDS
  PostgreSQL
false
false
   
   
  
 QuestionBean
 newquestion

 
questionid
question_id


 
question
question


 
choice
choice


  
  
 ChoiceBean
 newchoice

 
choiceid
choice_id


 
questionid
question_id


 
choice1
choice1


 
choice2
choice2


 
choice3
choice3


 
choice4
choice4





  

   




In web.xml
   
  jdbc/MyDSName
  javax.sql.DataSource
  Container
   

In jboss-web.xml


jdbc/MyDSName
javax.sql.DataSource
java:/PostgresDS







View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822155#3822155

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822155


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Is there a Remote-Deployment solution?

2004-02-19 Thread murxx
Do you have some resource for this jmx-console deployment?! Does this HTTP-Address 
take a whole file?!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822154#3822154

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822154


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Do the beans get redeployed automatically once the DB server comes up..??

2004-02-19 Thread Joachim Van der Auwera
shubhu mutta wrote:

  1. At the time of JBOSS Startup, the DB is up. JBOSS creates the 
connection pool and the beans get deployed. After some time the DB goes 
down.
   
Do  the beans get automatically  undeployed?
No

Once the DB comes up, do the beans get automatically
 redeployed   ordo they have to be manually redeployed?
No. Everything just continues to work. The connections in the connectino
pool may not work anymore and will be replaced by new ones.
The processing which which overlaps the period when the DB is down may
cause exceptions.
2. At the time of JBOSS startup, the DB was not up. So the connection 
pool did not get created. After some time the DB came up.
 
  Will the beans get automatically redeployed or do they have to be
  manually redeployed?
Same story. When the beans try to reach the DB, they get a connection
from the pool. When no valid connections are available, a new one will
be created.
Joachim





---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] customizing JBoss config. and footprint (newbie question)

2004-02-19 Thread Joachim Van der Auwera
Nick Faiz wrote:

Hi,
Can someone point me to a starting place for learning about how to
configure JBoss modules? As I understand it, I can strip out whatever
functionality I don't want within the JBoss server; for example, I may want
JMS without a Servlet Container?
See jboss.org, getting started documentation and for-pay docs.

Joachim





---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - How possible create user session in server?

2004-02-19 Thread olegsafonov
How possible create user session in EJB server like HttpSession in web server?

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822153#3822153

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822153


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Is there a Remote-Deployment solution?

2004-02-19 Thread schmidts
You can avoid deployment failures because of incomplete files by first copying 
(ftp'ing, whatever) the file to a separate directory (on the same filesystem) and then 
just moving it into the deployment directory.

For remote deployments without accessing the filesystem of the application server 
AFAIK you can use jmx-console (MainDeployer) with an http-URL. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822152#3822152

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822152


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Frequently Asked Questions (FAQ)] - Is it *really* possible to use Log4j ?

2004-02-19 Thread juliof
Hi !
  Am am trying to use Log4j with JBoss, with 2 restrictions :
  - I want my code to be not app-server specific ( using the apache log4j lib ).
  - I want to have the configuration files inside my app, no in server config.

  Is this possible to do ? I am having a really hard time configuring jboss and log4j. 
 Can anyone give any hint ? 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822151#3822151

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822151


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: easiest way to encrypt a CMP field?

2004-02-19 Thread schmidts
Regarding passwords, you can use one-way encryption (e.g. using MD5) and store only 
store/compare the results.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822150#3822150

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822150


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >