[JBoss-user] [EJB/JBoss] - How to map a single BMP instance with multiple rows returned

2004-07-08 Thread vishal_msit
I m facing a gr8 problem.
 I have a table named TRIANINFO
when my jsp client passes train number, database returns a multiple rows related that 
train number. So how should I catch those rows in my client ??

 If any one knows answer reply fast .

Thanking you.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841306#3841306

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841306


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Why compiled JSPs get deleted after restart?

2004-07-08 Thread zeron
Hello all!

I'm porting an existing application to JBoss.

I noticed that when JBoss is shut down, all the generated class files for my JSP files 
are DELETED.  On production environments this is really BAD.  JSPs are supposed to be 
compiled only once.  Of course JBoss shoud not be shut down regularly, but in case we 
needed a shutdown, the next time ALL the JSP's need to be recompiled. This is slow.

Is there a setting somewhere??  Is this the normal way JBoss does JSPs??

I'm deploying my war as deflated folder under:

JBOSS_HOME/server/default/deploy/my-web-app.war

Thanks in advance.

Zeron


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841307#3841307

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841307


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - log4j and JBoss

2004-07-08 Thread zeron
Hello again,

What is the standard way to use log4j with JBoss?
Is there a standard way?
Any proved methodologies..?

many thanx

Zeron

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841308#3841308

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841308


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Getting Unrecognized transaction..

2004-07-08 Thread agent82_a
Hi,
I have a application deployed under these configurations:
-OS=Gentoo Linux Kernel 2.4.25
-JVM=Blackdown1.4.1
-JBoss-3.2.3
-RDBMS=Firebird-1.5.0 (Classic Server)
-JDBC=FirebirdSQL-1.5.0-RC2 (deployed as a JCA adapter. Pooling is set to discard idle 
connections after 15 minutes)

Sometimes I would get this kind of exception while closing a Jdbc connection:
anonymous wrote : 
  | 2004-05-05 10:31:15,966 WARN  [org.jboss.tm.TransactionImpl] XAException: 
tx=TransactionI
  | mpl:XidImpl [FormatId=257, GlobalId=appserver01//11103, BranchQual=] 
errorCode=XAER_NOTA
  | org.firebirdsql.jca.FBXAException: Unrecognized transaction at 
org.firebirdsql.jca.FBManagedConnection.internalEnd(FBManagedConnection.java:437)
  | at 
org.firebirdsql.jca.FBManagedConnection.end(FBManagedConnection.java:409)
  | at org.jboss.tm.TransactionImpl.endResource(TransactionImpl.java:1205)
  | at org.jboss.tm.TransactionImpl.delistResource(TransactionImpl.java:543)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventList
  | ener.delist(TxConnectionManager.java:505)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventList
  | ener.connectionClosed(TxConnectionManager.java:554)
  | at 
org.firebirdsql.jca.FBManagedConnection$2.notify(FBManagedConnection.java:1176
  | )
  | at 
org.firebirdsql.jca.FBManagedConnection.notify(FBManagedConnection.java:1157)
  | at 
org.firebirdsql.jca.FBManagedConnection.close(FBManagedConnection.java:846)
  | at 
org.firebirdsql.jdbc.AbstractConnection.close(AbstractConnection.java:437)
  | 

It's kind of difficult to reproduce this problem.
But everytime this exception occurs, 1 additional physical connection doesn't get 
discarded, even after overnight (when no one is even using the application). I can see 
this by running pstree on the linux console. (One managedConnection is associated with 
one process). 

Then I decide to download the jboss-3.2.3 source code, open TxConnectionManager.java 
and observe line 554 where the connectionClosed method calls delist()


  | if (isManagedConnectionFree())
  | {
  |//log.trace(called unregisterAssociation, delisting);
  |//no more handles
  |delist();
  |//log.trace(called unregisterAssociation, returning);
  |returnManagedConnection(this, false);
  | }
  | //log.trace(called unregisterAssociation);
  |  }
  |  catch (ResourceException re)
  |  {
  | log.error(ResourceException while closing connection handle!, re);
  |  } // end of try-catch
  | 

Now my question:

 If an exception occured (like the one i have) while delist() is called, then the 
returnManagedConnection(this,false) won't be called. Does this mean that the 
managedConnection will never be returned to the pool thus causing some sort of a leak 
?  

If so would it be safe to do this:

  | if (isManagedConnectionFree())
  | {
  |//log.trace(called unregisterAssociation, delisting);
  |//no more handles
  |try{
  |delist();
  | }catch(ResourceException re){
  |//log.trace(called unregisterAssociation, return and KILL);
  |   returnManagedConnection(this, true);
  |//rethrow 
  |   throw re; 
  | }
  | //log.trace(called unregisterAssociation, return );
  | returnManagedConnection(this,false);
  | }
  | //log.trace(called unregisterAssociation);
  |  }
  |  catch (ResourceException re)
  |  {
  | log.error(ResourceException while closing connection handle!, re);
  |  } // end of try-catch
  | 
  | 

Thanks for any comments and answers.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841309#3841309

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841309


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Problems in JBOSS 3.2.5 + Tomcat 5.0(Please HELP!)

2004-07-08 Thread Phantom
It seems that problem was resolved:
login-config.xml for 3.2.3 was:


  | application-policy name = %my-security-domain%
  | authentication
  | login-module code=%MySecurityLoginModule% flag = required
  | /login-module
  |   login-module code = org.jboss.security.ClientLoginModule
  |  flag = required
  |   /login-module
  | /authentication
  | /application-policy
  | 

login-config.xml for 3.2.5 is:


  | application-policy name = %my-security-domain%
  | authentication
  | login-module code = %MySecurityLoginModule% flag=required/
  | login-module code = org.jboss.security.ClientLoginModule 
flag=required
  | module-option name = password-stackinguseFirstPass/module-option
  | module-option name = restore-login-identitytrue/module-option
  | /login-module
  | /authentication
  | /application-policy
  | 

After this manipulation all is OK.

Can you explain in detailes changes in 3.2.5?

Thank you!



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841310#3841310

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841310


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Unable to access remote entity bean. plz suggest

2004-07-08 Thread karthik_morph
hello,
I am not able to access an entity bean diployed at remote machine thru session bean. 
if both are diployed in same container everything is working fine. I am using JBoss 3.2
here is the full stack trace. plz suggest

thanx,
karthik

12:09:20,806 ERROR [STDERR] java.rmi.MarshalException: error marshalling argumen
ts; nested exception is:
java.io.NotSerializableException: org.jboss.tm.TransactionImpl
12:09:20,806 ERROR [STDERR] java.io.NotSerializableException: org.jboss.tm.Trans
actionImpl
12:09:20,806 ERROR [STDERR] at java.io.ObjectOutputStream.outputObject(Objec
tOutputStream.java:1148)
12:09:20,806 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object
OutputStream.java:366)
12:09:20,806 ERROR [STDERR] at org.jboss.invocation.MarshalledInvocation.wri
teExternal(MarshalledInvocation.java:381)
12:09:20,806 ERROR [STDERR] at java.io.ObjectOutputStream.outputObject(Objec
tOutputStream.java:1172)
12:09:20,822 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object
OutputStream.java:366)
12:09:20,822 ERROR [STDERR] at sun.rmi.server.UnicastRef.marshalValue(Unicas
tRef.java:268)
12:09:20,822 ERROR [STDERR] at sun.rmi.server.UnicastRef.invoke(UnicastRef.j
ava:106)
12:09:20,822 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker_
Stub.invoke(Unknown Source)
12:09:20,822 ERROR [STDERR] at org.jboss.invocation.jrmp.interfaces.JRMPInvo
kerProxy.invoke(JRMPInvokerProxy.java:135)
12:09:20,822 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invok
e(InvokerInterceptor.java:87)
12:09:20,822 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke
(TransactionInterceptor.java:46)
12:09:20,822 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(Se
curityInterceptor.java:45)
12:09:20,822 ERROR [STDERR] at org.jboss.proxy.ejb.HomeInterceptor.invoke(Ho
meInterceptor.java:173)
12:09:20,822 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(Client
Container.java:85)
12:09:20,822 ERROR [STDERR] at $Proxy45.findByPrimaryKey(Unknown Source)
12:09:20,822 ERROR [STDERR] at com.sejb.TestSessionBean.getName(TestSessionB
ean.java:102)
12:09:20,822 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$Conta
inerInterceptor.invoke(StatelessSessionContainer.java:629)
12:09:20,822 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedCo
nnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanc
eInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.i
nvokeNext(AbstractTxInterceptor.java:84)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(TxInterceptorCMT.java:296)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:104)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.inv
oke(SecurityInterceptor.java:117)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
ogInterceptor.java:191)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInter
ceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.inter
nalInvoke(StatelessSessionContainer.java:322)
12:09:20,822 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java
:674)
12:09:20,822 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)
12:09:20,822 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
her.invoke(ReflectedMBeanDispatcher.java:284)
12:09:20,822 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:549)
12:09:20,822 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker.
invoke(JRMPInvoker.java:359)
12:09:20,822 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)
12:09:20,822 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(Unic
astServerRef.java:241)
12:09:20,822 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.j
ava:152)
12:09:20,837 ERROR [STDERR] at java.security.AccessController.doPrivileged(N
ative Method)
12:09:20,837 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Trans
port.java:148)
12:09:20,837 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMess
ages(TCPTransport.java:465)
12:09:20,837 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$Connection
Handler.run(TCPTransport.java:706)
12:09:20,837 ERROR [STDERR] at java.lang.Thread.run(Thread.java:484) 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841311#3841311

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841311


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las 

