[JBoss-user] [Persistence & CMP/JBoss] - Re: db updates are committed despite NotSupported transactio

2004-08-31 Thread loubyansky
The changes are committed but since there is no transaction they can't be rolled back 
automagically.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Error compiling EJB-QL in crime portal example from JBOS

2004-08-31 Thread loubyansky
Just worked for me. What did you change?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Bad Performance on DB2/400 and Jboss 3.2

2004-08-31 Thread saimonnn
ok

thanks

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - help me! Jboss doesn't create PK JAVA file for primary key o

2004-08-31 Thread [EMAIL PROTECTED]
 hai.
my server is -jboss3.2.1
ide-eclipse 2.1;

i have created a CMP bean with primary key of 'int' type which is related to 
autoincrement in mysql.
i have created getField()in bean.
i have created public int ejbCreate(*,*,*){ return int}, because ejbCreate methos must 
return Primary Key type.
after that i generated ejb classes in jboss3.2.1.

my problem:
---
1)in ejbsrc folder of workspace all files related CMP bean is created except 
PrimaryKey class.
2)in Home interface file itself, eclipse creates findByPrimaryKey(). but There is no 
PrimaryKey Java file for this CMP with primary key of AutoIncrement.

Please help me to fix the problem 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: deploye more thant one jboss nuke on a jboss app server

2004-08-31 Thread ThorntonD
The version of Nukes I did this with was the 1.0 version.  There may be new problems 
in the newer release.  I don't recall having any proxy problems.  You don't want to 
have any JNDI naming conflicts and nukes is the one word you can do a search and 
replace on to resolve the naming conflicts. This also gives distinct database names, 
class names, etc. for each version of Nukes.
The better way to do this is create a second instance of JBoss on the server with 
different port numbers.  This is simpler and will work without any problems.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Any plans for virtual host support in Nukes? (Nukes2)?

2004-08-31 Thread rcasha
JBossNukes looks great... except that I've got a JBoss instance with about 12 
different virtual hosts, which may (and hopefully will) increase. Ideally I'd like to 
have a single copy of the Nukes software (including the modules), and either several 
DataSources for their site data, or a data structure that includes the site name in 
its keys. I've seen other posts on this matter and it seems to be quite popular.

Are there any plans yet? Maybe it could be introduced in Nukes2. Pretty please.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Configure JBoss to use external libraries

2004-08-31 Thread shaolang
Harlow,

There are a couple of libraries that JBoss (and other open projects as well) are 
dependent on. These includes log4j, xalan, xerces, etc, and most of which I'm already 
using it some way or another. How can I configure JBoss such that it would load these 
dependencies that reside outside of %JBOSS_HOME%/lib and %JBOSS_HOME%/server//lib?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Custom Login Valve Problems

2004-08-31 Thread grinch
Dear Friends, 
Following an example from this forum I wrote a custom login module to pass an extra 
paramter from the login page. Basically it sets a session variable that the default 
page looks for.   All works fine when I use this wil JBOSS 3.2.3, but when I tried to 
use the valve from JBOSS 3.0.8 for some reason the session variable does not get set 
or received on the default page. I put log outs and the variable seems to be set 
correctly, but it just never reaches my default page using 3.0.8.  For the 3.0.8 setup 
I created an entry in the tomcat41-service.xml for the valve and then places the jar 
in the lib folder. 

Any idea why my session variable is not being carried across when using 3.0.8?

Thanks, 
Scott

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Closing a connection for you. Please close them yoursel

2004-08-31 Thread Ranjith Pillai
Hello,
My environment is Jboss-3.2.3 in HPUX. 
I didn't understand the workaround discussed above. I guess after I call my connection 
factory.getConnection() and before I call my connection.close(), JBoss is closing the 
connection and throwing out these exceptions. If anyone could shed some light, I will 
deeply appreciate that.

Here are the exceptions:

16:45:02,769 INFO  [CachedConnectionManager] Closing a connection for you.  Please 
close them yourself: [EMAIL PROTECTED]
java.lang.Exception: STACKTRACE
at org.jboss.resource.connectionmanager.CachedConnectionManager.register
Connection(CachedConnectionManager.java:282)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
onnection(BaseConnectionManager2.java:506)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
nManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
at com.sap.mw.jco.jra.JRA$ConnectionFactoryImpl.getConnection(Unknown So
urce)
at com.sap.mw.jco.jra.JRA$ConnectionFactoryImpl.getConnection(Unknown So
urce)
at com.hp.globalops.ssa.plugin.erp.sap.internal.ManagedConnectionFactory
.getConnection(ManagedConnectionFactory.java:29)
at com.hp.globalops.ssa.plugin.erp.sap.internal.SAPAdapterLite.createInt
eraction(SAPAdapterLite.java:126)
at com.hp.globalops.ssa.plugin.erp.sap.internal.SAPAdapterLite.execute(S
APAdapterLite.java:110)
at com.hp.globalops.ssa.plugin.erp.sap.internal.SAPAdapterLite.invokeSer
vice(SAPAdapterLite.java:59)
at com.hp.globalops.ssa.plugin.erp.sap.dl.SAPAdapterDLBean.invokeService
(SAPAdapterDLBean.java:54)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:683)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
ke(CachedConnectionInterceptor.java:185)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:72)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
rceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:267)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
28)

Thanks,
Ranjith Pillai

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Eclipse 3 + JBoss 3.2.5

2004-08-31 Thread freefall
Hi, 1st timer here :) 

I've installed the complete JBoss package, and the plugin for eclipse. 
I've run thru this example: http://www.devx.com/opensource/Article/20242/1954?pf=true 

now I can create and deploy the war file to my server...but it does not recognise the 
url of the helloworld servlet. 

The only thing I notice is the tomcat plugin is for vs 413 I think and the JBoss 
implementation contains tomcat5. I wonder if this is the problem. 

Anyone got any advice / help?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Scheduling Tasks

2004-08-31 Thread genman

Unfortuantely JBoss/JMX does not have a good way to persist attribute changes to disk 
or database.  I think with XMBeans you can create interceptors, but I haven't gotten 
this to work very well.  I think there are two good solutions:

1) Modify the -service.xml file directly.
2) Create your own MBean which, through setAttribute/getAttribute saves/loads values 
from a database.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Getting Tomcat port via JMX

2004-08-31 Thread genman

In 3.2.6 there is an MBean jboss.web:service=WebServer, which has an attribute Config. 
 You can parse this.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Non-proprietary connection to JBoss JMX MBeanServer

2004-08-31 Thread genman

Look on the Wiki.  You can get a javax.management.MBeanServer which wraps the calls to 
the RMI adaptor.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to listen for remote notifications?

2004-08-31 Thread genman

Likely the notification object you are passing isn't serializable.  What is the stack 
trace?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: NoClassDefFoundError

