[JBoss-user] [EJB/JBoss] - loadClass() not loading my Class

2005-04-21 Thread ballen
i've recently upgraded to jboss-4.0.1sp1, java5, and EJB3. the one thing that i cannot get working is dynamic class loading. my code looks a little something like this: | Class cls = Thread.currentThread().getContextClassLoader().loadClass(name) | the problem manifests itself that i can on

[JBoss-user] [Messaging, JMS & JBossMQ] - mdb nolocal

2005-04-21 Thread magic886
How can I specify nolocal in a mdb? I know in TopicSession, there's the createSubscriber method where I can specify nolocal to true to not receive my own messages. "createSubscriber(Topic topic, java.lang.String messageSelector, boolean noLocal) Creates a nondurable subscriber to the

[JBoss-user] [Installation & Configuration] - Re: JBoss+JDK1.4+Xerces

2005-04-21 Thread [EMAIL PROTECTED]
u shud be using the xerces jars that are located in the jboss_instance/lib/endorsed dirs pass a system property to the JDK as follows | java -Djava.endorsed.dirs= | This will use the Xerces parser. More info can be had by looking at how JBoss does this in the run.bat/run.sh scripts.

[JBoss-user] [JCA/JBoss] - Re: Non JDBC XA resource adapter deployment on JBoss 4.0.1

2005-04-21 Thread nilesh_yawale
Hello All, I didn't find any information regarding deployment of non JDBC XA resource adapter on JBoss 4.0.1. If anybody knows about it please help me. Thanks for your time. Nilesh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874971#3874971 Reply to the

[JBoss-user] [Javassist user questions] - Re: Javassist and Java5's enumerations