[JBoss-user] [Security JAAS/JBoss] - connection username password

2004-07-08 Thread mayte
I have a problem with my bmp ejbs. I need to audit the changes made for the different 
users, the problem is that i can't find the way to get the username and password, i 
need to make getconnection(username,password)
in my ejbStore(). Is there any way to do it?
Thanks in advance 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841313#3841313

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841313


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Thoughts on this configuration in JBoss 3.2.x

2004-07-08 Thread aburton
Hi all,

Wondering if anyone with some knowledge in the area could comment on the following 
architecture proposal we are currently spec'ing out.

Basically, looking at deploying over 4 x 2CPU servers the following configuration to 
hopefully support 5000 users sessions and about 80 actions a second across the 4 
servers.

There is no database in the equation at the moment, as all the persistence data is 
held in a separate backend system that we will be using WSDL to talk to.

We are looking at deploying JBoss 3.2.x (what ever the latest stable is in next month) 
with Tomcat 5.0.X bundled in it, Struts 1.1, JBossMQ and JTreeCache

The basic message flow will be fairly standard as far as the Struts layer goes but 
once it needs to go to the WSDL back end we are going to queue the requests up in JMS 
and use message driven beans to do the WSDL communication. 

This means we are making the Webapp asynchronous and it will have to poll to see when 
the JMS action has completed the WSDL work. The message driven bean will then place 
the results in the JTreeCache that the polling web page can access when the 
information becomes available.

The HTTP Session will be clustered as will the JTreeCache and the JMS (hopefully).

Does this sound sensible? The customer has a preference for not requiring a database 
(although by the sounds of it I will need one for clustered JBossMQ).

Any comments?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841317#3841317

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841317


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: What is the biggest site using JBoss ?

2004-07-08 Thread iliev
hi,

i'm porting an application from Ora9IAS to JBoss, making use of EJB CMP

You say in development your application works fine, but in production not. 
1. Wich test can i do to see if my application can work ?

2. why have you migrated to JBoss if Tomcat works fine ? have you tried to cluster 
JBoss ? Are you using EJB CMP ?

3. i'm still developing my application. Do you think JBoss is NOT the right choise ? 
what other tecnology/application server you advice, considering i will need to use Web 
Services ?

thank you very much
alessandro

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841318#3841318

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841318


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Netboot wont work

2004-07-08 Thread anre
Hi,

I'm trying to get jboss netboot to work but no matter what I try I get the same 
exception. When I start jboss 3.2.3 with the command:

run --netboot http://217.212.21.5/jboss-netboot/

I get the this:

Failed to boot JBoss:
java.lang.ClassNotFoundException: org.jboss.system.server.ServerImpl

I've read (http://www.jboss.com/demos/netboot) that it's because the url is invalid 
but the url is really ok, I can browse to it with e.g. IE. I've also tried to get the 
demos provided by jboss.com from the link above to work but I get the same result. 

What am I missing? I would really need an example of a netboot setup, i.e. the dir 
structure of the netboot url and so on. Has anyone sucessfully used netboot with jboss 
3.2.3?

Appreciate all help

Regards

Andreas

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841319#3841319

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841319


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Is jbossha.jar fixed in jboss-3.2.5?

2004-07-08 Thread cherold
After downloading JBoss 3.2.5 I found in Web-Console for my
org.jboss.ha.framework.server.ClusterPartition
the following jgroups version:


JGroupsVersion (R) 
java.lang.String 
MBean Attribute. 
 2.2.4( $Id: Version.java,v 1.5 2004/04/28 18:44:58 belaban Exp $)
 
best regards

Christian

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841320#3841320

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841320


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: (JBoss and JAAS)'s newbie...

2004-07-08 Thread batman
OK, but where is it? I have not find it... (ther is 218 pages of topic on this 
forum...)

thanx

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841321#3841321

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841321


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - how to use jms resource adaptor dynamically?

2004-07-08 Thread yxyang
Hello,

In my application, there is one session bean which use several jms resource adapters 
to connect to different servers (because I would like to use the pooling functions of 
resource adapter. )

However, when the system is running, it is required to add new connection to new 
installed server. So, it is needed to configure this session bean with new jms 
resource (This is the problem) like modifying ejb-jar.xml file and jboss.xml file. 


My Questioins are:


(1)Is it possible to add new JMS Resource adapters by only adding new xml files?

(2)If i can add new jms adapter, Is it possible to code the session bean to access the 
jndi directly to get the QueueConnectionFactory(E.g., java:/JmsXA instead of using 
UIL2ConnectionFactory) to get the newly deployed MANAGED connection factory?

I know it is possible to add connection to new server if i use plain connection by 
employing UIL2ConnectionFactory. But then i cannot use the pooling feature. 
Especially, if there are 100 instances of this session bean in server A, each of then 
create an connection, then there are 100 plain connections. I think it is too 
expensive. (am i right?)


Any Idea?

Regards
yang








View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841322#3841322

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841322


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: login-config.xml file

2004-07-08 Thread batman
Excuse me but http://www.jboss.org/docs/dtd/security_config.dtd answer me:

The file id is not indicated

Perhaps I've not understand what you mean...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841323#3841323

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841323


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How do I access the console in JBoss 3.2.5

2004-07-08 Thread darranl
(download, unzip, run and thats it) - The manual should have also told you to set 
a JAVA_HOME environment variable.

If you are seeing errors and stack traces they need to be posted here.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841324#3841324

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841324


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: (JBoss and JAAS)'s newbie...

2004-07-08 Thread kabkhan
The sticky post on the top of the first page

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841327#3841327

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841327


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JNDI configuration

2004-07-08 Thread meissa
I need to configure a global jndi variable variable that all my applications could 
access without having to duplicate the definition neither in the web.xml not the the 
jboss-web.xml. 
Can someone tell me if this feature is availlable in jboss.

thanks in advance

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841328#3841328

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841328


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JNDI configuration

2004-07-08 Thread kabkhan
An option would be to create a simple MBean that binds what you want, and is deployed 
on startup.

There are probably other ways of doing this as well...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841330#3841330

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841330


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Problem with farming

2004-07-08 Thread cherold
Hi

We use Jboss 3.2.4 with JDK 1.4.2 on a Linux  Cluster with 3 nodes.

When using farming we recognized 2 main Problems:

1.
farming is very slow when hot deploying on three nodes. (take about 3 minutes for 8 
files with at total 3 MB).
When stopping two nodes , hot deploy and then restart the nodes , deploymnet takes 
about 5 sec.

2. When hot deploying on two nodes in most cases jars will be removed from secondary 
nodes. When redeploying a second time jars will be deployed correctly on all servers.

2004-07-07 13:14:59,393 [FarmMemberService] doUndeployment(), File: farm/File1.jar
2004-07-07 13:14:59,420 [FarmMemberService] doUndeployment(), File: farm/File2.sar
2004-07-07 13:14:59,536 [FarmMemberService] doUndeployment(), File: farm/File3.sar
2004-07-07 13:14:59,624 [FarmMemberService] doUndeployment(), File: farm/File4.sar
2004-07-07 13:14:59,653 [FarmMemberService] doUndeployment(), File: farm/File5.sar
2004-07-07 13:14:59,664 [FarmMemberService] doUndeployment(), File: farm/File6.sar
2004-07-07 13:14:59,669 [FarmMemberService] doUndeployment(), File: farm/resources.jar
2004-07-07 13:14:59,675 [FarmMemberService] doUndeployment(), File: farm/ioobject.jar