2004-08-31 Thread janilsal
This error is annoying  but sit back and try to think why it is showing this error. 
Then check all your libraries for the existence of the class file.   

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: NoClassDefFoundError

2004-08-31 Thread janilsal
server/default/lib is the place to put jar files that are statically deployed in JBoss.

"NoClassDefFoundError"  happens usually for the following:
a)  your class A   has been deployed to the server elsewhere and the server is finding 
a old version of it   [This happens with Tomcat]

b) You have not packaged the class that is bombing (NoClassDef)  along with the 
classes that use it. Put it in the same jar file.


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Deployment failure in JBoss 4.0.0 DR3

2004-08-31 Thread hildo
I've finally sorted this out.  When I used UCL tracing, I found out that the class it 
couldn't find was junit.framework.TestCase.  While I included the junit.jar in the EAR 
file, I didn't update the MANIFEST.MF file in the test jar to include the junit.jar 
file in the classpath to use.  Once I did that, it worked as normal.

I can only assume that early versions of the 4 developers release had a copy of junit 
already in the classpath, and then it was removed.  So a case of pilot error. :)

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Q: SecurityException for getEJBObject method

2004-08-31 Thread hildo
I'm using JBoss 3.2.5, and I have a Stateful Session EJB which is acting as a Facade 
for client API into my server.  The Bean returns a javax.ejb.Handle instance which is 
used by the client to hold as a reference to its server connection.  The server code 
is as follows:


  | public Handle createDataClient() throws CreateException, RemoteException {
  | DataRemoteHome dataHome = null;
  | try {
  | dataHome = lookup.getDataRemoteHome();
  | } catch (NamingException ex) {
  | throw new EJBException("Unable to get DataRemoteHome reference", ex);
  | }
  | DataRemote data = dataHome.create(userSettings);
  | return data.getHandle();
  | }
  | 
The above it a method in the Session EJB for the Client, and it returns a Handle for 
another Stateful Session Bean for the Client.  The Client code calling this is...


  | public DataClient createDataClient() throws ServerAccessException {
  | validateState();
  | try {
  | Handle dataHandle = userRemote.createDataClient();
  | EJBObject ejbObject = dataHandle.getEJBObject();
  | return new DataClientImplementation((DataRemote) ejbObject);
  | } catch (CreateException ce) {
  | throw new ServerAccessException(ce);
  | } catch (RemoteException re) {
  | throw new ServerAccessException(re);
  | }
  | }
  | 

So, the client is getting the Handle, calling the getEJBObject() method which should 
return the EJBObject.  Then use the EJBObject.  I get a SecurityException when I call 
the getEJBObject method of the returned Handle object


  | java.rmi.ServerException: Could not get EJBObject; nested exception is: 
  | java.rmi.ServerException: RemoteException occurred in server thread; nested 
exception is: 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: checkSecurityAssociation; nested exception is: 
java.lang.SecurityException: No method permissions assigned to method=getEJBObject, 
interface=HOME" 
type="com.bh.bplan.client.ServerAccessException">com.bh.bplan.client.ServerAccessException:
 java.rmi.ServerException: Could not get EJBObject; nested exception is: 
  | java.rmi.ServerException: RemoteException occurred in server thread; nested 
exception is: 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: checkSecurityAssociation; nested exception is: 
java.lang.SecurityException: No method permissions assigned to method=getEJBObject, 
interface=HOME
  | at 
com.bh.bplan.client.UserContextImplementation.createDataClient(UserContextImplementation.java:107)
  | at 
com.bh.bplan.client.UserContextTest.testCreateClients(UserContextTest.java:42)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | Caused by: java.rmi.ServerException: Could not get EJBObject; nested exception is: 
  | java.rmi.ServerException: RemoteException occurred in server thread; nested 
exception is: 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: checkSecurityAssociation; nested exception is: 
java.lang.SecurityException: No method permissions assigned to method=getEJBObject, 
interface=HOME
  | at 
org.jboss.proxy.ejb.handle.StatefulHandleImpl.getEJBObject(StatefulHandleImpl.java:158)
  | at 
com.bh.bplan.client.UserContextImplementation.createDataClient(UserContextImplementation.java:102)
  | ... 16 more
  | Caused by: java.rmi.ServerException: RemoteException occurred in server thread; 
nested exception is: 
  | java.rmi.ServerException: EJBException:; nested exception is: 
  | javax.ejb.EJBException: checkSecurityAssociation; nested exception is: 
java.lang.SecurityException: No method permissions assigned to method=getEJBObject, 
interface=HOME
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
  | at sun.rmi.transport.Transport$1.run(Transport.java:148)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:534)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
  | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
  | at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
  | at 
org.jboss.invoca

[JBoss-user] [EJB/JBoss] - Re: NoClassDefFoundError

2004-08-31 Thread mchauhan
I see that this user has already posted this twice. 

Biggeronimo - what version are you at?

Can someone help out please, This happens quite often but once it happens its 
reproducible consistently. The work around for us has been to remove the deploy 
directory and restart again (not sure if we can consistently do that either - but this 
has seemed to work), Thanks in advance
--

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - need help for j2ee1.3 for jboss3.2.3

2004-08-31 Thread yetang
hi,
i am running jboss3.2.3, ant1.5, jsdk1.4.2, mysql4.0 on a x86 box with Solaris9 os.  
my questions are:

1. i guess i need either j2ee1.3 or 1.4 to compile my application to run in jboss, 
right?

2. Sun does not support solaris-x86 version j2ee1.3, and j2ee1.4 comes with Sun's AS, 
what is the way work around?

3. the final production machine is solaris-x86. if i use w2k as my development 
platform, when pushing to production, will i have problems?

thanx

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - define the groups

2004-08-31 Thread carlosgyn
Where I can define the groups that it can have access my EJBs, therefore when I to 
declare in ejb-jar.xml.


  |   
  |  
  |Sibnc
  |  
  |  
  | 
  |Sibnc
  |RelClientePessoaFisicaBean
  |*
  | 
  | 
  | 
  | 

I am using jboss-3.2.3, and for some reason when I make deploy of ejb it appears the 
following error:

18:38:41,759 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp29281sibnc.ear-contents/sibnc.jar
org.jboss.deployment.DeploymentException: Error in ejb-jar.xml, in method-permission: 
An unchecked element or one or more role-name elements must be specified in 
method-permission

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - How to create a periodical task using the Timer/Scheduler

2004-08-31 Thread Ido Kobelkowsky
Hello all,

I am a JBoss newbie, I want to create a task running every few hours.
How can I do it using the Timer/Scheduler ? Any tutorial or example
recommended.

I am using Jboss 4.0.0RC1


Thanks,

Ido Kobelkowsky



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Local Session Bean Failover

2004-08-31 Thread jcr
For failover at the web layer I created an object I call SessionCache, which I store 
in the use session.