2005-04-21 Thread gpothier
Sorry, the actual exception is a javassist.NotFoundException. Java's NoClassDefFound doesn't surface its root cause. Here is the stack trace: javassist.NotFoundException: [Lreflex.lib.logging.core.api.collector.BehaviourType; at javassist.ClassPool.get(ClassPool.java:301) at javas

[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.

2005-04-21 Thread [EMAIL PROTECTED]
No, don't try that unless you are using the very old getting started guide that references it. Use the one at docs.jboss.org. The only reason it hasn't been deleted is that I don't want to break the URL in case anyone really does want to use the old version of the getting started guide with an

[JBoss-user] [JBossWS] - axis tcpmon

2005-04-21 Thread golubec
Hi , i try to use tcpmon from axis package , as i see it's done in some examples. I force my client to obtain wsdl from : 7070(port) and change ws4ee jboss-service.xml webservice port to 7070 too. Then i start tcpmon and when client invokes ejb tier service by jax-rpc folowing is occured

[JBoss-user] [Installation & Configuration] - Using iPlanet 6.0 Web Server with Jboss

2005-04-21 Thread rajeshchande
Hello, What are the configurations required to make iPlanet Web Server 6.0 with Jboss? Regards, Rajesh. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874966#3874966 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874

[JBoss-user] [Beginners Corner] - Re: JNDI problem with initial context instantiation

2005-04-21 Thread rosonsandy
you can put the jndi.properties in the classpath View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874965#3874965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874965

[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.

2005-04-21 Thread Chris_barlow
Try this: http://www.jboss.org/docs/jbossj2ee-src.zip View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874964#3874964 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874964 --

[JBoss-user] [EJB/JBoss] - jboss-4.0.1sp1: Cancelling Timer does not kill timer thread

2005-04-21 Thread ZBoris
I have encountered interesting problem. I'm using jboss 4.0.1sp1 EJBTimerService with stateless session beans. Login in Jboss management console and note number of threads in stats overview: JVM Environment Free Memory: 72 MB Max Memory: 1016 MB Total Memory: 127 MB #Threads: 64 JV

[JBoss-user] [Installation & Configuration] - Apache warpConnector and JBoss 4?

2005-04-21 Thread javatopia
How do I turn on the warpConnector in JBoss 4 so it will communicate with my apache mod_webapp warpConnection on port 8080?? Thanks -- Jake [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874962#3874962 Reply to the post : http://www.jbos

[JBoss-user] [Security & JAAS/JBoss] - authentication does not endures

2005-04-21 Thread xabstract
I did everything as explained in "Complete configuration of JAAS on JBOSS and STRUTS" http://www.javaworld.com/javaforums/showthreaded.php?Cat=&Board=JavaSecurity&Number=2500&page=&view=&sb=5&o= and I can actually login, but the time i'am logged in just endures from the login page to the next p

[JBoss-user] [JBoss Getting Started Documentation] - Re: I cann't find jbossj2ee-src.zip file! Please help.

2005-04-21 Thread xgj6688
I really created an account and login. But the website still tell me I must login. Only the 'getting started with jboss4.0' has this problem. Fortunately, somebody else gave me a URL where I can directly download the file. I have got it. Thank you for all your reply. View the original post : h

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Newbie: can't resolve javax.jms

2005-04-21 Thread genman
This shell script is handy: ...$ cat jar-grep.sh #!/bin/sh if [ $# -lt 2 ] then echo "Usage: $0 pattern [file ...]" exit 1 fi pattern=$1 shift for file in $@ do echo "${file}:" jar tf $file | grep $pattern done View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Security & JAAS/JBoss] - Re: Password Encryption with DatabaseLoginModule

2005-04-21 Thread mjdinsmore
Scott, I am currently using a secure, one-way encryption method to store the passwords. That is, once they're stored in the database, there is no way to determine what they are -- the only choice a user has if they forget it, is to make a new one. This helps secure the system internally fro

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Max Message limit

2005-04-21 Thread genman
Not availabe, but this could be easily added by creating a queue parameter in src/main/org/jboss/mq/server/BasicQueueParameters.java and tracking the rate of adds. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874957#3874957 Reply to the post : http://www

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Redundant queue server

2005-04-21 Thread genman
Clustering JMS? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874956#3874956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874956 --- SF email is sponsored by - T

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 4.0.2RC1 DLQHandler Sybase

2005-04-21 Thread genman
XAConnectionFactory is probably not bound because the JMS subsystem did not come up cleanly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874955#3874955 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874955 ---

[JBoss-user] [JBossCache] - Re: How does

2005-04-21 Thread roginsky
P.S. It appears that for the TreeCacheAop evict() causes complete removal of the node from the backstore. The regular TreeCache doesn't do it. Is this the expected behavior? I though eviction only affects the memory cache, but not the backstore. Is there any configuration that would prevent it f

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: queue/testQueue, Message Driven Bean don't receive messa

2005-04-21 Thread genman
17:28:11,992 WARN [JMSContainerInvoker] creating a new temporary destination: queue/testQueue" This should be a FAQ. You should create your MDB queue in your jbossmq-destinations-service.xml (or whatever it's called these days.) View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Changing Queue information on the fly.... through JMX co

2005-04-21 Thread genman
You can have your EJB's call a JMX MBean. E.g. | MBeanServer server; // find this out somehow | ObjectName on; // MBean someplace | QueueConnectionFactory cf; // create in ejbCreate | | onMessage(Message m) { | Queue q = (Queue)server.getAttribute(on, "Queue"); | QueueSender q

[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule SQL Failure

2005-04-21 Thread mjdinsmore
Are you sure you have the correct SQL for the select of the userRoles fro mthe table? As you can see from the error itself, the SQL exception is telling you that there is no table called ROLES whereas you have a table called userRoles. I think you might have cut and pasted the original SQL st

[JBoss-user] [Installation & Configuration] - TCLFilter

2005-04-21 Thread darickard
I read the Wiki page on logging (http://www.jboss.org/wiki/Wiki.jsp?page=Logging) and wanted to use the TCLFilter but could not get it to work. I used the sample log4j.xml config entries and the log file would be created but nothing was written to it. For the DeployURL I was using the name of m

[JBoss-user] [Installation & Configuration] - Re: JBoss+JDK1.4+Xerces

2005-04-21 Thread prathima
Does anyone know the solution for this. I am stuck on this for 3 days now. Thanks prats View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874949#3874949 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874949 -

[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-21 Thread Maciej_Leszczynski
PortalDS's "StateString" is "Started" and login is ok (some portlets which needs login work ok) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874948#3874948 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874948

[JBoss-user] [JBossWS] - Re: Classloading and WS

2005-04-21 Thread jofi
Well, fist of all i've discoverd i've been a lousy spec.reader (not the first time: )) - the .ear packaging should make it possible for me to set up a shared classpath through the manifest. Any how; i didnt get it to work so i continued on the classloader path letting my application use the jbos

[JBoss-user] [JBossWS] - Unexpected encoding style

2005-04-21 Thread platinumdragon
*Sigh* I'm almost there.. I can feel it. I have JBoss 4.0.1sp1 and jwsdp 1.5. I am using static invocation. Using tcpmon I can see the request being sent and the response coming back. It looks like it has the data I need, but I get the following exception from the client: java.rmi.RemoteExce

[JBoss-user] [Security & JAAS/JBoss] - RE: step by step JASS on JBOSS how to issue...

2005-04-21 Thread xabstract
I did follow the "Complate configuration of Jass on Jboss" http://www.javaworld.com/javaforums/showthreaded.php?Cat=&Board=JavaSecurity&Number=17048&page=&view=&sb=5&o=&vc=1 And after configuring everything as follows: login-config.xml :

[JBoss-user] [JBoss Portal] - Re: i need calendar portlet

2005-04-21 Thread porrael
this post is covered...thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874942#3874942 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874942 --- SF emai

[JBoss-user] [JBoss Portal] - again I wait for answers

2005-04-21 Thread porrael
please...please..i don't understand this error.please. i suppose that the error takes place in the portlet.xml.but not as it is please im blocked.and I want to know that this happening.please please 005-04-2

[JBoss-user] [JNDI/Naming/Network] - ejb not bound

2005-04-21 Thread golubec
Hi , i've deployed my cmp ejb .The service JNDIView at JMX console shows me next : Ejb Module: configstore.jar java:comp namespace of the ConfigStore bean: +- HandleDelegate (class: org.jboss.proxy.ejb.handle.HandleDelegateImpl) +- ORB (class: org.jacorb.orb.ORB) +- env (class: org.jnp.int

[JBoss-user] [Clustering/JBoss] - 2 Masters in a Singleton service!

2005-04-21 Thread sidazad
Hi, I am able to consistently replicate a case where I get 2 Masters elected in a Singleton service deployed on 2 hosts on the same cluster. This is what I did: (Using JBoss 3.2.3.) (1. Started JBOss and the singleton service on a host, say Host A. This becomes the Master. (2. Started JBoss and t

[JBoss-user] [JBoss Portal] - Re: please answer

2005-04-21 Thread porrael
I already made two questions that have not even answered to me and the truth has to me blocked see View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874938#3874938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874938

[JBoss-user] [JBoss Portal] - Re: please answer

2005-04-21 Thread darranl
Would you like to ask a question? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874936#3874936 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874936 --- SF email is

[JBoss-user] [Clustering/JBoss] - Re: ERROR [RpcDispatcher] failed invoking method

2005-04-21 Thread [EMAIL PROTECTED]
This is a harmless message. It is fixed in (the coming) 4.0.2 release. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874933#3874933 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874933

[JBoss-user] [JBossWS] - webservice not getting started, wsdl loading fails

2005-04-21 Thread quickie_me
Hi, I have three webservices in a war to be deployed pm JBoss-4.0.1. i m facing a very wierd problem. sometimes the webservice deployment fails. the error on the console is java.lang.IllegalStateException: Cannot obtain WSDL definition, cause: WSDLException: faultC

[JBoss-user] [JBossWS] - Re: Classloading and WS

2005-04-21 Thread [EMAIL PROTECTED]
Have you enabled trace level debugging on the classloading? Does the loader repository see the URLs that you are trying to load classes from? There is no scoping of loader repositories, right? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874931#3874931 Re

[JBoss-user] [Installation & Configuration] - Migrating from Weblogic 5.1 to JBoss 4.0

2005-04-21 Thread pganji
Hello. I have to port a JSP+EJB 1.1+Informix application running on WL 5.1 to JBoss 4.0. I am also new to JBoss. I would like some guidelines, suggestions and advices from you. This is expected to be done in a somewhat aggressive timeframe. So I appreciate feedback asap :-) Thanks Chandra View

[JBoss-user] [JNDI/Naming/Network] - Socket connection refused after inactivity period

2005-04-21 Thread knatarajan
Hi all, I am running JBOSS 4.0.1 on Windows. I have a client code within Jboss that connects to the same jboss server URL (this is part of CAS authentication). All is well when Jboss starts up initially. But if I leave my Jboss server running overnight and try accessing it after a period of inact

[JBoss-user] [Installation & Configuration] - Re: MySql configuration in Jboss

2005-04-21 Thread qkerby
I'm getting this error too. Trying to connect to an MS SQL Server 2000 DB, but the database scripts seem to be a little vague when it comes to entering data into the tables. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874927#3874927 Reply to the post :

[JBoss-user] [JBossWS] - Re: EJB3 client to web services

2005-04-21 Thread [EMAIL PROTECTED]
This has been assigned http://jira.jboss.com/jira/browse/JBWS-185 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874926#3874926 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874926 -

[JBoss-user] [JNDI/Naming/Network] - How do I publish a Remote Object so that stand-alone clients

2005-04-21 Thread eantoranz
I want to "publish" a RemoteObject I made so that stand-alone clients can access it through JNDI (I intend to make a "logger" for the application that is running in JBoss so remote applications can see what's going on in the server). When I try to bind it (from an EJB) with Context.bind(myRemote

[JBoss-user] [Beginners Corner] - not using deployed .class files

2005-04-21 Thread wendy.sue
All, I am using struts so, I deploy a .jar and .war file. the .war file has all my .class files in it. when I view my app throught the browser the .jsp classes look fine but the .class actions are old. Any ideas where I should start looking View the original post : http://www.jboss

[JBoss-user] [Beginners Corner] - Re: jboss and MySql

2005-04-21 Thread jonghun95
The following is the error message when I start server. 15:08:44,678 ERROR [DatabasePersistencePolicy] Starting failed jboss.ejb:service =EJBTimerService,persistencePolicy=database java.lang.IllegalStateException: Cannot find datasource meta data: jboss.jdbc:da tasource=MySqlDS,service=metadata

[JBoss-user] [JBoss Portal] - please answer

2005-04-21 Thread porrael
please answer me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874922#3874922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874922 --- SF email is sponsored by - T

[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-21 Thread [EMAIL PROTECTED]
something prevents the service to start on your installation perhaps it is the database ? could you tell me the status of the mbean : jboss.jca:service=DataSourceBinding,name=PortalDS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874921#3874921 Reply to th

[JBoss-user] [Javassist user questions] - Re: Eclipse can't find generated class

2005-04-21 Thread bammi
This question is probably more appropriate on an eclipse forum: In your eclipse project -> properties -> Java Build Path dialog, press "Add Class Folder" button and add the folder containing your .class file, to the Java Build Path, and eclipse will find it. To make it look again, select your

[JBoss-user] [JCA/JBoss] - getConnection from pool

2005-04-21 Thread omrikessel
Hi, I ran a profiler on a test ejb that in a loop call Datasource.getConnection after each getConnection I closed it. for 100 getConnections the garbage collector threw 13,000 allocated in WrappedDataSource.getConnection (I don't have more stack information :-( ) for 1000 getConnections the garb

[JBoss-user] [Beginners Corner] - Re: jboss and MySql

2005-04-21 Thread jonghun95
I did what the document said. But jboss does not find MySql DB. Can you recommend some places I should check? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874917#3874917 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-21 Thread Maciej_Leszczynski
"StateString" is "Registered" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874914#3874914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874914 --- SF email is spo

[JBoss-user] [Installation & Configuration] - Re: JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread javatopia
That's it! changing: The problem seemed to be that the security provider used /dev/random as an entropy generator, and it somehow wasn't working. By editing the $JAVA_HOME/jre/lib/security/java.security file and changing the property: securerandom.source=file:/dev/random to: securerandom.source

[JBoss-user] [Javassist user questions] - Eclipse can't find generated class

2005-04-21 Thread peterkronenberg
I'm doing my development in Eclipse. I'm creating class files with Javassist directly to my bin directory. But since Eclipse can't find it, it doesn't compile. How can I fool Eclipse that that it knows about these class files even though there is no source? View the original post : http://w

[JBoss-user] [Installation & Configuration] - Re: JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread javatopia
http://www.codecomments.com/archive253-2004-7-197824.html Hmmm, maybe this is an issue with the use of /dev/random in the JDK on RH Linux ??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874910#3874910 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Installation & Configuration] - Re: JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread javatopia
Tell me how to get a thread dump from JBoss when it's locked up, and I'll post it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874909#3874909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874909 -

[JBoss-user] [JBoss Portal] - Re: build on jboss-forums-2.0-beta1a

2005-04-21 Thread [EMAIL PROTECTED]
try to get the build from the CVS cvs -d :pserver:[EMAIL PROTECTED] login cvs -d :pserver:[EMAIL PROTECTED] co -P jboss-portal-2.0 and see if it can build or not thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874907#3874907 Reply to the post : http

[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-21 Thread [EMAIL PROTECTED]
the CMS service should start before that the servlet of the CMS webdav access. could you go in the JMX console and tell the status of the service porta:service=CMS, i.e the value of the StateString attribute. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=387

[JBoss-user] [JBoss Portal] - build on jboss-forums-2.0-beta1a

2005-04-21 Thread sviluppatorefico
hii've downloaded the sources of the last version of jboss forums but when I try to compile under solaris with the command $FORUMS_HOME/forums/build.shI have this error : ./build.sh: ./../tools: non esiste build.sh: *ERROR* The target executable does not exist: build.sh: build.sh:/bin/bu

[JBoss-user] [JBoss Portal] - WebDav problem on Linux

2005-04-21 Thread imcL
Hi, I'm using jboss 4.0.1SP1 with Linux (Fedora Core 2) and JBoss Portal 2 Beta1 downloaded from CVS a few days after it goes beta. DB is postgres 7.4. I have problem with WebDav. When developing on Windows XP everything works fine (CMS). When deployed on Linux I have following problem: [org.jb

[JBoss-user] [JBoss Portal] - i was sent

2005-04-21 Thread porrael
i was sent to the answer that ocurred in the adress http://www.jboss.org/index.html?module=bb&op=viewtopic&t=61304 in this adress he asked: Thats the scenario I have. Can you tell me whats wrong with it? and it is that I have the same error but the question is not answered there, because he mak

[JBoss-user] [Security & JAAS/JBoss] - Re: Losing my principals.

2005-04-21 Thread JonHurwitz
Ah, yes. I am making the call from an unsecured element. I'm using struts, and the call is from the action class, through a service level facade, to the sesion ejb. Only the jsps were defined as secured in the web collection. If I secure everything in the web-collection (using url-pattern /*)

[JBoss-user] [Installation & Configuration] - SMTP Authentication

2005-04-21 Thread gquintana
Hello, Which properties should I put the mail-service.xml to tell JavaMail to use a specific login/password to access my SMTP server? It must be a simple question, but I can not find the solution by myself, Thanks for your help, GÃrald View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [Installation & Configuration] - MySql configuration in Jboss

2005-04-21 Thread Newj2ee
Hello! I'm reading the tutorial guide of Jboss Greating Started, the chapter 8, but finally the instructions the server console display this: | | ObjectName: jboss.mq:service=InvocationLayer,type=UIL2 | state: CONFIGURED | I Depend On: jboss.mq:service=Invoker | | Depends On

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unable to passivate due to ctx lock

2005-04-21 Thread cbradbury
OK, I've have managed to write a generic test case that can be used to prove that a CMP entity's attributes are rendered empty by the Commit Option D refresh thread even if you do not call the a find() method a second time. Using a simple servlet (for want of a better way to talk to the EJBs) I

[JBoss-user] [Management, JMX/JBoss] - Re: Ideas need for a service.

2005-04-21 Thread infectedrhythms
lol It's been a while I havent touched this... :P But my services are synchronous... Bassically some "client" computer connects to them sends a request they process the request with a 3rd party connecting to them externally, either through http, tcp/ip or any protocol required and they finally

[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread dabramov
Fair enough. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874891#3874891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874891 --- This SF.Net email is spo

[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread [EMAIL PROTECTED]
Not unless you provide it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874890#3874890 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874890 --- This SF.Net email

[JBoss-user] [Beginners Corner] - When to use Apache as a Primary Web Server

2005-04-21 Thread romm
Hello All, I'm interested in using SSL over JBoss. Should I consider using Apache as the primary Web server in front of JBoss/Tomcat to handle SSL encryption? When is it a good idea to use JBoss/Tomcat as a standalone server, or integrated with Apache as the primary? Any insight or direction

[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread dabramov
Thanks for the quick replies. In this case, the MBean that I'm looking up is not extending ServiceMBeanSupport. Can I get at the state information via another mehtod (MBeanServer.getAttribute()) ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874888#38748

[JBoss-user] [Management, JMX/JBoss] - Re: Ideas need for a service.

2005-04-21 Thread leonardosalvatore
I suggest you to assign a JMSqueue/topic to a service. Send message (Byte or Object ...) is very easy and for receiving you can implemente a message listener or use a Message Driven Bean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874887#3874887 Reply to t

[JBoss-user] [Installation & Configuration] - Re: JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread [EMAIL PROTECTED]
The only meaningful diag for a 'lockup' is a thread dump so that the state of the server can be identified. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874886#3874886 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Installation & Configuration] - JBoss 4 on RH Linux 7 Locking up in EJB deployer?

2005-04-21 Thread javatopia
JBoss 4.0.1sp1 JDK 1.4.2_08 RH Linux 7.0 SQL SERVER 2000 JDBC driver We have a project with maybe 30 entity beans and some miscellaneous other classes. The application is configured to run as its own server instance (exists in jboss/server//...), so we start it up as "run -c ". On windows, us

[JBoss-user] [Management, JMX/JBoss] - Re: How to specify a manager for an SNMP trap

2005-04-21 Thread [EMAIL PROTECTED]
Currently the managers are de-coupled from the trap mapping, which in general is a good thing. To do what you suggest we would have to "name" the managers, then optionally provide a named manager (or worse a list of managers :) along with each trap mapping. That would require some changes in th

[JBoss-user] [Clustering/JBoss] - 2 jboss instances clustered using same server

2005-04-21 Thread alessandro.behling
Hi, If someone could give a hand on this: I need to set up an environment which needs to attend a live clustered JBoss (tha is already running) and live and another one completely different that we are going to use as staging, but even for staging, it needs to be clustered (customer requiremen

[JBoss-user] [JBossWS] - Re: Cannot find jaxrpc-mapping for generated type

2005-04-21 Thread platinumdragon
That worked, thanks. Not the ideal solution, but I guess we must make sacrifices in the name of interoperability :). Incidentally, for others searching on this, I just had to wrap the Alias[] with AliasArray. I didn't have to use the ws4ee-deployment.xml at all (I am fighting to get Java and

[JBoss-user] [JBoss Getting Started Documentation] - 2 jboss instances clustered using same server

2005-04-21 Thread alessandro.behling
Hi, I need to set up an environment which needs to attend a live clustered JBoss (tha is already running) and live and another one completely different that we are going to use as staging, but even for staging, it needs to be clustered (customer requirements). I've copied the 'all' folder into

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - 2 jboss instances clustered using same server

2005-04-21 Thread alessandro.behling
Hi, I need to set up an environment which needs to attend a live clustered JBoss (tha is already running) and live and another one completely different that we are going to use as staging, but even for staging, it needs to be clustered (customer requirements). I've copied the 'all' folder into

[JBoss-user] [Advanced Documentation] - 2 instances clustered using same server

2005-04-21 Thread alessandro.behling
Hi, I need to set up an environment which needs to attend a live clustered JBoss (tha is already running) and live and another one completely different that we are going to use as staging, but even for staging, it needs to be clustered (customer requirements). I've copied the 'all' folder into

[JBoss-user] [Management, JMX/JBoss] - Dependency on Tomcat Startup

2005-04-21 Thread andybass
I have an mbean that needs to be dependent upon Tomcat starting up and being accesable - i.e. the Coyote connector has started as well. My mbean contains the the statement: jboss.web:type=Service,serviceName=jboss.web but that doesn't seem to work. I'm already using a numeric deployment seq

[JBoss-user] [JBossCache] - Re: How does

2005-04-21 Thread roginsky
Thank you Bela! I tried running the testEvictionWithCacheLoader2 from the CacheLoaderTestBase class, and it indeed works. Then I modified it like this (because this is the functionality I'm looking for): cache.putObject("/first/second/third", "val1"); // stored in cache loader cach

[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread [EMAIL PROTECTED]
Nope. The MBean becomes immediately available after registration. You should guard inside your mbean code if you don't want to receive calls, e.g. (assuming you extend ServiceMBeanSupport, so the baseclass keeps track of state): |private void checkStarted() |{ | int state =

[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread [EMAIL PROTECTED]
that's easy to find out. In a test MBean start() method, do a wait(). Then in some other thread, look it up :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874868#3874868 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Management, JMX/JBoss] - Re: mbean lifecycle

2005-04-21 Thread [EMAIL PROTECTED]
I can assert that this supposition is completely false. The lifecycle has nothing to do with the existence of an mbean since jmx has no lifecycle/dependency notion inherently. The lifecycle notion is something we add on top of an mbean to create an mbean service construct. The started state is

[JBoss-user] [HTTPD, Servlets & JSP] - Re: EL (expression language - as per JSP 2.0) support

2005-04-21 Thread streagan2
Thx janbols - yup I was still on 2.3 in my web.xml. Have updated and of course it works now. Cheers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874866#3874866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874866

[JBoss-user] [Performance Tuning] - Re: Strange behavior: slow JDBC queries

2005-04-21 Thread rafcio
"[EMAIL PROTECTED]" wrote : How did you fix it? Now I found that: "In MySQL 4.0, the query cache works only with autocommit enabled. This restriction is removed in MySQL 4.1.1 and up." And this is our problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Persistence & CMP/JBoss] - Re: JBoss queries aren't cached by MySQL

2005-04-21 Thread rafcio
"rafcio" wrote : Hi, | | we have the problem, that queries generated by JBoss or our code which runns under JBoss will be not cached by MySQL. The same query sendet from an external application or MySQLFront will be cached by the same MySQL. | | Any idea why? | | | Regards, |

[JBoss-user] [Management, JMX/JBoss] - mbean lifecycle

2005-04-21 Thread dabramov
Can someone confirm (or deny - though I prefer confirm) that if I lookup an MBean through the MBeanServer it will only be available after the MBean has completed its start() method? Thanks. -Dan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874863#3874863

[JBoss-user] [Management, JMX/JBoss] - How to start, stop, or do everything with my deployed EJBs f

2005-04-21 Thread hsbaodang
Hi All, I have deployed some EJBs on JBoss, now I want to write a Client Form to manage my deployed EJBs such as start, stop... like what I see in JMX Console. Please help me, Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874862#3874862 Reply to the

[JBoss-user] [HTTPD, Servlets & JSP] - Re: EL (expression language - as per JSP 2.0) support

2005-04-21 Thread janbols
Could it be that your web.xml is using the 2.3 version of jsp specification instead of the 2.4? If so, EL support is not enabled by default. Either change the web.xml to conform to the version 2.4 schema or add <%@ page isELIgnored="false" %> at the top of the jsp page. View the original pos

[JBoss-user] [Installation & Configuration] - Re: Web app outside of deploy folder

2005-04-21 Thread samokhin
It works fine. Thanks a lot! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874856#3874856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874856 --- This SF.Net emai

[JBoss-user] [Management, JMX/JBoss] - Re: Port Listener Services on JBoss

2005-04-21 Thread leonardosalvatore
For thread pool i suggest you to try pool = Executors.newCachedThreadPool(); or pool = Executors.newFixedThreadPool(poolSize); You have to implement class Handler implements Runnable and serverSocket = new ServerSocket(port); pool.execute(new Handler(serverSocket.accept())); For network

[JBoss-user] [JBoss Portal] - how can see one portlet?

2005-04-21 Thread porrael
i hope understand me... i have the new version As Sp1 with jbossportal beta1. i have the portletsample.war from sun..this file have a bookmark, notepad, weather and jspportlet... i put the file in the deployand i run the portal...

[JBoss-user] [Persistence & CMP/JBoss] - JBoss queries aren't cached by MySQL

2005-04-21 Thread rafcio
Hi, we have the problem, that queries generated by JBoss or our code which runns under JBoss will be not cached by MySQL. The same query sendet from an external application or MySQLFront will be cached by the same MySQL. Any idea why? Regards, Rafal View the original post : http://www.jboss

[JBoss-user] [HTTPD, Servlets & JSP] - EL (expression language - as per JSP 2.0) support

2005-04-21 Thread streagan2
I am using jboss-4.0.0RC2. I have experimented with using EL in my jsp's but it simply prints the text and does not seem to understand it. How do I activate EL support on jboss? Regards, Matthew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874849#3874849

[JBoss-user] [Beginners Corner] - Re: Auto primary key generation with CMP and MySQL

2005-04-21 Thread ianfallon
Thanks milowe - really appreciate the help - it works find now, you're a star. Any recommendations of books that might help with the issues that arise between MySQL and JBoss ? Books on either subject don't really cover this area where the two meet. btw. when the books refer to jbosscmp-jdbc.xm

[JBoss-user] [Security & JAAS/JBoss] - Re: Losing my principals.

2005-04-21 Thread [EMAIL PROTECTED]
I would need to see an example that illustrates the ejb call. It sounds like you are making a call from an unsecured web component, or are clearing the security context through improper use of some security api. There have been issues fixed when one is interacting with some services like the rmi

[JBoss-user] [EJB/JBoss] - Not able to create Foreign Key in Cloudscape

2005-04-21 Thread abhijitroy01
Hi, I am trying to deploy my Employee and Phone EJB which has 1:N relationship. But I am getting the following error as the fkey name generated by jboss is longer than supported by Cloudscape. Is there a setting in jboss to generate a smaller key name? -- org.jboss.deploy

[JBoss-user] [Javassist user questions] - Javassist and Java5's enumerations

2005-04-21 Thread gpothier
Hi, I have a problem with enumerations classes and Javassist: I'm getting a java.lang.NoClassDefFoundError when the VM tries to load an enumeration. Is Javassist supposed to support enumerations? The enumerations that cause problems are not created by Javassist but already exist. There is also s

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-04-21 Thread rosonsandy
darranl thanks very much, i solved my problem . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874844#3874844 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874844

[JBoss-user] [Beginners Corner] - Re: Auto primary key generation with CMP and MySQL

2005-04-21 Thread milowe
Make sure your in jbosscmp-jdbc.xml contains: | | java.lang.Integer | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874843#3874843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874843 ---

  1   2   >