2004-07-07 13:14:59,703 [FarmMemberService] farmDeployment(), deploy locally: 
/var/jboss/server/cluster/tmp/ioobject.jar
2004-07-07 13:14:59,722 [FarmMemberService] farmDeployment(), deploy locally: 
/var/jboss/server/cluster/tmp/resources.jar
2004-07-07 13:14:59,960 [FarmMemberService] farmDeployment(), deploy locally: 
/var/jboss/server/cluster/tmp/File6.sar
2004-07-07 13:15:02,500 [FarmMemberService] farmDeployment(), deploy locally: 
/var/jboss/server/cluster/tmp/File5.sar
2004-07-07 13:15:03,815 [FarmMemberService] farmDeployment(), deploy locally: 
/var/jboss/server/cluster/tmp/File4.sar
2004-07-07 13:15:06,116 [FarmMemberService] farmDeployment(), deploy locally: 
/var/jboss/server/cluster/tmp/File3.sar
2004-07-07 13:15:07,227 [FarmMemberService] farmDeployment(), deploy locally: 
/var/jboss/server/cluster/tmp/File2.sar
2004-07-07 13:15:08,610 [FarmMemberService] farmDeployment(), deploy locally: 
/var/jboss/server/cluster/tmp/File1.jar



How farming copies files from node to node ? TCP/IP  socket connection ?

What things might hav influence on the performance of filetransfer in farming ?

Is there any Bug repoerted /fixed that deals with the above mentioned problem with 
deployment?

I will check jboss 3.2.5 in the next days.
May be this will bring be further...

regards
Christian



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841329#3841329

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841329


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBOSS administration

2004-07-08 Thread darranl
What are you actually looking for?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841331#3841331

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841331


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: when i deploy my programe to advanced vision jboss,a mi

2004-07-08 Thread darranl
A slightly better description is required is you want any help.

Fully describe what you are doing and what happens when it goes wrong.

Also post any exceptions and stack traces.

Two lines is never enough to describe a problem.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841332#3841332

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841332


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JNDI configuration

2004-07-08 Thread meissa
Thanks for you suggestion. But I would like to avoid hard coding it.
I was thinking that there was an existing Mbean that's doing the task just like the 
External Context Mbean and so ...

any other suggestion ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841333#3841333

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841333


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Collection of primitives

2004-07-08 Thread JonasH
Hello!

I have an entitiy (for example Employee) which contains a collection of primitives 
(for example emails which is a collection of strings). 
Do I have to create an entity bean for the primitive type (in this case an entity bean 
called Email which has just one field of type string) or is there a way around that? 

Thanks,
Jonas

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841335#3841335

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841335


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Jasper Proxy error

2004-07-08 Thread dutoitc
I'm using JBoss 3.2.5 and develop an ear, name xxx-nb.ear, nb is an increasing number.
When I deploy the ear, I first removed the existing ear and wait for some seconds.
But when I ask a page that existed before, I got the proxy error as displayed below.

I think this is a deployment/installation/configuration error, so I posted this here.
Do anybody know why I got this error ?
Do anybody know where the Apache Tomcat/5.0.26 logs are ?
On the web, I saw that this is a recurent error, but I found no solutions.

Thks,
C.Dutoit/BSI

--




type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

org.apache.jasper.JasperException: $Proxy65
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

root cause

java.lang.ClassCastException: $Proxy65
org.apache.jsp.functions.searchXPATH_jsp._jspService(searchXPATH_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 
logs.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841334#3841334

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841334


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Problems starting transaction from a servlet

2004-07-08 Thread millenium
Hi out there, 
i have a little problem with transactions (its my first try to use them...). 
Following Scenario: 
I want to call 2 methods of a Session Bean from a Servlet. Both methods are creating a 
new CMP-Object. 
Well...the first Object should be removed from Database if the second fails...So I 
thought why not using Transactions. 
This looks like the following: 

javax.naming.Context jndiContext = new javax.naming.InitialContext();
  | javax.transaction.UserTransaction ut = (javax.transaction.UserTransaction) 
jndiContext.lookup(UserTransaction);
  | ut.begin();
  | User user=sessionbean1.createNewUser();
  | Adress adress=sessionbean2.createNewAdress();
  | ut.commit;  
 
This code seems to work fine. If sessionbean2 fails, the correct ut.rollback() in the 
catch-Block (not shown above) is used (thanks to the debugger;)). But if I look in the 
Database, the entry from sessionbean1 is not removed... 
Where is the problem? 
Session Beans and CMP'S are both set to transaction type supports (with xdoclet). 
I'm using MySQL 4.0.15-nt (perhaps the database is the problem?). 
Cant I start transactions from the servlet??? 

Bye 

Mark

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841337#3841337

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841337


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: Mapping Servlet, got class not found error

2004-07-08 Thread darranl
What is the exact structure of your war file that contains the web.xml?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841336#3841336

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841336


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JNDI configuration

2004-07-08 Thread kabkhan
There might be an existing MBean, I don't know.

If you write your own, you could make the MBean read what is to be bound from the 
jboss-service.xml file-

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841338#3841338

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841338


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - UnmarshalException MySQL

2004-07-08 Thread brizer
Hi there,

I wrote a SessionBean which is fetching data of an EntityBean. The data is stored in a 
MySQL database. The problem is from time to time an  'UnmarshalException' is thrown 
when I run my application which gets the SessionBean that is fetching the data of the 
EntityBean.

In the JMX Console at the 'ManagedConnectionPool' for MySQL I can see that after the 
Exception is thrown, the ConnectionCount is 0. When I run the application a second 
time the ConnectionCount is 1 and I get my data.

What do you guys think is the problem?

jbosscmp-jdbc
  |defaults
  |datasourcejava:/MysqlDS/datasource
  |datasource-mappingmySQL/datasource-mapping
  |create-tabletrue/create-table
  |remove-tablefalse/remove-table
  |/defaults
  | 
  |enterprise-beans
  |   entity
  |  ejb-nameProfile/ejb-name
  |  table-nameProfile/table-name
  |  cmp-field
  | field-nameid/field-name
  | column-nameid/column-name
  |  /cmp-field
  |  cmp-field
  | field-namelogin/field-name
  | column-namelogin/column-name
  |  /cmp-field
  |  cmp-field
  | field-namename/field-name
  | column-namename/column-name
  |  /cmp-field
  |  cmp-field
  | field-namepassword/field-name
  | column-namepassword/column-name
  |  /cmp-field
  |  cmp-field
  | field-nameage/field-name
  | column-nameage/column-name
  |  /cmp-field
  |  cmp-field
  | field-namecity/field-name
  | column-namecity/column-name
  |  /cmp-field
  |  cmp-field
  | field-namedescription/field-name
  | column-namedescription/column-name
  |  /cmp-field
  |   /entity
  |/enterprise-beans
  | /jbosscmp-jdbc

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841339#3841339

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841339


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: (JBoss and JAAS)'s newbie...

2004-07-08 Thread batman
ok thanx a lot...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841340#3841340

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841340


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: jms in jboss deployed after ear file?

2004-07-08 Thread atirraihan
I dont see this issue covered in the FAQ.  Can you please confirm where the answer to 
this problem is.

Atir

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841341#3841341

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841341


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: ssl in jboss 3.2.5 is broken

2004-07-08 Thread osf_lover
Have tried your jsp code, but that also does not work for me. 

Do i need to modify something in login-config.xml ? I have added following bits to the 
default login-config.xml

!-- GDS Login Module   --
   
  login-module code = com.xxx.gds.jaas.GdsJBossLoginModule flag = 
required
 module-option name = 
filenameserver/default/conf/gdsrealm.properties/module-option
 module-option name = debugtrue/module-option
  /login-module
   


Above modification in login-config.xml works fine in jboss3.2.4.

tia
k

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841342#3841342

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841342


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: howto remove tomcat