public class SessionCache implements Serializable {
private transient Hashtable sessBeans = new Hashtable();
private Hashtable sessHandles = new Hashtable();

public SessionBean getSessionBean (String name) {
SessionBean sb = null;
Handle hh = null;
if ((sb = (SessionBean )sessBeans.get (name)) == null) {
if ((hh = (Handle )sessHandles.get(name)) != null) {
sb = hh.getEJBObject();
} else {
// make session bean here
}
}
return sb;
} 
}

Hope this helps, 

Jared


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: HELP: Installed JBoss, started it up, but can't hit ser

2004-08-31 Thread darranl
Connecting to 'http://localhost:8080/' only works for 3.2.5 or later (Might work for 
3.2.4 but I haven't used that version).

Have you set the JAVA_HOME environment variable?  

What is the version of your JDK?  Are you using a JDK and not a JRE?

What is your JBoss version?

Post all errors and stack traces.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Error compiling EJB-QL in crime portal example from JBOSS do

2004-08-31 Thread alt_amit
I have deployed on jboss 3.2.5 the crime portal example (available from the JBOSS docs 
subscription) - I am getting following error:

2003-08-31 14:15:21,751 ERROR [org.jboss.ejb.EntityContainer] Starting failed jb
oss.j2ee:jndiName=JBossUtilAutoNumber,service=EJB^M
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement ''; -
 nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM not fou
nd)^M
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.j
ava:52)^M
at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JD
BCCommandFactory.java:60)^M


2003-08-31 14:15:23,266 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner
] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.j2ee:jndiName=JBossUtilAutoNumber,service=EJB
 state: FAILED
 I Depend On:
 Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error
compiling EJB-QL statement ''; - nested throwable: (org.jboss.ejb.plugins.cmp.ej
bql.ParseException: FROM not found)
Cause: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statemen
t ''; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM
not found)
ObjectName: jboss.j2ee:jndiName=JBossUtilAutoNumber,plugin=pool,service=EJB
 state: CREATED
 I Depend On:
 Depends On Me:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.j2ee:jndiName=JBossUtilAutoNumber,plugin=pool,service=EJB
 state: CREATED
 I Depend On:
 Depends On Me:
ObjectName: jboss.j2ee:jndiName=JBossUtilAutoNumber,service=EJB
 state: FAILED
 I Depend On:
 Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error
compiling EJB-QL statement ''; - nested throwable: (org.jboss.ejb.plugins.cmp.ej
bql.ParseException: FROM not found)
Cause: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statemen
t ''; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: FROM
not found)
^M

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: HELP: Installed JBoss, started it up, but can't hit ser

2004-08-31 Thread tony1929
If your port is set to 8080, when you start it http://localhost:8080/

should load the JBoss startup page. 

What message are you getting on your page.
Also check in your log files and on the Command Prompt you may be getting an error 
message that JBoss can not bind to that port because another application is using it.

On my PC Oracle is using port 8080 so I did a search of the JBoss config files and 
changed 8080 to another port in my case 9000.

I hope this helps.

Tony

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - How to Force new HttpSession in JAAS/JBoss-Tomcat/FormAuth

2004-08-31 Thread sulfur
Hi I'm using the typical JAAS + Form-based Login setup.

Is there any way to force invalidation of the current HttpSession & create a new one 
as part of the login process?  This way:

1) Browser with expired session id (eg if user left browser at login page for >30min) 
will not have to login twice (because JAAS will reject the 1st attempt)

2) If user is silly enough to open 2 windows and login twice (either as same userid or 
different userid), I can invalidate the 1st window.

Right now since JAAS "j_security_check" takes over on form submit, I can't force a new 
session like I would normally thru a LoginServlet or Struts LoginAction.

Thanks a bunch!

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Hello World

2004-08-31 Thread osataken
you have to create build.xml and xdoclet-build.xml to build and packaging .ear .war or 
may be deploy.


to run these files(ant script) in Eclipse select run>>external tools (config a little 
at here)


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Hardware Requirements

2004-08-31 Thread efrainpinto
Hi,

Do you know any profiling tool i could run?

I know about a java option  to get some profile info.

Is this good enough?

THX

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Can Jboss 3.2.3 coexist with 3.2.5 on the same server?

2004-08-31 Thread gshifrin
I've been running JBoss 3.2.5 and installed JBoss 3.2.3/Nukes on the same server. I 
changed the port numbers I could find to avoid conflicts.

Everything appears to start okay without errors.

Anything I should watch out for?

Any chance of Nukes becoming release independent (or at least coming out on a similar 
schedule with JBoss releases)?


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JDBC auto-reconnect?

2004-08-31 Thread newadmin
I am running JBoss 3.2.5 and oracle 9.2.0.4.0  on solaris 8.  If the database crashes, 
I have to bounce the apps to get them to reconnect to the database.  How can I 
configure JBoss so that it will auto-reconnect to the database after the database 
comes back up?  Any suggestions are welcome.

Thanks

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Message redelivery failing for BMT MDBs

2004-08-31 Thread tmjkeeney
I am running BMT MDBs under JBoss 3.2.3 using the JBossMQ Provider and have noticed a 
problem with BMT MDBs failing to redeliver JMS messages when the MDB throws a system 
exception, a condition that violates the EJB spec section 18.3.3.  I have created a 
patch for the problem and tested it with both BMT and CMT MDBs (After patching the 
code, any system exception will force redelivery until max retries, then the message 
goes to the DLQ).  Before I apply this patch to my production codebase, I wanted to 
confirm with the JBoss developers if this is an appropriate solution that will not 
impact other parts of the system.

I tracked the message redelivery failure for BMT MDBs to the exception handler for the 
code block beginning on line 1100 in the JMSContainerInvoker.onMessage() method:


  | 
  |  try
  |  {
  | Transaction tx = tm.getTransaction();
  | 
  | // DLQHandling
  | if (useDLQ && // Is Dead Letter Queue used at all
  |message.getJMSRedelivered() && // Was message resent
  |dlqHandler.handleRedeliveredMessage(message, tx)) //Did the DLQ 
handler take care of the message
  | {
  |// Message will be placed on Dead Letter Queue,
  |// if redelivered to many times
  |return;
  | }
  | 
  | invoker.invoke(id,// Object id - where used?
  |ON_MESSAGE,// Method to invoke
  |new Object[]{message}, // argument
  |tx,// Transaction
  |null,  // Principal 
  
  |null); // Cred
  |
  |  }
  |  catch (Exception e)
  |  {
  | log.error("Exception in JMSCI message listener", e);
  |  }
  |  
  | 