2004-07-08 Thread analogueboy
i've been investigating the origianl problem again (why tomcat can find system dtds 
correctly) and found  a post suggesting that the xerces should be used instead of 
crimson as the jaxp parser implementation. I swapped the two which helped a little, 
but now it is looking for the dtd in the ${jboss_home}/bin directory (the directory 
where the server is started.

If the dtd is placed there it will work fine, but this still isn;t the correct 
behavior of a parser, the XML I have written is correct, and the position of the DTD 
is correct, but tomcat is not acting correctly in this situation. I've tried the same 
app in jetty which i belive uses xerces too and the app deploys first time, without 
any modification.

Should this be registered as a bug  in tomcat? BTW, it apparently works correctly in 
tomcat4, the issue has arisen in tomcat5.

In regards to moving to jetty instead, I tried the fix suggested, but i still haven't 
managed to get it sorted, hopefully that'll come together soon ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841343#3841343

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841343


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - first start run.sh error

2004-07-08 Thread simancas
Dear All users, when i do my first start if run.sh, i've that error :

Failed to boot JBoss:
org.jboss.deployment.DeploymentException: Could not initialise deployment: 
file:/usr/local/jboss-3.2.4/server/default/conf/jboss-service.xml; - nested throwable: 
(java.lang.AbstractMethodError: org/jboss/deployment/SubDeployerSupport.accepts)
at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39).

Deas anyone have an idea of the solution's problem ?

Thanks

yours,

Hugo

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841344#3841344

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841344


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: howto remove tomcat

2004-07-08 Thread analogueboy
rofl

Downloaded the .sar from the jetty site, placed it in the deploy directory and 
restarted. Jetty loads fine, begins to load my app and bang, same exception. So this 
time it's jboss not setting up xerces correctly because it is now looking for the dtd 
in the ${jboss_home}/bin directory too. Apologies to the Tomcat people, the problem is 
deeper than that.

So, is there *any* way of specifying a SYSTEM dtd for a web.xml file without putting 
the full path to the file in the DOCTYPE?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841345#3841345

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841345


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: startup trouble

2004-07-08 Thread analogueboy
maybe the application server can't access hte sun site? try and telnet to the url on 
port 80 from that machine

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841346#3841346

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841346


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss ClassLoader hell. Please help.

2004-07-08 Thread GRatcliffe
We don't use EAR deployment or EJBs but we did have a number of war files that worked 
fine under a standalone Tomcat installation. These war's required specific version of 
some classes.

To support this I changed a configuration attribute for the whole JBoss Tomcat 
installation that made it work more like a standalone version. We've not experienced 
any problems from do thing. I suspect it may not be making best use of the class 
repository.

For JBoss 3.2.2:

In jbossweb-tomcat41.sar/META-INF directory fine the jboss-service.xml attribute.

Add/change mbean attribute:

false

By default it is true.

Hope this helps.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841347#3841347

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841347


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: startup trouble

2004-07-08 Thread kabkhan
2004-06-21 08:33:53,148 INFO  [org.jboss.web.localhost.Engine] 
SingleSignOnContextConfig[/helloworldnow]: Missing application web.xml, using defaults 
only
  | 

Does your war contain WEB-INF/web.xml ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841348#3841348

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841348


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - how to see deployed ejb in jmx-console

2004-07-08 Thread s_k_tripathi
please any body help me

I am new to jboss and dont,know how to and where to see deployed ejb on jmx-console..


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841349#3841349

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841349


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - [JBOSS-QL] COUNT on ejbSelect

2004-07-08 Thread jacerda
i can't put COUNT working :(

need help.

i have this


  |  * @jboss.query 
  |  *  signature = Integer 
ejbSelectCountBetwenDates(java.sql.Timestamp ti, java.sql.Timestamp tf )
  |  *  query = SELECT COUNT(o.facturaId) FROM 
Factura o WHERE o.data  ?1 AND o.data  ?2
  |  *  
  | 

and


  | /**
  |  * 
  |  * @ejb.home-method view-type = local
  |  */
  | public Integer ejbHomeCountBetwenDates(java.sql.Timestamp ti, 
java.sql.Timestamp tf) throws FinderException{
  | 
  | return ejbSelectCountBetwenDates(ti,tf);
  | }
  | 
  | 
  | /**
  |  * 
  |  * @param ti
  |  * @param tf
  |  * @return
  |  * @throws FinderException
  |  * 
  |  * @ejb.select
  |  */
  | public abstract Integer ejbSelectCountBetwenDates(java.sql.Timestamp ti, 
java.sql.Timestamp tf ) throws FinderException; 
  | 
  | 

and the error:


  | java.lang.ClassCastException
  | at 
com.multicert.project.datasystem.seef.ejb.FacturaCMP$Proxy.ejbSelectCountBetwenDates(generated)
  | at 
com.multicert.project.datasystem.seef.ejb.FacturaBean.ejbHomeCountBetwenDates(FacturaBean.java:141)
  | 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.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1054)
  | 
  | 


any help ??

thanks in advance

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841351#3841351

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841351


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET SOAP] - Re: Changing in0,in1,... into more proper parameter names

2004-07-08 Thread tperrigo
With the following tags/method declaration, I was able to get meaningful parameter 
names:


  | /**
  |  * @param projectRoleId
  |  * @return jobId
  |  * @ejb:interface-method view-type=remote
  |  * @jboss-net.web-method returnQName=job_id
  |  */
  | public int importRequestsWLMSRequests(int project_id) throws RemoteException {
  | 

WSDL:

  | - !-- WSDL created by Apache Axis version: 1.2beta
  | Built on Apr 26, 2004 (01:40:56 PDT)  -- 
  | - wsdl:message name=importRequestsWLMSRequestsResponse
  |  wsdl:part name=job_id type=xsd:int / 
  |  /wsdl:message
  | 
  | - wsdl:message name=importRequestsWLMSRequestsRequest
  |  wsdl:part name=project_id type=xsd:int / 
  |  /wsdl:message
  | 
  | - wsdl:portType name=RequestImport
  | + wsdl:operation name=importRequestsWLMSRequests parameterOrder=project_id
  |  wsdl:input message=impl:importRequestsWLMSRequestsRequest 
name=importRequestsWLMSRequestsRequest / 
  |  wsdl:output message=impl:importRequestsWLMSRequestsResponse 
name=importRequestsWLMSRequestsResponse / 
  |  /wsdl:operation
  | 

Hope this helps,
Tim

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841352#3841352

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841352


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [The Lizzard's corner] - Re: What is the biggest site using JBoss ?

2004-07-08 Thread jaap
Many questions allessandro, here are the answers:

I needed messaging - so therefore i choose to use middleware.

In development JBoss works fine because there is no actual load. In production there 
is.

Three major issues i will mention:
- Security: check if it works! You expect _fail save_ but it is _fail unsave_. I 
misconfigured security and that resulted in a nice username password popup but no 
actual check. So everybody could log in using any username and any password.
- Database connections: Version 3.2.4 has some nice debugging features: use them. My 
application did not use the connections properly. For Tomcat that is no problem - but 
JBoss starts using more and more connections untill it just stops. (No response 
whatsoever). This was a hard to solve problem - time pressured rewrite of the 
application.
- JBoss uses hsqldb. Don't use it because it _will_ crash and it _will not_ restart. 
Not nice because for me it broke down in production so I got another time pressured 
learning curve on configuring JBoss on the environment you don't want to learn this.

Anyway, out of the box JBoss is not production ready. Somewhere in wiki you find: 
hsqldb is not a production quality database. It is suitable for demos and testing. 
JBoss ships with the database to help you get something working out of the box.
Small point: the default settings for mysql are useless, they need tuning. I am still 
working on that btw.

As I have said before, my website is quite Mickey Mouse sized: 1000 visitors, about 
1.000.000 database requests per day. Just running the application gave me considerable 
problems and needed advanced tuning. Things i did not need to with other important 
components like Tomcat (previous setup) and MySQL.
You simply need load testing and some more working knowledge with JBoss (documentation 
does not really help - it is not comparable with before mentioned MySQL and Tomcat). 
So, I think Trial and Error (load tests) is the best way.
In this process i have become sort of an JBoss guru. From that point of view i am now 
confident it is tuned and ready for production (cron restarts it every night though 
;-).

Good luck,

Jaap
ps, other questions: i do not use CMP. before i have seen a project fail big time 
using Weblogic (also database connections btw!)- so what are we talking about. Oracle? 
Memory leaks in the application server caused another project i have seen to invest 
almost an extra 500.000 euro in hardware). And clustering? It is still a hype, don't 
consider it.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841353#3841353

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841353


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Call JBOSS EJB from ORACLE

2004-07-08 Thread nickman
Windows XP Professional
JBoss jboss-3.2.0_tomcat-4.1.24
Oracle Enterprise Version 9.2.0.1.0

You can see the narrative of a prior thread starting here: 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg28259.html

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841354#3841354

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841354


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - strange invalid data problem

2004-07-08 Thread idocoding
hi folks,

i have a ejb application (http://www.molimo.de) running under jboss 3.2.4. after 
deployment everything works fine. after some time (maybe 10 user sessions) - the local 
CMP beans return invalid data.
i changed the databases - same result.
i tried it with and without cache invalidation - also same result.
i can trace down the problem to the field getter of one of the local beans - sometimes 
it returns different values (altough the value in the database never changes). 
could it be, that there is a problem with the transaction descriptor?
i set all methods of the local beans to mandatory and the session beans to required, 
so they should start a new transaction if no one exists.
Any hint? sorry, if the problem description is a bit inaccurate - i hope someone can 
help me anyway. The whole source of the application is available under the web site 
above (GPL) and if the origin of the problem depends on jboss i am willing to help 
also.

thanks,

marcus

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841355#3841355

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841355


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Is jbossha.jar fixed in jboss-3.2.5?

2004-07-08 Thread [EMAIL PROTECTED]
That is not consistent with the javagroups content in the thirdparty tree:


  | [EMAIL PROTECTED] lib] cd jboss-3.2/thirdparty/javagroups/javagroups/lib
  | [EMAIL PROTECTED] lib]$ ls
  | CREDITS  CVS/  JGroups-2.2.5.src.zip  jgroups.jar  LICENSE.txt  README.txt
  | [EMAIL PROTECTED] lib]$ cvs status jgroups.jar 
  | ===
  | File: jgroups.jar   Status: Up-to-date
  | 
  |Working revision:1.1.2.6
  |Repository revision: 1.1.2.6 