If you modify the exception handler to rethrow any system exceptions, the 
StdServerSession can set the transaction for rollback.  So here's the patch:


  | 
  |  try
  |  {
  | Transaction tx = tm.getTransaction();
  | 
  | // DLQHandling
  | if (useDLQ && // Is Dead Letter Queue used at all
  |message.getJMSRedelivered() && // Was message resent
  |dlqHandler.handleRedeliveredMessage(message, tx)) //Did the DLQ 
handler take care of the message
  | {
  |// Message will be placed on Dead Letter Queue,
  |// if redelivered to many times
  |return;
  | }
  | 
  | invoker.invoke(id,// Object id - where used?
  |ON_MESSAGE,// Method to invoke
  |new Object[]{message}, // argument
  |tx,// Transaction
  |null,  // Principal 
  
  |null); // Cred
  |
  |  }
  |  catch (Exception e)
  |  {
  | log.error("Exception in JMSCI message listener", e);
  | 
  | >// rethrow system exceptions as an EJBException
  | >if (e instanceof RuntimeException || e instanceof RemoteException) {
  | >  throw new EJBException("Encountered system exception.", e);
  | >}
  |  }
  | 
  | 

As said above, this patch works fine for CMT and BMT MDBs.  The only problem I see is 
that CMT MDBs will setRollbackOnly twice: once in the AbstractInterceptor.invokeNext() 
method, line 105, and once in the StdServerSession.onMessage(), line 275.  This could 
be fixed by wrapping line 275 in StdServerSession with a check to see if the 
transaction Status is already STATUS_MARKED_ROLLBACK.  Correct?

Any comments on the problem/solution would be much appreciated!

Thanks in advance.
--Tom

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t

2004-08-31 Thread hlship
BTW ... it's for Javassist 2.6.

I have a solution that involves sharing the ClassPool. It seems to work.  It does 
involve invoking the appendClassPath() method, which is not synchronized (I created a 
subclass of ClassPool that synchronized the method).

I'm somewhat concerned about what will happen in a complex classloader environment 
when there are conflicts between some of the classes.  Testing will tell.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Copying / Moving fabricated CtClass from one ClassPool to an

2004-08-31 Thread hlship
Here's my situation:

I have two ClassPool instances, let's call them A and B.

I create a new CtClass in ClassPool A. It has an arbitrary name, generated at runtime. 
  I succesfully create my CtClass, and with the help of a custom class loader, 
instantiate an instance of the actual Class.  Let's call that C1.

Later, I want to create a different Class, Class C2, using ClassPool B.

C2 has methods and fields of type C1.

I get Javassist errors at this point:

Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to add constructor 
to class $ServicePropertyProxy_feb5c6c94d_43: [source error] 
javassist.NotFoundException: $SingletonProxy_feb5c6c871_37

That's because C1 ($SingletonProxy...) is unknown to the ClassPool B, which is trying 
to create Class C2 ($ServicePropertyProxy...).

What I'm struggling with is a way to "tell" ClassPool B about a class fabrictaed using 
ClassPool A.

I'd love some feedback; in the meantime I'm pursuing my own approach, where I have a 
subclass of ClassPool that I can "inject" with my CtClass instances from foriegn 
ClassPools.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Advanced Documentation] - Re: Informatons about JBoss

2004-08-31 Thread digdon
How's your thesis coming along?  I'm currently in the middle of figuring out these 
exact same details and I'd be very interested to know what you've come up with.


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Error while deploying EJB on Jboss

2004-08-31 Thread yogeshgpt
Hi,

The full error description is :

--
ERROR! Shared library ioser12 could not be found.
Excpetion 1: Can't find SerialContextProvider
---

The Client is a simple class with the main function. Inside the main function creating 
a object for InitialContext to lookup the JNDI name. 

The error occured on the very first line:

InitialContext ic=new InitialContext();


I hope this will help you to resolve this.





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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - HELP: Installed JBoss, started it up, but can't hit server

2004-08-31 Thread jinglejangle
Hello,

I am a complete newb with JBoss (and come to think of it, most things). Have installed 
it (on an NT machine currently) and used 'run' from the command line to start it up. 
It gets to this point and stops:

11:16:30,806 INFO  [JkMain] Jk running ID=0 time=0/47  config=null

I read somewhere that this means it's started ok. However neither of the following 
urls (gathered from various tutorials) work:

http://localhost:8080/jmx-console/
http://localhost
http://localhost:8080
http://localhost:8082

What am I doing wrong?

Many thanks in advance  

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Bad Performance on DB2/400 and Jboss 3.2

2004-08-31 Thread fbiaggi
Hi,
use the latest JT/Open and try to set the following parms to see if it is better:

jdbc:as400://mySys;block size=128;extended 
dynamic=true;package=JBOSS;package cache=true;package library=QGPL


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Auto-logon / SSO/ ActiveDirectory / IE Windows Integrated Au

2004-08-31 Thread zparticle
Background:

We are developing an internal portal that uses ActiveDirectory to authenticate and 
authorize the users. It is struts/tiles based. I have written a LoginModule for the AD 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=53499. I want the users to be 
logged into the portal automatically.

Problem:

When you turn on Windows Integrated Authentication in IE the windows user name can be 
retreived with request.getRemoteUser() as long as you are not hitting a secured URI. I 
created a login jsp that uses java script to autopost to j_security_check however it 
appears that when the server sends the browser to the login page the user name is no 
longer in the request. Is there a way around this?

I don't need the password just the user name.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Hello World" JBoss.NET Web service under Eclipse

2004-08-31 Thread masticol
Hi, all,

Can someone point me to a "Hello World" example of a Web service for Jboss.net built 
under Eclipse?

I've installed xdoclet-module-jboss-net.jar in the right directory under Eclipse, and 
the tags are present, but I haven't been able to fathom how to generate 
web-service.xml and stick it into the .ear file under Eclipse (as outlined in
http://www.nsdev.org/jboss/stories/jboss-net.html ).

A complete working eg would be GREATLY appreciated.

Thanks,
- Steve.


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Creating Custom Authenticators

2004-08-31 Thread jofree
I posted this in  JBoss -> JBoss Development -> Tomcat and realized that it might 
should go here instead.

We have written a custom [Form] authenticator, which is basically the same as the 
default FormAuthenticator, except that it redirects to a URL outside of the web 
context. (After looking at the code in the FormAuthenticator it appears that the web 
context path is always prepended to the login URL.) It also creates our custom 
encrypted Single Sign On (SSO) cookie. 

So the login page does the authentication and creates an ecrypted cookie. We then use 
a custom Valve to decrypt the cookie and tie into the existing JBoss/Tomcat SSO code. 

So here are my questions: 

1) Is there an easy way to register a custom authenticator (maybe like the Valves in 
the server.xml file), currently we had to change the Authenticators.properties file(s) 
inside of the catalina.jar and the tomcat50-service.jar. I don't like having to 
re-package the JAR files to achieve this. 

2) Is there a more prefered way to handle the redirection to the centralized login 
page? I don't want to have to package a login.jsp in each of our web applications. If 
so, any suggestions as to where to create our SSO cookie? 

Thanks, 



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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - OReilly cos.jar - NoClassDefFoundError