/cvsroot/jboss/thirdparty/javagroups/javagroups/lib/jgroups.jar,v
  |Sticky Tag:  JBoss_3_2_5 (revision: 1.1.2.6)
  |Sticky Date: (none)
  |Sticky Options:  -kb
  | [EMAIL PROTECTED] lib]$ cat README.txt 
  | 
  | $Id: README.txt,v 1.1.2.4 2004/05/19 01:03:47 belaban Exp $
  | 
  | NAME:JGroups
  | VERSION: 2.2.5 (JGroups HEAD from May 18 2004, tagged JG_2_2_5)
  | PROJECT: http://www.jgroups.org
  | PURPOSE: Used for Clustering, JBossCache and ServerlessJMS
  | 

The org.jgroups.Version class found in the JGroups-2.2.5.src.zip claims to be 2.2.4. 
Bela will have to indicate which version info is correct.

  | package org.jgroups;
  | 
  | public class Version {
  | public static String version=2.2.4;
  | public static byte[] version_id={'0', '2', '2', '4'};
  | public static String cvs=$Id: Version.java,v 1.5 2004/04/28 18:44:58 belaban 
Exp $;
  | ...
  | 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841358#3841358

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841358


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Problems with HA-JNDI Lookup of DefaultPartition

2004-07-08 Thread peterb
At a glance, you're code seems to be ok.

Possibly you're seeing the same problem that is discussed here:
http://www.jboss.org/index.html?module=bbop=viewtopict=35509


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841357#3841357

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841357


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: login-config.xml file

2004-07-08 Thread [EMAIL PROTECTED]
The dist is the jboss-3.2.x distribution, so jboss-3.2.3/docs/dtd/security_config.dtd 
in the jboss-3.2.3 distribution would be where to look.

It is also available from:
http://www.jboss.org/j2ee/dtd/security_config.dtd


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841359#3841359

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841359


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: ssl in jboss 3.2.5 is broken

2004-07-08 Thread [EMAIL PROTECTED]
You'll have to debug your custom GdsJBossLoginModule. There were some refactorings in 
the login module layer to support x509 cert based login modules so look into whether 
this broke your login module.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841360#3841360

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841360


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Call JBOSS EJB from ORACLE

2004-07-08 Thread pedrosalazar
Well, I'll try to download the jbossall-client.jar from jboss 3.2.0 release, to see if 
with those client jars work (I'll post later the results).

Another interesting issue is that even with jboss stopped, the error is the same 
(recvfrom() timed out).
Could it be that a request from Oracle to JBOSS (even down), never got its response 
(OK or FAILURE) because oracle server is blocking the reply? ... just guessing...

Can you tell me exactly the permissions granted on oracle in your succefull test? I 
already tried all the referred ones in wiki and in the other jboss thread, but 
nothing. 

When you got the results of your test, now in Oracle Server 9.2.0.4, give a feedback 
here, please. 

Thanks.

Regards,
Pedro Salazar.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841361#3841361

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841361


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET SOAP] - Re: Changing in0,in1,... into more proper parameter names

2004-07-08 Thread kris_moens
fheldt,

Indeed, i'm using the one jboss provided, not the one from the nsdev site.
I hope this site will be available again soon.

thanks for the replies

Kris



 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841362#3841362

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841362


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: UserTransaction and non-default JNDI context.

2004-07-08 Thread [EMAIL PROTECTED]
Your going to have to hack the ClientUserTransaction to expose a thread local to which 
a Properties/Hashtable can be placed for use by the InitialContext. The j2ee appclient 
naming context factory should be providing a binding for the user transaction as well 
that would give more control over this, but currently its not.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841363#3841363

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841363


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - How to change port?

2004-07-08 Thread ldfarley
Hi, 

I was using jboss 3.2.3 without problem until I installed Oracle 9i.  An Oracle 
service seems to be running on port 8080 in conflict.  When I try to start up my jboss 
server I get a JVM Bind exception.  I think the easiest way to resolve is to change my 
jboss port to a use a different one than 8080.  I tried going ot the 
jboss_home_dir/server/default/deploy/jbossweb-tomcat41.sar/Meta_inf/jboss-service.xml 
file and changing the port to from 8080 to 80.  However, when I start up my server I 
am getting the same error.  Do I need to unpack and repack certain files?  How do I do 
this correctly?  Is there any other steps I am missing?

Thanks in advance for any help you can provide!

Lisa

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841366#3841366

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841366


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: log4j and JBoss

2004-07-08 Thread kaobe
Hi Zeron, 

I don't know if it's the method everyone else uses, but we work with it quite well. 
We get a Logger: Logger logger = Logger.getLogger(this.getClass());
We use org.jboss.logging.Logger

With this instance we do all of our logging. 

Peter

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841369#3841369

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841369


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Deployment failure with exploded SARs

2004-07-08 Thread apinto
Hi there,

 I'm having some problems while starting JBoss 3.2.3 with exploded SARs in the 
deployment directory. Everything seems to be fine with the deployment descriptors...  
If JBoss is started without the exploded SARs, and the deployment is done afterwards, 
everything works fine.

The following exception is thrown and after that, the deployment function doesn't work 
anymore:

2004-07-08 11:42:34,506 WARN  [org.jboss.ejb.EjbModule] Could not load the 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor interceptor for this 
container
java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:161)
at 
org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:169)
at 
org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at 
org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77)
at 
org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at 
org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.jboss.ejb.EjbModule.addInterceptors(EjbModule.java:811)
at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:698)
at org.jboss.ejb.EjbModule.createStatelessSessionContainer(EjbModule.java:502)
at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:457)
at org.jboss.ejb.EjbModule.createService(EjbModule.java:280)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
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.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy14.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:310)
at org.jboss.system.ServiceController.create(ServiceController.java:243)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
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.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy12.create(Unknown Source)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:523)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
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(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.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.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 

[JBoss-user] [Installation Configuration] - Re: How to change port?

2004-07-08 Thread Lviz
hello Lisa

just a shot in the dark.
maybe you are running a webserver listening on port 80 on your box?

try something like 18080

cheers
lothar

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841372#3841372

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841372


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: JBOSS administration

2004-07-08 Thread jaysee123
this is a class project and I can't figure out what he wants:

JMS administration is to be presented with respect to the JBoss application server. 
The general and technical requirements are as follows:


General Requirements:

1.  Two administrative features/functions are to be identified with respect to JMS 
as supported by the JBoss application server used in class.  These functions must be 
those that are centrally controlled/administrated within the JMS provider/server 
execution (i.e., not manipulated through client code).

2.  A JMS application must be constructed which clearly exhibits the effects of 
manipulating each of the two administrative functions.  It will suffice to modify any 
of the previous assignments for this purpose.

3.  The two identified administrative functions must not be those already 
identified in class, and must ultimately involve alteration of the XML configuration 
file(s) within the JBoss administrative environment.  In particular, the two 
identified functions must exclude the defining of a new destination (Queue or Topic).

4.  Potential areas of administration are any JMS-related effects, such as basic 
JMS properties, connection factories, security (including JNDI), persistence, 
transactions, and message-driven beans.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841373#3841373

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841373


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Cygwin 1.5.9: jboss-4.0.0DR4: jmx-console: Unable to com

2004-07-08 Thread greno
I uninstalled J2SE 5.0 and reinstalled J2SE 1.4.2 and the problem went away so this 
appears to be related to some incompatibility between JBoss 4.0.0DR4 and J2SE 5.0.

Updating bug.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841374#3841374

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841374


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Help with an ejb-ql query

2004-07-08 Thread ghoyle
Hi,

I am having problems writing a ejb-ql query to based on a many to many relationship.

I have 2 entities:   ClientDetails  and the other is called TVBS
and there is a many to many relationship between them.

I want all of the TVBS's that a client has access too.

the ejb-relationship between them is calledclient-tvbs
The abstraact schema name for ClientDetails is clientdetails
and the abstract schema name for TVBS is tvbs

I would be passing in a userID to search on for the ClientDetails.
JBOSS does create the tables and a intermediatry table to resolve the many to many.

Any help with this would be most appreciated.

Thanks

G


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841375#3841375

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841375


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - defining jboss instance vs server

2004-07-08 Thread madeonmoon
hi all,

i am a bit confused about the terminolgy here:

1) when you say multiple jboss instances do you mean multiple jboss java processes 
(executing ps -ef | grep jboss will show two processes /bin/sh 
/usr/local/jboss/bin/run.sh...)?