2004-08-31 Thread dsinc
Im new to JBoss, and I'm pulling my hair out trying to get OReilly's cos.jar File 
Upload classes to work.  I'm compiling using Ant, and it compiles fine (no errors).  
but when i call my servlet, i get the following runtime error: 

java.lang.NoClassDefFoundError: com/oreilly/servlet/MultipartWrapper

I guess JBoss can't find the cos.jar file, but i have no idea why.  cos.jar is added 
in the ear file (in the war file in WEB-INF/lib).  On my Mac OSX server, cos.jar is 
also located in /Library/Java/Extensions/ and /Library/JBoss/3.2/server/default/lib/ . 
 I expect that one of my xml files needs a reference to tell JBoss to look in war 
/WEB-INF/lib.  Whats the secret to getting JBoss to see 3rd party jars?  I can post my 
xml files if needed.
Any help is greatly appreciated.

Davy

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Local Session Bean Failover

2004-08-31 Thread daorriss
Interesting... I'm actually having problems figuring out how to handle failover in 
JBoss with *remote* access to SFSBs.  Can you point me to a code example somewhere so 
I can try and fix *this* part?  Perhaps we can then put our heads together to solve 
the local interface access problem (tho I think I might already know what your problem 
is - just not sure).

Hope to hear from you soon.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Mapping Question

2004-08-31 Thread jim_stoll
i have the following in my web.xml


  | 
Logon/servlet/*.Logon
  | 
Logon/servlet/Logon
  | 
Logon*.Logon
  | 
  | 
  | 
  | 
  | FrontController
  | /servlet/*
  | 
  | 

In my HTML i have 


  | action="/jlwi/servlet/com.jlwi.utils.Logon"
  | 


my action keeps getting mapped to the default < FrontController > 
what am i doing wrong ?

Thanks

Jim



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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - How does mapping work ??

2004-08-31 Thread jim_stoll
i have the following in my web.xml


  | 
Logon/servlet/*.Logon
  | 
Logon/servlet/Logon
  | 
Logon*.Logon
  | 
  | 
  | 
  | 
  | FrontController
  |   /servlet/*
  | 
  | 

Unfortunately, though even my 

  | action="/jlwi/servlet/mil.jlwi.utils.Logon"
  | 
is getting mapped to the default < Front Controller> what am i doing wrong??

Thanks in advance for your help

jim



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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - How to Config WebService that return Custom Object???

2004-08-31 Thread osataken
i have to create webservice that return my custom object with JBoss.NET..
does it need specfic configuration???
or where i can get tutorial about it???


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Secure the Invokers

2004-08-31 Thread vijaygrk
Can you share the code

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - wsdl:arrayType=

2004-08-31 Thread vbatista
Hi!
   I am having problems exporting one session bean as a web service (JBOSS-NET) with 
jboss 3.2.1. The WSDL contains the block below, which crashes the WSDL2Java. If I 
deploy my ear with jboss 3.2.3 I don't have the block below on the WSDL and everything 
works fine. The problem is due to Exceptions in the throws clause of the exported 
methods. If I remove the throws from my methods, everything works fine on both jboss 
3.2.1 and 3.2.3.

  http://127.0.0.1:8080/jboss-net/services/MyWebService"; 
xmlns="http://www.w3.org/2001/XMLSchema";> 
  |   http://schemas.xmlsoap.org/soap/encoding/"; /> 
  |
  |  
  |  
  |
  |  
  |  
  | 
  |   



I really need to deploy my ear on jboss 3.2.1.
Any help would be appreciated.
Thanks in advance,
   Victor Batista

PS: The exception I get when I run WSDL2Java
   [java] java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}null is 
referenced but not defined.
[java]  at 
org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:484)
[java]  at 
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:384)
[java]  at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:371)
[java]  at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:358)
[java]  at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:243)
[java]  at java.lang.Thread.run(Thread.java:534)

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - db updates are committed despite NotSupported transaction ty

2004-08-31 Thread jobor
Hello,
I'm using JBoss 3.2.3 and 3.2.5 with stateless session beans doing JDBC things to an 
Oracle 8.1.7 db. Things are working fine but I discovered by accident that an update 
to the database is committed in a method with a NotSupported transaction type set. It 
also happens with the type Never. It looks as if there is no transaction context the 
method commits every database update. Even if you throw an EJBException from the 
method the database updates are committed. I know I should not perform database 
updates in a method with a NotSupported transaction type.
Is this a normal behaviour? I'm a thinking wrong?
My thought was that a method without a transaction context should not perform any 
commit.

Someone any idea about this?

Many thanks,
Johan

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss Unexpected Shutdown

2004-08-31 Thread gopikrishnap
Hello, 
We have an appliation using JBoss 3.2.3 as Application Server on SOLARIS OS. 

Sometimes JBoss crashes(shutdown) suddenly without any warnings/errors. This happend 3 
times one day. We were not able to reproduce the problem consistently. But there is a 
problem. 

Can anyone help me understand the cause of this problem. 

Thanks 
-GK 


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - error of deploy

2004-08-31 Thread carlosgyn
It sees the code below:

  | http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  |   
  |   Sibnc
  |   
  | 
  |   CustomersBean
  |   ejb.CustomersHome
  |   ejb.Customers
  |   ejb.CustomersBean
  |   Stateless
  |   Container
  | 
  |   
  |
  |   
  | everyone 
  |   
  |   
  | everyone 
  | CustomersBean 
  | * 
  |   
  |   
  |CustomersBean 
  |* 
  |Required 
  |  
  |
  | 
  | 
  | Why ?
  | 
  | 10:47:28,217 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss-3.2.3/server/default/deploy/sibnc.ear
  | org.jboss.deployment.DeploymentException: Error in ejb-jar.xml, in 
method-permission: An unchecked element or one or more role-name elements must be 
specified in method-permission.
  |  
  | Somebody can help.
  | 
  | 
  | 
  | 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: adaptor/service access a secure ejb

2004-08-31 Thread Wolff
Hallo Scott Stark,
thanks for your reply, if have read the faq, but this solves not my problem. I think i 
have problem in under standing.
I have tested some sample code in the following steps.
( I used eclipse with jboss-3.2.4 my package is )
1. I haved establish a security domain in file jboss-login.xml


  



2. I have deployed the EchoBean from the Book 
(my echo method has no arg and print out the echo if the method would be called)
if have deployed user.propperties and roles.properties with the 
username=password and username=userrole
and in the meta-inf directory i have edit the files jboss.xml and ejb-jar.xml with the 
entry
java:/jaas/ServiceSecurity
3. I have edit the auth.conf in the client directory
ServiceSecurity {
org.jboss.security.ClientLoginModule  required;
};
4. I have written an example client to call the secured method echo.
this client works i have test it with correct and incorrect password etc. 

  | package ServiceSecurity;
  | 
  | import java.rmi.RemoteException;
  | 
  | import javax.ejb.CreateException;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | import javax.security.auth.login.LoginContext;
  | import javax.security.auth.login.LoginException;
  | 
  | import org.jboss.security.auth.callback.UsernamePasswordHandler;
  | 
  | public class TestClientAccess {
  | 
  | public static void main(String[] args) throws RemoteException, CreateException, 
LoginException, NamingException {   System.out.println("testclient started");  
 
  | System.setProperty("java.security.auth.login.config",
  | "d:/jboss-3.2.4/client/auth.conf"); 
  | UsernamePasswordHandler handler =
  | new UsernamePasswordHandler("username",new String("password").toCharArray());
  | LoginContext lc = new LoginContext("ServiceSecurity", handler); 
  | try
  | {
  | lc.login();System.out.println("login successfull");}
  | catch(LoginException le){ System.out.println("login failed");
  | le.printStackTrace();
  | }
  | 
  | // call ejb method
  | InitialContext ctx = new InitialContext();
  | Object ref = ctx.lookup("Echo");
  | EchoHome home = (EchoHome) ref; 
  | Echo echo = home.create();  
  | System.out.println("echo created");
  | echo.echo();
  | System.out.println("testclient end");
  | }
  | }
  | 
This client works 
5. Now I have written my own Service Adaptor and deploy them in Jboss.
The Service Adaptor listen on a socket for incomming transmission. The contents of the 
transmission is a username and the password for the login
context of the EchoBean.


  | import javax.naming.InitialContext;
  | import javax.security.auth.login.LoginContext;
  | import javax.security.auth.login.LoginException;
  | import org.jboss.security.auth.callback.UsernamePasswordHandler;
  | import org.jboss.system.ServiceMBeanSupport;
  | import java.net.*;
  | import java.io.InputStreamReader;
  | import java.io.PrintWriter;
  | import java.io.BufferedReader;
  | 
  | import ServiceSecurity.Echo;
  | import ServiceSecurity.EchoHome;
  | 
  | public class ServiceAdaptor extends ServiceMBeanSupport implements 
ServiceAdaptorMBean, Runnable {
  | private boolean stopped = false;
  | private int Status = 0;
  | private int port   = 9050;
  | private ServerSocket ss = null;
  | private BufferedReader socket_in = null;
  | private PrintWritersocket_out = null;
  | public ServiceAdaptor() {
  | }
  | public void run() {
  | try {
  | System.out.println("open socket at port " + port);
  | ss = new ServerSocket(port);
  | while (!stopped) {
  | Socket client = ss.accept();
  | System.out.println("client accepted");
  |  this.socket_in = new BufferedReader(new InputStreamReader(client
  | .getInputStream()));
  | String username = socket_in.readLine();
  | System.out.println(username);
  | String password = socket_in.readLine();
  | System.out.println(password);
  | UsernamePasswordHandler handler = new 
UsernamePasswordHandler(username,password.toCharArray());
  | System.setProperty("java.security.auth.login.config",
  | "d:/jboss-3.2.4/client/auth.conf"); 
  | LoginContext lc = new LoginContext("ServiceSecurity", handler);
  | try
  | {
  | lc.login();
  | System.out.println("login successfull");
  | }
  | catch(LoginException le)
  | {
  | System.out.println("login failed");
  | le.printStackTrace();
  | }
  | // call ejb method
  | InitialContext ctx = new InitialContext();  
  | Object ref = ctx.lookup("Echo");
  | EchoHome home = (EchoHome) ref;
  | Echo echo = home.create();
  | System.out.println("echo created");
  | echo.echo();
  | this.socket_out = new PrintWriter(client.getOutputStream());
  | socket_out.println("ok");   
  | socket_out.flush();
  |

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: jboss banking sample

2004-08-31 Thread Ragnhild
"skouthon" wrote : "Ragnhild" wrote : Did you find the solution? I am having the same 
problem.
  | 
  | Somebody suggested to use v3.2.3 so...

Thnx a lot! I'll try that!

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Recreate Log Files

2004-08-31 Thread ssanjeev
Here is what we are trying to achieve:
1. On a monthly basis we run an archive script that tars/compresses the log files 
etc... and removes the log files from the directory where it originally resides, 
making room for the newer logs.
2. We have the log rotation size set too, size is totally under control.
The problem is when we remove the logs files that JBoss is writing, when JBoss is 
running, they never get recreated.  
Is there anyway to make JBoss recreate these logs?
Hope this gives a better picture...
Thanks

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Problem with deployment of non-static *-ds.xml

2004-08-31 Thread r_raman
Thanks for your reply janilsal.

The reason for following this approach is following:

1. We can't have a static ds.xml file since the database parameters are different 
depending upon the configuration provided at the server startup (we have multiple 
instances of jbosss running for different services)

2. We can't afford to have an external tomcat server generating this xml since anyone 
can connect to that server using http and get the password information. In fact, this 
was another reason we preferred custom protocol over http as our custom protocol is 
not accessible to someone outside the jvm.

We see that -ds.xml file is finally accessible to jboss after tomcat service has come 
up, the problem is that this does not get deployed as mentioned in the previous mail. 

It's also not clear to me why I get the exception " [SARDeployer] Failed to add 
deployable jar: file:/tmp/deploy/tmp5314" only while using my custom 
protocol handler, and not while using http.

Is there a way to spcify that the url containing -ds.xml is deployed only after tomcat 
service has come up?

Thanks,
Raman


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Error while deploying EJB on Jboss

2004-08-31 Thread darranl
What is the full error and stack trace on the client?  How is the client trying to 
interact with the EJB?  At what point does the failure occur, connecting to JNDI, 
calling Create, calling a business method or calling remove?



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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to listen for remote notifications?

2004-08-31 Thread peterb
Sorry to bring up this old thread, but I have the same questions and the links don't 
work anymore. How does one setup a remote notification listener? I can't seem to find 
any help in the JBoss docs and the information on the wiki is for listener MBeans 
deployed on the server. 

What I tried already (on the client) is to invoke the addNotificationListener method 
on the RMIAdaptor with a implementation of an RMINotificationtListener, however I keep 
getting a java.io.NotSerializableException on this:

  | public class MyRMIListener implements RMINotificationListener {
  | public void handleNotification(javax.management.Notification notification, 
Object obj) 
  | throws java.rmi.RemoteException {
  | System.out.println("\nReceived notification: " + notification);  
  | }
  | }
  | 
So I guess it's a little more complicated than that ...

regards and thanks in advance,
Peter

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Ant scripts

2004-08-31 Thread darranl
Follow through the getting started guide.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Weird error with jboss, Hypersonic and Flavormap.propert

2004-08-31 Thread darranl
What is your JAVA_HOME set to?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-08-31 Thread darranl
Is is part of your JDK, how are you referencing it in code and what error are you 
getting?

Also delete the J2EE 1.4 SDK, that is just going to confuse things, stick to the jars 
in {jboss.dir}/client

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2004-08-31 Thread jactor
I am using the java version "1.4.2_04" but I still can't find it.

I also have downloaded Java[TM] 2 Platform, Enterprise Edition 1.4 SDK Update 1 and 
thought it was among this somewhere. But I can't find it...

I thought I was supposed to find it in j2ee.jar...

Do anyone have a clue where it is? An archive where i could search or something...

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Hardware Requirements

2004-08-31 Thread darranl
Have you performed any profiling yet to work out exactly what your problem is, picking 
a piece of hardware to upgrade would just be a guess.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Recreate Log Files

2004-08-31 Thread darranl
What are you trying to do?  Why don't you configure Log4J to truncate the log files 
after they reach a maximum size, that way you will be able to control the sizes.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Compound PK containing FK

2004-08-31 Thread amayingenta
Hi, I know there's been a lot of posts about this before, but I wanted to check that I 
was doing this right, and I've not been able to find any official documentation...

I've got a series of entities with attached properties - e.g. identity and 
identityproperty. The main entity has an id, and the property table has a foreign key 
(entityid). 

In our original CMP implementation done using JBoss 3.0.0 we weren't able to use the 
foreign key as part of the primary key on the property table (because that wasn't 
supported at the time) and had an extra propertyid column as the PK. I've been trying 
to convert this to having a primary key consisting of the entityid and the name of the 
property.

Previously the foreign key column hadn't been declared in my property bean because it 
was set by the CMR stuff, but I added it so that it could be part of the PK. Here's 
what I ended up with as the implementation for the property bean:


  | public abstract class PropertyBean extends AbstractEntity
  | {
  |/**
  | * Get Id of related Entity (e.g. Identity).
  | * Part of Primary Key
  | * @ejb:interface-method view-type="local"
  | * @ejb:persistent-field
  | * @ejb:pk-field
  | * @jboss:column-name name="entityid"
  | */
  |public abstract String getEntityId();
  | 
  |/**
  | * @ejb:interface-method view-type="local"
  | */
  |public abstract void setEntityId(String entityId);
  |
  |/**
  | * CMP get method for Name attribute.
  | * @ejb:interface-method view-type="local"
  | * @ejb:persistent-field
  | * @ejb:pk-field
  | * @jboss:column-name name="name"
  | */
  |public abstract String getName();
  | 
  |/**
  | * CMP set method for Name attribute.
  | * @ejb:transaction type="Mandatory"
  | */
  |public abstract void setName(String name);
  |
  |/**
  | * CMP get method for Value attribute.
  | * @ejb:interface-method view-type="local"
  | * @ejb:persistent-field
  | * @jboss:column-name name="value"
  | */
  |public abstract String getValue();
  | 
  |/**
  | * CMP set method for Value attribute.
  | * @ejb:interface-method view-type="local"
  | * @ejb:transaction type="Mandatory"
  | */
  |public abstract void setValue(String value);
  |
  |/**
  | * Create method for Entity.
  | * @ejb:create-method view-type="local"
  | * @ejb:transaction type="Mandatory"
  | */
  |public PropertyPK ejbCreate(String entityId, String name, String value) throws 
javax.ejb.CreateException
  |{
  |   setEntityId(entityId);
  |   setName(name);
  |   setValue(value);
  |   return null;
  |}
  | 
  |public void ejbPostCreate(String entityId, String name, String value)
  |{
  |}
  | 

I started out without the entityId in ejbCreate() because I was expecting it to be set 
when the property was added to the parent's CMR collection, but this gave me database 
errors (the not null constraint on this part of the PK). I tried running with 
true in the container 
configuration, but the entityId was still null in ejbPostCreate (or at least in then 
PropertyPK I got from the EntityContext).

So I ended up adding entityId to ejbCreate and setting it. This works, but I'm not 
sure whether it's the correct thing to do, because in theory I could end up adding it 
to the CMR collection of a different parent after creating it, and then I don't know 
what would happen to entityId.

I'd appreciate it if I could have some feedback about whether I'm doing the right or 
wrong thing, and if I'm doing this wrong, could someone please point me in the right 
direction.

Thanks,
Andrew

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Any input on JBoss interceptors ?

2004-08-31 Thread darranl
Have you had a look at the statistics available from the web console?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - where does hibernate show_sql output go?

2004-08-31 Thread btarbox
I'm using hibernate and have set show_sql in my hibernate.properties (and see it set 
correctly in the jmx-console) but do not see any output.

The rest of my app is running fine...I'd just like to see the hibernate sqlI don't 
see it in server.log and don't know any place else to look.  Thanks.

Brian Tarbox

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JNI and System.loadLibrary

2004-08-31 Thread bwallis42
I have come across what looks like a problem with classloading and JNI.

I am using oracle streams, JMS and XML. The oracle/JMS to JBoss interface I'm using is 
the Oracle AQ Patch 9i from the patches list 
(http://sourceforge.net/tracker/index.php?func=detail&aid=912173&group_id=22866&atid=376687)
by p0six (thanks!)

Now, the problem seems to be that two of the oracle jar files have classes with native 
methods (aqapi.jar and xdb.jar) but the implementations of these are in one shared 
library (libclntsh.so). If the two jar files are not loaded by the same classloader 
you seem to get problems with the java native to C symbol mapping. I think that the 
mapping is setup by the ClassLoader.loadLibrary call and is local to the classloader. 
So, if one jar in one classloader causes the load of the library any use of a class 
with native methods from the other jar fails with a LinkageError and the name of the 
native method.

My current workaround is to combine the oracle jars together into a single jar file 
but this is not a very pretty solution. Another workaround would be to ensure that all 
jars that load JNI implementations from a single shared library are loaded by the one 
class loader. Of course you have to know which jars will reference which libraries.

Have I understood how the classloaders and JNI libs are related and is there a way of 
handling this cleanly without an intimate understanding of which jars are using which 
shared libraries?

Any suggestions welcome.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Error while deploying EJB on Jboss

2004-08-31 Thread yogeshgpt
Hi

I am deploying EJB on the Jboss. When I try to access the EJB through a desktop 
client, i get the following error:

"Error! Shared library ioser12 could not found."

I am using JBoss3.2.5 with JDK1.4.2 on Windows 2000.

Any solution for it?



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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Tomcat configuration

2004-08-31 Thread pecci
I have to install a web application that requires to create two users in the file 
tomcat-users.xml, in embedded Tomcat Jboss there isn't this file, how can I create 
users in Tomcat? Can anyone help me? Thank you in advance. Leda

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - CGI ON J-Boss

2004-08-31 Thread pecci
I have got a war application with some cgi written in perl I don't known how to 
perform cgi request on jboss, is it possible to run cgi in jboss, trought  embedded 
Tomcat web-container? Anyone have a suggest for me? Thank you Leda

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: how to secure passwords in login-config.xml ?

2004-08-31 Thread AndrejsOpsis
Everything works fine with config  ( may be it bacause of CASE for keys username, 
password, and  jboss.jca:service=TxCM not XaTxCM   I don't know I absolute newbie 
sorry)  :


  |
  |   
  |sysdba
  |667f11fbdfef90b6d7b145018f031a36
  |jboss.jca:service=TxCM,name=IBAuthDS1
  |true
  |  
  |
  | 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBOSS IPAddress Problem

2004-08-31 Thread darranl
Even if you are using DHCP you may need to add the IP address and hostname of the 
machine to /etc/hosts

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - lib directory jars not available

2004-08-31 Thread erezharari
i'm using jboss with a few web application wars.
i have some of my jars under jboss/server/default/lib
the problem is that code running from my web application ServletContextListener does 
not 'see' the jars and throws a java.lang.NoClassDefFoundError error, although the 
class is in one of my jars and can be accessed from code called form requests..

it's as if the jars in jboss/server/default/lib are not available when applications 
are being loaded and listeners are called..

anyone?

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: how to build a standalone nuke core?

2004-08-31 Thread theute

(1) go in NUKES/nukes and type: sh build.sh deploy-all
(2) go in NUES/ANYMODULE and type: sh build.sh deploy-all

PS: do not post the same message in both forums

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Improper Shutdown in cluster

2004-08-31 Thread ameyas7
hi folks

we are running 2 jboss in cluster 
there is some problem when we run the shut down script
say there are two nodes X , Y in cluster
now when i run "shutdown.bat -S"  from node X, it will shut down properly 
but if i run the same thing again from the same node (X) then it will also shut down 
the Y server
how du we stop this behaviour ?

we are using jboss-3.2.2

amey

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: jboss banking sample

2004-08-31 Thread skouthon
"Ragnhild" wrote : Did you find the solution? I am having the same problem.

Somebody suggested to use v3.2.3 so...

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: the relation between template and module

2004-08-31 Thread theute
Q1) The available themes as there are so few are all in the core for now:
 /nukes/src/bin/nukes-lib-jar/org/jboss/nukes/core/themes
There are declared in the jboss-service.xml

Q2) Between core and common, look for theme/template named classes

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: jboss banking sample

2004-08-31 Thread skouthon
"xtidylan" wrote : I fixed it all by using version 3.2.3 ...
  | 
  | Greetz.

OK let me try that !
Thanks 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: setting up nukes in Jboss/Eclipse IDE

2004-08-31 Thread theute
My walkthrough is about setting up the classpath. If you are trying to launch the 
build script from Eclipse it's a different story. 

I personally launch ant outside eclipse but it does work in Eclipse with my JBOSS_HOME 
defined in my .zshrc (i start Eclipse from a zsh shell)

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: jboss banking sample

2004-08-31 Thread xtidylan
I fixed it all by using version 3.2.3 ...

Greetz.

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: What classloader for $JBOSS_HOME//default/l

2004-08-31 Thread bwallis42
Oops, topic was mean't to be
What classloader for $JBOSS_HOME//lib


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - What classloader for $JBOSS_HOME//default/lib

2004-08-31 Thread bwallis42
I am working through a class loader issue and was wanting to change the value of 
jboss.server.lib.url to point to my own server lib directory that is not under the 
server/ directory.

It doesn't seem to work, I still seem to be using the lib directory under the 
server/ directory. I tried tracing through the code and have the 
following issues/questions
- the value in the jboss.server.lib.url property doesn't seem to be used, is it and 
where?
- I cannot find which classloader is used for the jars in the server lib dir.

Running 3.2.3 under linux (2.6.7/glibc2.3.3) and jdk 1.4.2_05

thanks.


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Trying to install an already registered mbean ?

2004-08-31 Thread brendan
The above is possible.

But it happened to me in a slightly different way.
The StateManager service was defined in 2 files:


deploy/jms/jbossmq-service.xml

and in:

deploy/jms/file-state-service.xml

The latter was completely redundant, so removing the file solved the problem. 

cheers,
Brendan



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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - SMTP and log4j question

2004-08-31 Thread greiff
I have configured a SMTP appender to get an email in case of an JBoss error. How can I 
reduce the number of emails send (currently sending email for each line of an error).
Here is my configuration:
  







  

  

any help would be appreciated
Torsten

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: New timeout blocking call

2004-08-31 Thread pants
We just saw the same problem occur this week, on the same server at the same time. We 
are running 44 nodes so its likely that the problem is environmental i.e O/S, 
hardware, etc.

Anyway, thanks for your time. Will upgrade soon nevertheless.

Re: your advice...you're preaching to the converted :)

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - security constraint problem

2004-08-31 Thread roberto
i have a problem with security constraint...

in the web-xml i have:

  

  all
  *.jsp


  everyone

  
  

  allAdmin
  /WebLogHelper.jsp


  sysadm

  

what that i want is that webloghelper.jsp is usable only from sysadm role and all the 
other from everyone role.

in the roles.properties i have...


USERA=everyone,sysadm
USERB=everyone

so USERB could not access to webloghelper.jsp, instead USERA can do it..

but...

ALL users can access the webloghelper.jsp resource!
Why?

Using Websphere this works!

i'm using jboss 3.2.3

thank you!


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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Port Listener integrated with JBoss

2004-08-31 Thread poojac20
Hello 
While searching for how to write a service in jboss, I have more questions.

http://www.huihoo.com/jboss/online_manual/3.0/ch13s26.html
This Page seems to give a lot of information but none for simple services.
"MBeans that are independent of JBoss services are the trival case and can be written 
per the JMX specification and added to a JBoss server by adding their MLET tag to the 
jboss.conf file." My Questions:

1. Isn't jboss.conf read just once at server start up? 
2. If I add something to jboss.conf, won't it require the service class to be in 
classpath at that time? So, is it necessary for services to be libs? 
3. How will I be able to hot deploy/redeploy the service?

4. just one stupid question .. I cant find jboss.jcml?

Does someone have any step-by-step guide to writing a "trivial" custom service in 
jboss? Please forward ne pointers. 

Thanks in advance
--- Pooja. 

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Bad Performance on DB2/400 and Jboss 3.2

2004-08-31 Thread saimonnn
I have installed a new J2EE application (Ejb, Cmp, Web) on DB2 database on a IBM 
Iseries (ex AS/400).
JDBC connection is quite good ( 2 seconds for 1000 recordings )
but the ejb connection is very slow, until 30 secondes for 5 recordings.

I've indexed all the tables and journalized the file. But it's always slow.

Do you have an solution to my problem ? Or do you see the origin of my problem ?

Thanks

Simon ...

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Inexplicable NoClassDefFoundError

2004-08-31 Thread jevoskuil
The class in question, DOMStreamerPool, extends another which, in turn, resides in 
another jar (sigh). Guess I was jumping to conclusions a bit too fast. -j

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user