2) how do you refer to several apps deployed within separate directories under 
/usr/local/jboss/server/. for example:
 
$ ls /usr/local/jboss/server/
all  default  minimal  myapp1  myapp2

I hope my question is clear... please let me know if it's not. thanks :-)

James





  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841376#3841376

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841376


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Locking behaviour unclear

2004-07-08 Thread SilvioMatthes
Hallo,

I'm experiencing a locking behaviour that I do not understand completely.
I'm using: 
   JBoss 3.2.5, 
   Commit-Option: A
   locking-policy: QueuedPessimisticEJBLock

We have 2 EJBs (that are relevant here), user and document.
document has a field user (to save which user created a document).
All getter-Methods of user are made read-only and the bean is reentrant.

When I create a document (in a transaction), in ejbpostcreate() I set the user via 
document.setuser(user).
While this tx is running, I cannot access any of the getter methods of this 
user-Entity.

When I change the user-bean to read-only, no locking occurs.
But I want to create users and change them so I cannot use a read-only-bean.


Now my question is:  Is this behaviour of locking the userbean right (and why)?

Any information would be highly appreciated.

Silvio


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841377#3841377

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841377


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Custom Module EJB Deployment Problem

2004-07-08 Thread peja
I am trying to deploy a custom module, and for database access I wrote an entity EJB. 
When I start deployment, my module gets deployed, but for EJB I get an exception:

org.jboss.deployment.DeploymentException: Could not load class:
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:61)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:782)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:362)
at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:706)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:357)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152)

Can anybody let me know what can be the problem here.

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841378#3841378

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841378


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Failover and Hot Deployment cause servlet 500 error

2004-07-08 Thread davva
Hi, I'm running JBoss 3.2.3 in a cluster of 2 (on the same m/c for testing) and using 
JK2 with the load blancing module for failover in Apache 2.

Load balancing works fine.  Failover does not.

When I hot deploy a new version of my war (which runs in the root context in tomcat), 
JK2 continues to contact tomcat while it is redeploying, rather than another node in 
the cluster.  This results in a 500 No Context error from tomcat.  I was expecting 
tomcat to communicate that it's down to JK2 and allow JK2 to failover to the other 
node.  

A similar thing happends if I take a server down for maintenance.  Requests made after 
the shutdown request but before the shutdown is complete result in a 500 No Context 
Configured error from tomcat.

Is there something I can configure in tomcat, JBoss or JK2 that will cause failover to 
occurr neatly (on any 500 error), without an unpleasant user experience?

I can post my config files if they're of any use.

Thanks

Dave

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841379#3841379

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841379


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Custom Module EJB Deployment Problem

2004-07-08 Thread cooper
the class that allows to fetch the PK generated during database insertion is missing 
(it belongs to the CMP layer). what is the target database ?
what is the JBoss version you use ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841380#3841380

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841380


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - application-policy doesn't work - always default security do

2004-07-08 Thread solso
Hello...

I'm developing a servlet, which calls some custom classes. One of these classes does a 
kerberos login using the krb5login module. To get the servlet and the classes working, 
I have to define the exact class in the application policy of the default security 
domain other in the login-config.xml:


application-policy name = other
   
login-module code = com.sun.security.auth.module.Krb5LoginModule flag = 
required /
   
/application-policy
...


Then I tried to use a custom security domain which I defined in the jboss-web.xml:

jboss-web
security-domainTestSecDomain/security-domain
context-root//context-root 
virtual-hostlocalhost/virtual-host
/jboss-web

I also defined a custom application policy in the login-config.xml:


application-policy name = TestSecDomain
   
login-module code = com.sun.security.auth.module.Krb5LoginModule flag = 
required /
   
/application-policy

application-policy name = other
   
  login-module code = org.jboss.security.auth.spi.UsersRolesLoginModule 
flag = required /
   
/application-policy



With this configuration the servlet and the classes are not working. They use always 
the default other application policy.

Do you have any ideas what I have done wrong?
I'm using JBoss 3.2.2 with bundled Tomcat 4.1.2.

Thanks in advance...

richard

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841381#3841381

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841381


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: How to change port?

2004-07-08 Thread aalmero
hi lisa,

oracle 9i has an http server installed running on port 80. 

aalmero

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841382#3841382

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841382


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Call JBOSS EJB from ORACLE

2004-07-08 Thread pedrosalazar
With the jbossall-client.jar from jboss 3.2.0, I still get unresolved classes (351 
against 537 of jboss 3.2.5) but it should be normal because, for instance, the JASS 
classes are not included in the bundle jbossall-client.jar.  The question is why call 
jbossall-client.jar if it doesn't contains really all the classes?

So, the only difference now is oracle version: 9.2.0.1 against my tested versions 
9.2.0.{4,5}. Oh, yes the O.S. too. Linux against Windows :-)

When you get more info about this, please post here.

Regards,
Pedro Salazar.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841383#3841383

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841383


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: ssl in jboss 3.2.5 is broken

2004-07-08 Thread osf_lover
Infact its not refactoring. One of the class has changed!

In jbosssx.jar, AbstractServerLoginModule.java class, CreateGroup method returns 
SimpleGroup if it didn't find one instead of NestableGroup.

The change between AbstractServerLoginModule.java is

284c284
  roles = new NestableGroup(name); // in Jboss 324
---
  roles = new SimpleGroup(name);  // in jboss 325


What's the reasoning behind this?

tia
k

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841385#3841385

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841385


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - JBoss plugin for Apache HTTP Server

2004-07-08 Thread jch
Hello,
I am looking for an JBoss plugin for apache HTTP server. 
Do you know where I can find it ?
Thank you :-)
jch

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841386#3841386

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841386


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: How to change port?

2004-07-08 Thread ldfarley
Thanks for your help!  When I started up my server the JVM Bind error was on port 
8080.  With your ideas I was able to do a bit more searching and found the problem.  
It turned out that I needed to update the service.xml file in the 
jboss-3.2.3\server\all\deploy\jbossweb-tomcat41.sar\META-INF folder instead of in the 
jboss-3.2.3\server\default\deploy\jbossweb-tomcat41.sar\META-INF folder.  I'm new to 
jboss so I don't know if it's something we have in out environment setup here or if 
this would always be correct.  It solved the problem and I'm using port 80. 

Have a good day. 

Lisa

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841387#3841387

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841387


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Problems with HA-JNDI Lookup of DefaultPartition

2004-07-08 Thread aggiaggi
Thanks for the hint. I'll have a look.

Cheers
Gerd

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841388#3841388

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841388


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to map a single BMP instance with multiple rows retu

2004-07-08 Thread jamesstrachan
Vishal,

Have a look at the discussion chain on topic :-


http://www.jboss.com/index.html?module=bbop=viewtopict=50863


That provides a complete solution to a similar problem with two differences.

Diff. 1

That problem was for a singleton solution, in which only one Entity Bean exists in the 
database.

In your case, you need a BMP entity bean for each train number.  So replace the fixed 
primary key by train number.

Diff. 2

In the example, the Entity Bean stores and returns an ArrayList of String objects.  
You will presumably need to store and return an ArrayList of TrainInfo (or whatever) 
objects.

Hope this helps.

James




View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841389#3841389

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841389


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: ssl in jboss 3.2.5 is broken

2004-07-08 Thread [EMAIL PROTECTED]
As stated in the release notes:

Change the behavior of the base createGroup to use a SimpleGroup rather than a 
NestedGroup as the latter precludes the ability to combine roles across login modules. 
If that is the desired behavior the subclass would create its own NestedGroup instance.

How does this affect you?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841390#3841390

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841390


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Custom Module EJB Deployment Problem

2004-07-08 Thread peja
I am using JBoss version 3.2.3 with mysql database version 4.0.2.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841392#3841392

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841392


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - JBoss (jboss-4.0.0DR4.zip) generates a bad create table stat

2004-07-08 Thread mherv
Hi, I thought I made all the necessary changes to assign MYSQL as the default Database 
for JBOSS (all). and I removed all the hsqldb configuration files

However, at startup, jboss tries to create a table with warchar(256) fields that  
MySQL doesn't support (hypersonic SQL  did support them)

Following is a snippet of the error log.

It doesn't stop JBOSS (all) to start, and the jmx console to show up, but it doesn't 
seem nice, and I don't know what the consequences could be to leave it like that.

any help appreciated 

here comes the snippet 

2004-07-08 18:32:08,343 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.MetaDataEntity] Executing SQL: CREATE 
TABLE JBOSS_METADATA_ENTITY_BEANS (IDENTITY VARCHAR(256) NOT NULL, XML VARCHAR(256), 
NAME VARCHAR(256), LAST_MODIFIED BIGINT NOT NULL, previous_identity_fk VARCHAR(256), 
child_identity_fk VARCHAR(256), CONSTRAINT pk_JBOSS_METADATA_ENTITY_BEANS PRIMARY KEY 
(IDENTITY))
2004-07-08 18:32:08,359 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.MetaDataEntity] Could not create 
table JBOSS_METADATA_ENTITY_BEANS
2004-07-08 18:32:08,359 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.parentTraceEnabled=true
2004-07-08 18:32:08,359 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2004-07-08 18:32:08,359 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2004-07-08 18:32:08,359 ERROR [org.jboss.ejb.EntityContainer] Starting failed 
jboss.j2ee:jndiName=ejb/media/MetaDataEntity,service=EJB
org.jboss.deployment.DeploymentException: Error while creating table 
JBOSS_METADATA_ENTITY_BEANS; - nested throwable: (java.sql.SQLException: Invalid 
argument value,  message from server: Too big column length for column 'IDENTITY' 
(max = 255). Use BLOB instead)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:495)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:184)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:492)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:346)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841393#3841393

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841393


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Problem connectign different DS on CMP bean

2004-07-08 Thread mserioli
does anyone know how can  I add the datasource and datasource-mapping tags at the 
entity level in jbosscmp-jdbc.xml?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841394#3841394

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841394


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: debugging JSP's in JBOSS with Jdeveloper

2004-07-08 Thread dwilliams
Jim,

I am new to the JBoss community, in fact, I just downloaded it today.  Currently, I am 
using jDeveloper as my IDE and would like to integrate the two.  Is there 
documentation out there that you know of?

Thanks in advance,

Deb

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841395#3841395

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841395


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: During the HAJMS master moving ....

2004-07-08 Thread wangchen_ca
BTW, I use jboss 3.2.5 .

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841397#3841397

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841397


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - During the HAJMS master moving ....

2004-07-08 Thread wangchen_ca
Hi:

I need to stop my own MBean at the very begin time when the first master crashes and 
wait to restart my own MBean until it find the jboss has finish the master moving. I 
wonder a better way would be to register my own MBean as a listener  to some part of 
jboss in which way I don't need to touch jboss code.

Thank advance!



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841396#3841396

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841396


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: UserTransaction and non-default JNDI context.

2004-07-08 Thread zacjacobson
Thanks for the suggestion, I will look into that.

I also thought about making a UserTransaction available from Tomcat's JNDI (eg Tyrex) 
- but I don't really undersand if or how that would work - could commit/rollback on a 
UserTransaction that lives in Tomcat affect my beans in JBoss?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841399#3841399

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841399


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: debugging JSP's in JBOSS with Jdeveloper

2004-07-08 Thread jim_stoll
deb,
check out the following page

http://otn.oracle.com/products/jdev/howtos/appservers/debug_in_jboss.html?_template=/ocom/technology/content/print


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841400#3841400

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841400


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Images?

2004-07-08 Thread pergolesi
Where am I supposed to place my images. Say you want to create a new newstopic, and 
want to define a custom image, where is the image folder then placed?

Thanks.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841401#3841401

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841401


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Using filtering techniques with JBoss 3.2.5

2004-07-08 Thread hcam
Hi,
As part of Java Servlet 2.3 specs, it is possible to use the filtering feature in web 
applications.
While I've been able to use this technique under Tomcat 4.1.30, I'm not able to be 
successful under JBoss 3.2.5.
Based on filtering examples provided within the Tomcat release 
(...\webapps\examples\WEB-INF\classes\filters) or the one from Sing Li 
(http://www-106.ibm.com/developerworks/java/library/j-tomcat), I've deployed my sample 
classes and defined the necessary filter tags in the web.xml file.
Starting my server is ok (in case of mistake,  e.g. bad tag declaration, servlet class 
not in CLASSPATH, this would be mentionned in the log).
Any request sent to the server works like if filtering is not taken in account.

So, my question is:
Is there any configuration operation to do under JBoss in order to filtering take 
effect?
Does some logging setting, for example the presence of log4j, would take precedence on 
filtering and then might disable this feature?

Thanks for help


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841402#3841402

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841402


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: performance issue with CMP hitting a rdbms view object

2004-07-08 Thread triathlon98
check out fetch-size and page-size in jbosscmp-jdbc.xml

Joachim

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841403#3841403

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841403


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: only log ERROR messages to console log for my class

2004-07-08 Thread alt_amit
OK I figured out:

To log4j.xml add:
   
 
   

Basically a WARN message was coming from this class to console, which I am now 
shutting off by raising the level.

- amit.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841405#3841405

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841405


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - startup class in Jboss 3.2.5

2004-07-08 Thread jxie
I have a startup class implemented in JMX. It runs well in JBOSS 3.0.4. Once I switch 
to JBoss 3.2.5, it doesn't start up after jboss server starts. I got 
INIT_WAITING_DEPLOYER error.  What should I change on my code? Do you have some 
examples for jboss 3.2.5?

Jim

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841406#3841406

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841406


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Opening RMI to the Internet?

2004-07-08 Thread mgaert
Thank you all.

Now we have everything running over HTTP plus the HTTP invoker servlet is secured 
properly.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841404#3841404

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841404


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: only log ERROR messages to console log for my class

2004-07-08 Thread alt_amit
category name=org.jnp.interfaces.NamingContext
priority value=ERROR

that's what I mean. The angle brackets caused the paragraph to disappear.

- amit.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841407#3841407

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841407


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - JBoss Optimization Bill Burke

2004-07-08 Thread divine_comedy
I was looking through Bill's blog on JBoss optimization, and I am mostly interested on 
the deep read ahead strategy that he mentioned. We are unfortunally using Oracle 8.0.5 
and hence the problem with the LEFT OUTER JOIN will still be there. I really would 
like to have this since we are currently having some performance problems that we want 
to fix for the upcoming holiday season. Can any of the JBoss folks point the way on 
how I can easily implement this. We are currently using JBoss 3.2.3 on Solaris. 
Thanks. 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841408#3841408

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841408


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: [JBOSS-QL] COUNT on ejbSelect

2004-07-08 Thread millerm1
I ran into this a few weeks ago, the return type from counts is Long instead of 
Integer.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841410#3841410

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841410


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - How to share JAAS login context for multiple EJB calls?

2004-07-08 Thread dhwu

Two EJBs are deployed in JBoss, each belonging to a separate application
with its own .ear file (they do not have to be deployed in the same 
container). One bean calls the other for some services, and perfoms
the JAAS login (and does not authenticate as JBoss doc suggests) for the
clients before invoking EJB calls to the other bean on behalf of the clients.
The other bean authenicates the caller's credentials before actually 
performing the requested task. 

It is desirable that the calling bean is able to use the same security
context for a group of clients (they have the same roles) without
creatiing the LoginContext each time before invoking the EJB call
to the other bean. It turned out that if the EJB object handle to the 
other bean is kept and re-used for multiple method invocations, the
other bean fails to authenticate the caller after the first successful
invocation. What is broken here?

The questions is: can a JAAS LoginContext shared by multiple EJB
method invocations on the cached reference (client side stub) to
a remote EJB ?

Any insights or suggestions would be highly appreciated.

 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841412#3841412

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841412


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Images?

2004-07-08 Thread jae77
you can store the images in the database using the html module. when you go to define 
the image when you setup the topic, you just give it that image path. 

ie: if you set the path for the image to be /images/news/img.gif you would specify 
this when you create the topic:

images/news/img.gif


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841411#3841411

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841411


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: debugging JSP's in JBOSS with Jdeveloper

2004-07-08 Thread dwilliams
Thank you!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841414#3841414

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841414


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Multiple JBoss Servers in one Transaction

2004-07-08 Thread Matthias Germann
Hi,
I'm using JBoss 3.2.5 and i have a question about distributed Transactions.
Is it possible to have multiple JBoss Servers involved into the same 
Transaction as described in Section 17.2.3 of the EJB 2.0 spec?

I would like to have the following behaviour:
1. Client calls a Method on Bean A which runs on Server A
2. Server A starts a new Transaction (TxA)
3. Server A calls a method on Bean B which runs on Server B
4. The method should be execute in the Transaction-Context TxA
Is this possible?
Regards,
Matthias
--
Matthias Germann [EMAIL PROTECTED]
---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Custom Module EJB Deployment Problem

2004-07-08 Thread peja
I was able to find the solution to my problem. For some reason in my 
jbosscomp-jdbc.xml file the following xml was missing outside of enterprise-beans 
element:

entity-commands
entity-command
name=nukes-entity-command
class=org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand/
/entity-commands

After adding this, my EJB was deployed successfully.

Cooper, thanks for your quick response.

Cheers

Peja


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841416#3841416

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841416


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Suddenly a strange Exception

2004-07-08 Thread Miguel Angelo Moutinho
I'm having this situation whenever I try to send messages through JChannel inside my 
beans using JBoss 3.2.4RC2 and 3.2.5.
With 3.2.3 no problem. I'd like to know why this happens and if anyone could tell me 
how to avoid it, I'd be glad! 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841418#3841418

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841418


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: JBoss web-console not working.

2004-07-08 Thread dheerajchugh
Adrian,

Thanks for your inputs. But i must say that your language was really rude. I simply 
asked for the URL where i can find the plugin that you want me to download, and this 
is very simple question that you might expect..anyways, i found it.


Finally i download the latest JRE from Sun and i got the option in my browser for 
enabling the Java and i was able to run the applet in IE itself.


Thanks,
Dheeraj.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841419#3841419

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841419


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: During the HAJMS master moving ....

2004-07-08 Thread wangchen_ca
Sorry for missing.
1. I tried the ExceptionListener, seems the OnException didn't been called.

2. The very begin exception in jboss log show as bellow, I can't figure out where to 
go further.

--
2004-07-08 12:26:16,093 WARN  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS 
provider failure detected:
org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: 
(java.io.EOFException)
at org.jboss.mq.Connection.asynchFailure(Connection.java:429)
at 
org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:145)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:398)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:332)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.EOFException
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:279)
... 1 more
2004-07-08 12:26:16,094 INFO  [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Trying 
to reconnect to JMS provider
2004-07-08 12:26:16,096 WARN  [org.jboss.mq.Connection] Connection failure:
org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: 
(java.io.EOFException)
at org.jboss.mq.Connection.asynchFailure(Connection.java:429)
at 
org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:145)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:398)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:332)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.EOFException
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:279)
... 1 more
2004-07-08 12:26:26,098 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Could 
not stop JMS connection
org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; - 
nested throwable: (java.io.IOException: Client is not connected)
at org.jboss.mq.Connection.doStop(Connection.java:1282)
at org.jboss.mq.Connection.stop(Connection.java:711)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStop(JMSContainerInvoker.java:832)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.onException(JMSContainerInvoker.java:1265)
at org.jboss.mq.Connection.asynchFailure(Connection.java:439)
at 
org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:145)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:398)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:332)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: Client is not connected
at 
org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:226)
at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:192)
at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:162)
at org.jboss.mq.Connection.doStop(Connection.java:1278)
... 8 more
2004-07-08 12:26:26,101 DEBUG [cdot.jboss.JBossMQProvider] connecting to remote JNDI 
with props: 
{java.naming.provider.url=localhost:1100,192.168.2.21:1100,192.168.2.41:1100, 
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, 
java.naming.rmi.security.manager=yes, 
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2004-07-08 12:26:26,107 WARN  [org.jnp.interfaces.NamingContext] Failed to connect to 
192.168.2.21:1100
javax.naming.CommunicationException: Failed to connect to server 192.168.2.21:1100 
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect to 
server 192.168.2.21:1100 [Root exception is java.net.ConnectException: Connection 
refused]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:213)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1185)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at cdot.jboss.JBossMQProvider.getInitialContext(JBossMQProvider.java:109)
at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:148)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:164)
at 

[JBoss-user] [Security JAAS/JBoss] - Error:

2004-07-08 Thread pani_rd
Hi All:

Here is my setup:

Standalone Tomcat (hosting my WAR)
Standalone JBoss (just hosting my EJB's)

When I try to access my EJB from Tomcat(through a facade/DAO), I get the following 
exception in the JBoss prompt:


  | 13:33:57,340 ERROR [LogInterceptor] EJBException, causedBy:
  | java.lang.IllegalStateException: No security context set
  | at 
org.jboss.ejb.EnterpriseContext$EJBContextImpl.getCallerPrincipal(EnterpriseContext.java:276)

I dont write these EJB's. It get shipped to me from a remote place and the place where 
they write these EJB's, they use Sun's RI for testing. 

I become paranoid as I dont know if this error is caused due to JAAS or I failed to 
provide some vendor specific information. 

Also, I'm pretty new to JAAS. Already I started to read some JAAS stuff, but thought 
of posting it anyway if someone could give me a fast fix. 

So, I would appreciate if someone could throw light on my following confusions:

1. Is this error because of JAAS or absence of vendor specific config's.
2. I'm not using any Vendor Specific Config (like jboss.xml). I'm living with whatever 
comes with ejb-jar.xml. Should I use any vendor specific configuration to avoid the 
error?


Thanks,
Pani


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841423#3841423

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841423


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - loading applet within an web application

2004-07-08 Thread daisyf
I am using JBoss BASIC Authentication/Authorization (user.properties  
roles.properties) for my web application. I have an applet that lives inside a jsp/ 
directory. In one of the web page, when I click at a button, it will launch the applet 
in a new window. I noticed that when loading the applet jar file:

1. I was prompted for usesname  password again
2. my HttpSession was invalidated

I moved the applet outside my web application into a publicly accessible web directory 
and again it asked me to authenticate (I don't understand why it needs to given that 
the applet is outside the webapp) and my session was invalidated. Has anybody come 
across that and have an explanation for it.

I am using IE 6.0.28 on Windows XP. I have also tested this in Netscape 7 and got the 
same result. Thanks.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841424#3841424

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841424


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Schizo Server

2004-07-08 Thread wagemono
We're using 3.2.3.  Sometime when we shutdown one of our clustered servers and then 
bring it back up.  It suffers from what we refer to as paranoid server syndrome.  It 
suspects another version of itself of being in the cluster.  The other members in the 
cluster also begin this loop too, they never seem to tire of trying to find the 
alternate personality of the restarted server.  All report

2004-07-08 21:38:02,620 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.TestPartition] Suspected member: 
2**.8*.1**.85:37983 (additional data:
18 bytes)

So a cluster of 3, thinks it's a cluster of 4.

Any ideas, any budding psychiatrists?

David Townsend

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841425#3841425

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841425


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - HA CORBA Naming Service

2004-07-08 Thread jiwils
Has any thought been given to the creation of a HA CORBA Naming Service utilizing 
JGroups for state replication and either some kind of port forwarding scheme or even 
Xtradyne's IIOP firewall/router product in conjunction with a JacORB-based naming 
service solution?

Does the JacORB-based CORBA naming service that is started by default with JBoss hold 
the promise of such capability (maybe backed by HA-JNDI in some way)?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841426#3841426

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841426


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >