[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
i dont have anything of jboss tags in my jboss.xml :( my bean tags: * @ejb.finder *query=SELECT OBJECT(a) FROM minfo a *signature=java.util.Collection findByFilename(java.lang.String filename) *unchecked=true * * @jboss.jboss-ql * query=SELECT OBJECT(a) FROM minfo as a WHERE a.filename LIKE ?1 * signature=java.util.Collection findByFilename(java.lang.String filename) * unchecked=true my jboss.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.0//EN http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd; unauthenticated-principalnobody/unauthenticated-principal enterprise-beans ejb-nameMinfo/ejb-name jndi-nameMinfoBean/jndi-name local-jndi-nameMinfoLocal/local-jndi-name /enterprise-beans resource-managers /resource-managers can you tell me, if this is a lomboz problem or is it my mistake? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825029#3825029;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825029Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Jboss JVM option -Xmx -Xms
In our production server ,Server have 4GB RAM in that 1.We tried with -Xms512m -Xmx512m then what happed one or two hours after restarting again system hangs up and users not able to get the page. 2.Then we started testing with bigger value that will be most suitable. Finally we have given -Xms:1576 , -Xmx:1576 ,-Xss128k. 3.Now what is happening is Server is running 3,4 days after that free Heap size comes to 150-200m then Server hangs up.Then after restart lot of heap free space and running fine. what may be the possibilities for this issue? Did any gone through situation like this ? Friends suggest some solutions? Thanks in advance a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825030#3825030;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825030Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Standard taglib with jboss 3.2.3, tomcat 5
I recommend using the Tomcat classloader instead (configured in the jboss-service.xml). This is a lot more webapp friendly than the JBoss classloader. I will properly implement the getURLs of the fake ENCLoader (your proposed patch is bad). a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825031#3825031;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825031Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Property files and JBoss !!!
Are you reading the file as a resource? | Properties prop = new Properties(); | prop.load(this.getClass().getResourceAsStream(/yourFile)); | You could put the file in server/defualt/conf (if using deafult config and its a global property file). And you should avoid reading prop files from EJB since the file system IO isnt designed for transactions. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825033#3825033;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825033Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Compliance] - Re: Reference Argument
Because the RMI call is within the same VM it's being optimized by JBoss. So the arguments aren't serialized and pass-by-value becomes pass-by-reference. When we used to use WebLogic it used to do the same thing, so I don't think it's an unusual optimization. You can make the RMI calls behave as if everything was remote by changing conf/jndi.properties (adding in a java.naming.provider.url) - but this will slow things down a lot so I don't recommend it. I'm not sure if there's any other way to force pass-by-value. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825034#3825034;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825034Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Apache+Jboss-Tomcat with mod_jk2
You'll have to build mod_jk2 from source. You can download the source from here: http://jakarta.apache.org/site/sourceindex.cgi a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825035#3825035;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825035Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Testing a MDB
Hello, i've written now my first MDB and Client. The MDB is running on a JBoss (i can choose it to start, create, remove, etc. it). My Client seems to work right, too. But how can i see that the MDB is workin right? I have in the onMessage a simple output Message: System.err.println(### in SimpleMessageBean.ejbOnMessage() ###); | or | System.out.println(### In SimpleMessageBean.OnMessage()); | Both outputs dont work, i have the same outputs on the other MDB Methods, but my JBoss console doesnt print anything of that. So how can i be sure that the MDB is working right? Did i make a mistake and the output should be correct? Do i have to create and start the MDB before i can test i? Thank u 4 ur help a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825036#3825036;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825036Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Container idependent JAAS Login Module
How about using javax.security.auth.spi.LoginModule this should make it possible to be used in any server its the interface implemented by JBoss AbstractServerLoginModule. hth SVen a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825038#3825038;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825038Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - javax.naming.NameNotFoundException !
Hi, I had been trying to deploy a simple Session bean on JBoss 3.2.3 but have been getting this exception : javax.naming.NameNotFoundException: TestHome not bound. My jndi.properties file has the following: | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=localhost | My jboss.xml file has the following: | ?xml version=1.0? | | jboss | enterprise-beans | ejb-nameTestEJB/ejb-name | jndi-nameTestHome/jndi-name | /enterprise-beans | /jboss | The 'TestEJB' is mapped in the ejb-jar.xml file with my session bean. And finally my TestClient.java has the following line where the exception is thrown: | Object ref = jndiContext.lookup(TestHome); | Pls anyone could tell me why this exception is thrown and how to remove it. I presume it is related to some jndi mapping, but not being able to find it. Thanks, Biswajit. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825039#3825039;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825039Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Per service parameters
In my web-service.xml can I specify a custom parameter (catnip) like this? service name=Test provider=java:RPC |parameter name=className value=mypackage.TestApp/ |parameter name=allowedMethods value=*/ |parameter name=catnip value=yummy/ | /service And how can I access the value of catnip in my class? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825040#3825040;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825040Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Couldn't send messages to a message queue in JBOSS from a re
Hi all, I an trying to send message to a JBOSSMQ queue which is located in a system and the system was in internetwork. I am sending using the IP address and code was as follows, java.util.Hashtable JNDIParm = new java.util.Hashtable(); JNDIParm.put(Context.PROVIDER_URL, jnp://203.193.148.14:1099); JNDIParm.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); jndiContext = new InitialContext(JNDIParm); Queue queue = (Queue) jndiContext.lookup(destinationJndiName); QueueConnectionFactory queueConnectionFactory = (QueueConnectionFactory) jndiContext.lookup(connectionFactoryJndiName); queueConnection = queueConnectionFactory.createQueueConnection(); queueSession = queueConnection.createQueueSession( false, Session.AUTO_ACKNOWLEDGE ); queueSender = queueSession.createSender(queue); queueConnection.start(); ObjectMessage message; . This is giving the follwong error javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.123.2; nested exception is: java.net.ConnectException: Connection timed out: connect] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:611) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471) at javax.naming.InitialContext.lookup(InitialContext.java:347) at MsgSender.sendMessage(MsgSender.java:77) at InternationalCaseSend$CaseSenderThread.run(InternationalCaseSend.java:301) Caused by: java.rmi.ConnectException: Connection refused to host: 192.168.123.2; nested exception is: java.net.ConnectException: Connection timed out: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492) ... 4 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.(Socket.java:309) at java.net.Socket.(Socket.java:124) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) . Kindly, help me in this regard Thanks in advance a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825041#3825041;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825041Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - creating two datasources for same database?
I want to configure two DataSources to connect to one DataBase, how can I do? Thanks a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825042#3825042;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825042Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB Logging and the
An update to this post regarding the static methods contemplation: A static method is allocated memory space on the stack for each call to the method. This is best demonstrated by the fact that static methods can be recursive which would of course be impossible if all calls to that method used the same memory space. Therefore it is thread safe to use classes with static methods! Kind regards, Stefan Freyr. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825043#3825043;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825043Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: log format
you can check out the different variables to put in the pattern attribute at the jakarta-tomcat website. It's pretty easy. http://jakarta.apache.org/ a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825044#3825044;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825044Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
in my posting above is an error: @jboss.jboss-ql-@jboss.finder-query ok i test a little bit and some of the jboss tags seems to work and some not?! for example:@jboss.read-only works fine, in my jboss.xml i found :read-onlytrue/read-only but other tags dont work. is this a bug, im really frustrated. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825045#3825045;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825045Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Datasource Configuration] - creating two datasources for same database?
simply specify 2 different jndi-names: eg. local-tx-datasource jndi-namedb1/jndi-name connection-urljdbc:postgresql://localhost/db/connection-url .. /local-tx-datasource local-tx-datasource jndi-namedb2/jndi-name connection-urljdbc:postgresql://localhost/db/connection-url .. /local-tx-datasource lg wolfgang - Original Message - From: nagasheshu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 11:18 AM Subject: [JBoss-user] [Datasource Configuration] - creating two datasources for same database? I want to configure two DataSources to connect to one DataBase, how can I do? Thanks a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825042#38250 42View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825 042Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - farm-service.xml Question
Hello, I'm using JBoss 3.2.3. I'm currently in the middle of setting up clustering and have a question that's related to the farm-service.xml file. I notice that in the server/all/deploy folder that there exists a deploy.last folder which contains farm-service.xml. Reading the docs it tells me place a farm-service.xml file in the server/all/deploy folder. So... my question is which is it?. Do I keep the file in the deploy.last folder or moce it to server/all/deploy? Thanks, -Ron a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825047#3825047;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825047Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Problems with windows-1250 character set!
Hi, I have been using setup jboss version 3.0.8 so I can use windows-1250 encoding. Database is mysql. So configuration is following: in run.bat I added following two properties: -Ddefault.client.encoding=windows-1250 -DISO_8859_1=Cp1250 and in mysql-service.xml file used jdbc:mysql://localhost:3306/mydb?useUnicode=trueamp;characterEncoding=windows-1250 connection url. in .jsp files used charset and pageEncoding. And this configuration works with 3.0.8. Now I am trying to use version 3.2.3 but upper configuration does not work. Any ideas as what am I doing wrong? Thanks, Dragan a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825050#3825050;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825050Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Accessing Clustered Servers via client code
Hello, There is quite a bit of discussion (and confusion I believe) in how to connect from a java client (whether it be a Java app, servlet or JSP) to a JBoss instance that happens to be clustered. I am seeing lots of discussion on just exactly how to create the proper JNDI Properties to pass to InitialContext(). Before I embark on this adventure, I'd like to see if I can save myself (and others) time by getting clear and concise details on just exactly what is required. Can anyone help provide some guidance based on previous experience? Some questions I have now are: 1) Can I simply leave my existing code as is as long as I am running the clustered JBoss instances (run -c all)? 2) One example I saw in this forum used the following in relation to creating the InitialContext(): | p.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); | p.put(Context.URL_PKG_PREFIXES,org.jboss.naming:org.jnp.interfaces); | | // to lookup on all servers, if apps2 goes down, it will lookup on apps3. | //p.put(Context.PROVIDER_URL,jnp://apps2:1100,jnp://apps3:1100); | | // to lookup on a specific server, not recommended as this does not make use | // of the clustering (unless you have different groups of server that serve different | // functions, and then you would still lookup on more than 1) | p.put(Context.PROVIDER_URL,jnp://apps3:1100); | | | InitialContext jndiContext = new InitialContext(p); | Is this needed? Seems like this makes more sense then doing nothing at all. 3) How do I access from the client a SingletonService configured MBean? Unfortunately the JBoss Clustering documentation does not cover this topic and takes it for granted. Thanks, -Ron a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825052#3825052;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825052Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Apache+Jboss-Tomcat with mod_jk2
Or, if you feel adventurous, you could try using jpackage version of mod_jk2 (and therefore the jpackage version of java). http://www.jpackage.org a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825056#3825056;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825056Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Message sending to Queues
Hi, We deployed a web application as well as workflow engine JBPM onto JBOSS webserver. It is working fine. JBPM uses Queue/A , which is defualtly configured with JBOSS, to send messages to different users in the JBPM. Now, i created an MDB which listens to quue/B and starts the JBPM application. When, i send messages from a system connected in a LAN, it is working fine and i am able to send messages and recieve messages from other queues also. But, i tried to send messages from a system, which is in internetwork. Now, we have a router with NAT firewall and we configured one webserver host and Port in the Router. When , i tried to access the JBPM web application using the configured hoist and port , it is working. But, when i tried to send messages, it is giving connection exception. Here my question is, How can i send messages to a Queue from one system, which is not directly connected through the wired network? Kindly, help me in this regard. Thanks in advanceSrikanthContact brides & grooms FREE! Only on www.shaadi.com. Register now! --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470_id=3638=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] deployment question
Hi all, I have two ear files. In EAR A i need to access a sessionbean which is in EAR B. How can this be achieved? Thanks in advance, Regards, Harm de Laat Informatiefabriek The Netherlands
[JBoss-user] ModelMBean not calling store in jboss 3.2.3
Hi all, To get acquainted with ModelMBean and persistence, I have written A very small ModelMBean that implements the PersistenceInterface, and I have Written dummy load() and store() to see when those two methods are called. My assumption is that load() was called when the MBean was deployed.. I built a sar and dropped into the deploy directory. However, as I could see from the logs, the load() method is never called.. Anyone can help me out? Here is the code of my ModelMbean, along with its descriptor.. /* * Created on Jun 25, 2003 * * To change the template for this generated file go to * WindowPreferencesJavaCode GenerationCode and Comments */ package com.marco.config; import javax.management.*; import java.util.Date; import java.util.Vector; import java.util.Set; import java.util.Hashtable; import java.util.Properties; import javax.management.timer.*; import java.lang.reflect.*; import org.jboss.mx.util.*; import javax.management.modelmbean.*; /** * @author mistroni * * To change the template for this generated type comment go to * WindowPreferencesJavaCode GenerationCode and Comments */ public class MyTimer extends org.jboss.system.ServiceMBeanSupport implements ModelMBean { private MBeanServer server; private ObjectName timer; private int timeout; private int repetitions; protected ModelMBeanInfo modelMBeanInfo = null; protected Hashtable attributes = new Hashtable(); protected Hashtable notifications = new Hashtable(); protected Hashtable constructors = new Hashtable(); protected Hashtable operations = new Hashtable(); protected String description = Description of MBean; public MyTimer() { System.err.println(MyTimerService MBean created...); try { addMBeanInfoData(); } catch(Exception e) { System.err.println(Got exception in intializing MyTimer\n + e.toString()); } } /** Persistence Interface */ public void load() throws MBeanException, InstanceNotFoundException { System.err.println( HERE WE SHOULD LOAD MBEAN DATA!); } public void store() throws MBeanException,InstanceNotFoundException { System.err.println( HERE WE SHOULD STORE MBEAN DATA!); } /** ModelMBean interface */ public void setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo) throws MBeanException { modelMBeanInfo = inModelMBeanInfo; } public void setManagedResource(Object mr, String mr_type) throws MBeanException {} public ModelMBeanInfo getModelMBeanInfo() { buildDynamicMBeanInfo(); return modelMBeanInfo; } // ModelMBeanBroadcaster interface public void addNotificationListener(NotificationListener l, NotificationFilter f, Object hback) {} public void removeNotificationListener(NotificationListener l) throws ListenerNotFoundException {} public void addAttributeChangeNotificationListener(NotificationListener l, String attributeName, Object hback) throws MBeanException {} public void removeAttributeChangeNotificationListener(NotificationListener l, String attributeName) throws MBeanException, ListenerNotFoundException {} public void sendNotification(String message) throws MBeanException {} // public void sendNotification(Notification notif) throws MBeanException {} public void sendAttributeChangeNotification(AttributeChangeNotification notif) throws MBeanException {} public void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) throws MBeanException {} public MBeanNotificationInfo[] getNotificationInfo() { return new MBeanNotificationInfo[]{}; } // Here we add informations to be used in MBeanInfo. // we have to add all operations, attributes and notifications // that our MBeab will have. private void addMBeanInfoData() { System.err.println(Adding mbeaninfo data..); // Adding operation addNotification Descriptor d = new DescriptorSupport(); d.setField(name,testPrint); d.setField(descriptorType, operation); d.setField(role, operation); addMBeanOperation(testPrint, null,
[JBoss-user] [EJB/JBoss] - There is no information in log file if ....
There is no information in log file if some RuntimeException rised during ejbStore. It took me about 2 days to understand problem. At the end i understood that there is nothing (except transaction rollback) in log file. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825057#3825057;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825057Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Installation Configuration] - JBoss / Tomcat / Apache
You need jk2, from the site of jakarta download this tar.gz and compile , currently I use a Apache 1.3.29 with JBoss 3.2.3 , join y jk2 Jaime [EMAIL PROTECTED] 09/03 4:13 Hello. I currently am using the built in http that is used by default with the jboss/tomcat (4.x) integration. I am running jboss 3.2.1 and 3.2.3 on Linux. I would like to utilize apache as the HTTPD server. Is there a howto on this? I have done some searches through the forum and haven't found anything concrete. But I may be searching with the wrong keywords. Any help is appreciated. Thanks. Kevin a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824893#3824893;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3824893Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Changing the server dir root
Hi I have the same problem? does anyone has any solution? Thanks a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825058#3825058;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825058Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re:
adrian, is it possible that the container is asking for connections too fast? I put random sleeps in my client as well as in my server code which sends messages and the error goes away. Again, right now my code does nothing but pass messages around. Also both the client and server use the same MessageHelper class to send messages... public class MessageHelper { | | public void sendMessage(TextMessage msg, String queueName) { | Context jndiContext = null; | QueueConnection queueConnection = null; | QueueConnectionFactory ref = null; | Queue queue = null; | | try { | jndiContext = new InitialContext(); | ref = (QueueConnectionFactory)jndiContext.lookup(ConnectionFactory); | //ref = (QueueConnectionFactory)jndiContext.lookup(java:comp/env/jms/QueueFactory); | //ref = (QueueConnectionFactory)jndiContext.lookup(jms/QueueFactory); | queue = (Queue)jndiContext.lookup(queueName); | } catch (NamingException e) { | System.out.println(MessageHelper generated a NamingException: ); | System.out.println(e.getMessage()); | e.printStackTrace(); | } | | try { | queueConnection = ref.createQueueConnection(); | QueueSession queueSession = queueConnection.createQueueSession (false, Session.AUTO_ACKNOWLEDGE); | QueueSender queueSender = queueSession.createSender(queue); | | queueSender.send(msg); | | //queueSender.close(); | //queueSession.close(); | | queueConnection.close(); | queueConnection = null; | | // jndiContext.close(); | | } | catch (JMSException e) { | System.out.println(MessageHelper generated a JMSException: ); | System.out.println(e.getMessage()); | e.printStackTrace(); | } finally { | try { | if(queueConnection != null) { | System.out.println(MessageHelper - Connection not closed, reclosing connection); | queueConnection.close(); | queueConnection = null; | } | | } catch (JMSException e) { | System.out.println(MessageHelper generated a JMSException: ); | System.out.println(e.getMessage()); | e.printStackTrace(); | } | } | } | } | a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825059#3825059;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825059Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: classcastexecption at javax.xml.parsers.DocumentBuilderF
Andy, I'm having the same type of problem. As soon as I define a loader-repository of an ear deployment, I get ClassCastExceptions for xml related classes. In my case its a SAXParser class but it seems like the same deal. Have you made any headway on this? Does anyone have any suggestions for tracking down the problem? Can code that is loading somehow side step the scoped ClassLoader? In my case it seems like JDOM threw the original exception. Anyone have tips for narrowing the search. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825060#3825060;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825060Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: jdbc keygen for DB2
I think, it should work with 3.2.3. Instructions on getting the the source from CVS can be found on sourceforge. You need Branch_3_2 branch. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825061#3825061;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825061Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Why so many database accessing?
Is it EJBQL queries? They always load data from the database. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825062#3825062;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825062Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - table-name not working JBOSS 3.2.3
table-name in standardjbosscmp-jdbc.xml is not working and the table being accesed (created in case of create-table=true) is always Ent1- the name of the ejb itself. The standardjbosscmp-jdbc.xml is in the jar file along with jboss.xml and ejb-jar.xml. jbosscmp-jdbc enterprise-beans ejb-nameEnt1/ejb-name table-namemytable/table-name create-tablefalse/create-table cmp-field field-namefield1/field-name column-namefield1/column-name /cmp-field /enterprise-beans /jbosscmp-jdbc I am a newbie to JBOSS and am porting WLS7.0 to JBOSS. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825066#3825066;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825066Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Recommendation for multiple JBoss instances
cliu wrote : Anyone knows how to use shutdown.sh to shut down different JBoss instances? Same question - get multiple jboss instances running, but what about shutdown/restart of specific instances? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825067#3825067;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825067Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJBDeployer: Verify failed
Hello, I am having trouble to deploy a jar. When i deploy my jar to jboss-3.2.3(jar that working for jboss-2.2.2), i get an exception: java.lang.NoClassDefFoundError for a dependent class DSSQLException, though this class file is in the jar for sure but it is not ejb class but a normal class. Any suggestion is really appreciated. Thanks. Nonmin a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825068#3825068;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825068Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Tru64 Jboss 3.2.3 startup crash when trying to deploy
If you are not using this service, just rename the file iiop-service.xml in the deploy directory, so as to avoid startup of this service. eg: mv iiop-service.xml iiop-service.xml.bak Regds Thomas a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825070#3825070;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825070Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Monitoring Thread CPU usage
An update on this: First, thanks for the feedback to date. I have associated a specific incident with the increase in CPU usage by Jboss. Some of our HTTP requests contain a file that is read into memory and then saved on the server's file system. In some cases, it seems this file data is corrupt or size doesn't match content size, or??? and the InputStream.read() call hangs and never returns. The application timeout eventually kills the application thread but some low level processing continues to run eating up resources. At this point, a restart is the only solution we have found to remove the orphaned processing. I am considering some sort of timeout mechanism when read() 'ing. For example, if the timeout is executed, I'll try InputStream.close(). Any light that can be shed on this is appreciated. Allen a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825072#3825072;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825072Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Monitoring Thread CPU usage
still sounds like a application problem You might want to try processing this file within a transaction. The JBoss transaction manager will interrupt the tx's thread on a tx timeout which will interrupt any blocking I/O. or, you could just implement this timeout/interruption code in a separate service. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825074#3825074;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825074Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Monitoring Thread CPU usage
This InputStream.read() is being done by Tomcat? Then strike my last suggestion FYI, a blocked InputStream.read() does not eat CPU. You really should run your application through optimizeit. Thread dumps just ain't gonna do it. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825075#3825075;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825075Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss/(Entity Bean Beginner Question
Hi, sorry for bothering you with this question. I have found the error. I learn according to the book Enterprise JavaBeans 3rd Ed. I put the META-INF dir as said in the book and the picture on page 99 - which was an error. The book seems to have a few printing errors, but I discovered an errata at O'Reilly's homepage. Having it a couple of days earlier would have saved me a lot of time. cya, martin ps: sorry for spelling and/or grammar mistakes. pps: further questions are surely up-coming. sorry. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825080#3825080;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825080Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Authentication - some basic questions
Sorry, I'm a real newbee to Nukes on JBoss. I'd like that our users are authenticated by using their data in our Active Directory. 1) Is this to be configured in some Nukes config files or is this part of the JBoss server (or both)? 2) Which steps do have to take to get this thing done? 3) Or is there a tutorial for this issue? I found one yet. Thx in beyond fluessig a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825082#3825082;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825082Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JNDI localhost problem
could be related: when you do a new InitialContext() with localhost as the jndi provider then it will actually try to connec to the real ip address of the machine instead of 127.0.0.1. i'm looking for a solution because if you run.sh --host localhost (to disallow connections from other hosts) then you can not shutdown.sh later as it will try to connect to the ip address instead of localhost (127.0.0.7) which is rejected. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825083#3825083;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825083Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: uploading a PDF into an entity EJB
Hi Zapa, I am going off the top of my head here, so I might be wrong, but... You probably don't want to cast the bytes of the input stream directly into a BLOB. What you probably want is your PDF field on your entity bean to be of type byte[]. A BLOB is essentially just a byte array. So lets say your entity bean has methods: public abstract byte[] getPDF(); public abstract void setPDF(byte[]): you can do something like this with your input stream from your JSP: ByteArrayOutputStream pdfBytes = new ByteArrayOutputStream(); int current = -1; while ( (current = myJspPdfInputStreamDealy.read()) != -1 ){ pdfBytes.write( current ); } myEntityBean.setPDF( pdfBytes.toByteArray() ); That code is not checked, and is just off the top of my head, but it should be pretty close to what you want. You might want to buffer the reader instead of reading one byte at a time, but hopefully that helps. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825084#3825084;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825084Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - 'run.sh --host localhost' makes 'shutdown.sh --server localh
i start jboss so that it listens only on localhost, and refusess external connections. as you can see from the exception the shutdown script will try to connect to the real ip address of the host instead of 127.0.0.1, which is refused. shutdown.sh --server 127.0.0.2 will try to connect to 127.0.0.2 so it's a localhost issue... probably in InitialContext. any ideas? Exception in thread main javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.35.105; nested exception is: java.net.ConnectException: Connection refused: connect] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.Shutdown.main(Shutdown.java:182) Caused by: java.rmi.ConnectException: Connection refused to host: 192.168.35.105; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528) ... 3 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.(Socket.java:309) at java.net.Socket.(Socket.java:124) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) ... 8 more [EMAIL PROTECTED] /cygdrive/d/work/granite/workspace/pvsr a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825085#3825085;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825085Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: creating two datasources for same database?
simply specify 2 different jndi-names: eg. local-tx-datasource | jndi-namedb1/jndi-name | connection-urljdbc:postgresql://localhost/db/connection-url | .. | /local-tx-datasource | | local-tx-datasource | jndi-namedb2/jndi-name | connection-urljdbc:postgresql://localhost/db/connection-url | .. | /local-tx-datasource lg wolfgang a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825087#3825087;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825087Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: uploading a PDF into an entity EJB
I got this to work like a champ (with Oracle) using org.jboss.ejb.plugins.cmp.jdbc.ByteArrayBlob. On my client, I grabbed the PDF file, read it in as an array of bytes and created the ByteArrayBlob with a ByteArrayOutputStream. Sample Code: | FileInputStream fis = null; | BufferedInputStream bis = null; | ByteArrayOutputStream baos = new ByteArrayOutputStream(); | try { | fis = new FileInputStream(fileName); | bis = new BufferedInputStream(fis); | byte[] buffer = new byte[2048]; | while(true) { | int bytesread = bis.read(buffer); | if(bytesread 1) break; | baos.write(buffer, 0, bytesread); | } | ByteArrayBlob bab = new ByteArrayBlob(baos.toByteArray()); | The ByteArrayBlob is then defined like any other plain java class and it extends java.sql.Blob so the default JDBC handling applied. Cheers. //Nicholas a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825088#3825088;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825088Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Looks like stupid question about load-balancing
You need a load balancer for http. JBoss (more precisely the embedded Tomcat or Jetty web server) implements one side of mod_jk. The load balancing part is done using a plugin in the web server (Apache, IIS, ...) a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825089#3825089;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825089Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Looks like stupid question about load-balancing
You need a load balancer for http. JBoss (more precisely the embedded Tomcat or Jetty web server) implements one side of mod_jk. The load balancing part is done using a plugin in the web server (Apache, IIS, ...) a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825090#3825090;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825090Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Access to bean from another bean
Thanks Adrian, But if I have hundreds of objects with many methods, in each I must pass reference on my stateful bean, but this is not good. We do not pass transaction context to each method, the server has mechanism for it (by the way, in IIOP protocol implementation transaction and security contexts are not passed, we have implemented it). Of course I can create interceptor for my client session's pass from client to server implicitly. My question was if there are any ways to store client session in server. Haven't it been needed by anyone so far? :-) Thanks again. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825091#3825091;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825091Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: startSchedule in Scheduler throws NullPointerException
Hmm.. Looks like no one is interested in solving this problem. I did notice similar posts go unanswered as well. Well.. I gave up on JBoss Scheduler. I was able to get Quartz Scheduler work the very first time. Hats off to Quartz. Hopefully JBoss will integrate Quartz Scheduler replacing its own. - VM a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825092#3825092;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825092Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Jboss start up time?
Hi, I have just started using JBoss, and notice that starting JBoss takes about 3-4 minutes. With other app servers I have noticed start up time is much shorter. is this regular with JBoss or is there something I can do with run.sh to tweak up my start time? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825093#3825093;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825093Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Logical mapping of PK Class
Bump. Having same problem with 4.0.0DR2 but not with 3.2.3. I've tried changing my Java type for the pk-field to java.lang.Integer, java.lang.Long, long, and int and also tried using alternative column-types such as BIGINT, INTEGER, etc. but the problem persists. -Jason a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825094#3825094;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825094Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: HTTPServerILServlet throws exception after client discon
My guess, this is because of an attempt to forward a message to the client that was previously connected. If this is the case, I think the server should not complain so loudly. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825095#3825095;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825095Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Please help w/ ldaploginmodule
I got it working. The created a user in AD with the correct permissions. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825096#3825096;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825096Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JDBC persistence
Hi, I am in the process of using JBOSS 322 for JBOSSMQ need some info ASAP please let me know: steps - Settingup oracle for persistance with and other configurationfo - How to set the MDB pool info in configuration a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825097#3825097;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825097Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [News Announcements] - JBoss Open House - Hannover CeBIT, March 20, 2004
Considering using JBoss for your next project? Want to know more about the future of JBoss? Want to meet with JBoss? The Open House is designed to introduce the busy professional to JBoss. We will speak both about technical and business aspects as well as introduce our business partners to you. Our parners provide both local presence and added-value software on top of JBoss and are the best qualified link between your company and the JBoss team. Attendees: Marc Fleury, CEO and Founder Juha Lindfors, Director of Training Sacha Labourey, General Manager EMEA, clustering lead Thomas Diesler, Web Services lead Wieland Volkert, Director of Sales and Business Development EMEA Check the agenda for more information (http://www.jboss.com/index.html?module=htmlop=userdisplayid=BC/CeBIT04) Registration is FREE but mandatory. See you at CeBIT! a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825098#3825098;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825098Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Installation Configuration] - Apache+Jboss-Tomcat with mod_jk2
dkdkdk wrote: i want to bundle Apache+Jboss-Tomcat with mod_jk2 on linux OS(eg RedHat 9.0 etc..).. but i can't find mod_jk2 file in apache website, i only find mod_jk2 for win32 and solaris...faint. mod_jk2 is part of Tomcat distribution. Look at jakarta-tomcat-connectors-4.1.30-src.zip You have to compile it yourself. Here is how I did this for Apache 2: cd ../jakarta-tomcat-connectors-4.1.26-src/jk/native2 ./buildconf ./configure --with-apxs2=/opt/httpd-2.0.48/bin/apxs make cp ../build/jk2/apache2/mod_jk2.so /opt/httpd-2.0.48/modules libtool --finish /opt/httpd-2.0.48/modules Vlad and i want use the tomcat user control functions..but i haven't got the way that implement the user control functions . by the way, i haven't carried oute the IP access control(different users access different web directory ,eg user1 can only access dir1, or user2 can only access dir2...etc..) with jboss-tomcat either. With the help of those people here, but i still haven't few ideas to come those functions true, by now.. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825021#3825021;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825021Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - jk2 - local worker?
i'm getting a 500 error in one frame of a page (DB query results) when i deploy to a 2 node cluster - 3.2.3 and jk2.0.2. it only happens on the initial page load - when i reload the page the frame draws correctly. i never see the error when i deploy non-clustered. i was wondering if it has something to do with localworker as i don't see how to call that out for jk2? thank you, and best of luck -mike (i'm not understanding everything i know about the subject) 500 error snips: javax.servlet.ServletException at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486) root cause java.lang.NullPointerException at com.healthcare.web.model.PatientIdentificationSelectionMD.(PatientIdentificationSelectionMD.java:53) at com.healthcare.web.action.PatientListAC.execute(PatientListAC.java:100) a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825100#3825100;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825100Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Performance Tuning] - Jboss JVM option -Xmx -Xms
sumesh_ps wrote: In our production server ,Server have 4GB RAM in that 1.We tried with -Xms512m -Xmx512m then what happed one or two hours after restarting again system hangs up and users not able to get the page. 2.Then we started testing with bigger value that will be most suitable. Finally we have given -Xms:1576 , -Xmx:1576 ,-Xss128k. 3.Now what is happening is Server is running 3,4 days after that free Heap size comes to 150-200m then Server hangs up.Then after restart lot of heap free space and running fine. what may be the possibilities for this issue? Did any gone through situation like this ? Friends suggest some solutions? Thanks in advance I guess, you use 32-bit OS, and this is a problem of JVM instead of JBoss. When you order -Xmx:1576, you allow to allocate _all_ the physically acccessible memory to the heap. As a result, the memory for, say, buffers can't be allocated, and jvm hangs. -Xms does not matter here because linux jvm does not immediately allocate the memory for a heap according to this switch. We use Sun j2re 1.4.2_xx with the following settings in production without problems on 2-way Xeon Red Hat 7.3 boxes. Here is the run.conf fragment: COMMON_OPTS=-Xms1500m -Xmx1500m SUN_OPTS=-server -Xmn30m -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=90 -XX:TargetSurvivorRatio=60 SUN_SMP_OPTS=-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=70 JAVA_OPTS=$COMMON_OPTS $SUN_OPTS $SUN_SMP_OPTS Vlad --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Clustering/JBoss] - farm-service.xml Question
remrick wrote: Hello, I'm using JBoss 3.2.3. I'm currently in the middle of setting up clustering and have a question that's related to the farm-service.xml file. I notice that in the server/all/deploy folder that there exists a deploy.last folder which contains farm-service.xml. Reading the docs it tells me place a farm-service.xml file in the server/all/deploy folder. So... my question is which is it?. Do I keep the file in the deploy.last folder or moce it to server/all/deploy? Keep it there. Docs are outdated :-( --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Error: DefaultJMSProvider not bound
I have an EAR which I've been running with JBoss since the 3.0.0 days. After backing off from 3.2.3 to 3.2.1 due to some unrelated problems with Tomcat (3.2.1 is the last release using Jetty), I'm getting the Error Set below if my EAR and service.xml is already in the deploy directory when I start JBoss. If it isn't, and I copy the files to the deploy directory after it's up, there's no problem. The two files that get copied are the EAR and a jbossmq-WDRequestQueues-service.xml file which defines the message queue used by the MDB. I'm thinking that maybe JBoss is trying to deploy these in the wrong order. When I install the application into a clean server, I'm using an Ant script which copies the service.xml file first, waits a bit, and then copies the EAR. In the error scenario, both files are in the deploy directory at startup. Thanks for any help Error Set: = 11:59:55,749 INFO [MessageDrivenContainer] Starting 11:59:55,753 INFO [JMSContainerInvoker] Starting 11:59:55,753 ERROR [JMSContainerInvoker] Starting failed javax.naming.NameNotFoundException: DefaultJMSProvider not bound at .. 12:00:01,523 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:jndiName=local/WDRequestRQDriverMessageBean,service=EJB state: FAILED I Depend On: Depends On Me: javax.naming.NameNotFoundException: DefaultJMSProvider not bound] 12:00:01,538 INFO [URLDeploymentScanner] Started 12:00:01,554 INFO [MainDeployer] Deployed package: file:/data/jboss/jboss-3.2.1/server/default/conf/jboss-service.xml 12:00:01,557 INFO [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)] Started in 21s:923ms == a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825101#3825101;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825101Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - log4j and i18n
hi does anybody know is it able to configure logging output to print message in utf8 now, when print something like log.info(some unicode escape) or simpler System.out.println(\u***) in console and log files looks like ? ??? (and,of course it's not a compile error ). My platform JBoss 3.2.3 and Windows2000 a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825102#3825102;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825102Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Authentication - some basic questions
Currently, Nukes authenticates again an internal table. There has been some discussion about using LDAP for authentication, http://www.jboss.org/indtex.html?module=bbop=viewtopicp=3823618#3823618 but this has not happened yet. Sherman a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825104#3825104;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825104Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Property files and JBoss !!!
Thanks a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825105#3825105;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825105Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] DOCTYPE without network
Title: Message JBoss implements an Entity Resolver which will retrieveknown DTDs from a local resource. If this is not happening, the most likely scenario is that you've mistyped the SYSTEM id? -- Danny Yates -Original Message-From: Eric J Kaplan [mailto:[EMAIL PROTECTED] Sent: 10 March 2004 17:17To: [EMAIL PROTECTED]Subject: [JBoss-user] DOCTYPE without network I asked this question on the forums with no answer. What do you do if you are not connected to the network yet you have ejb-jar.xml declare DOCTYPE...java.sun.com? Is there any way to turn off the validation on the server? It complains if there is no DOCTYPE in the deployment descriptors. Hardcoding an "alternative" location is not an option. Regards Eric J. Kaplan Notice to recipient: The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, N.A., London Branch, Banc of America Securities Limited and Banc of America Futures Incorporated are regulated by the Financial Services Authority.
[JBoss-user] [JBoss.NET SOAP] - Hotfix for JBoss 3.2.3 simpleContent WSDL bug
Hey guys, I just posted a hotfix for the JBoss 3.2.3 simpleContent WSDL bug on my weblog and though some of you might find this useful. Here it is: http://www.martinmay.net/archives/11.php Enjoy, Martin a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825107#3825107;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825107Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - problem with unicode database application
hi all I'm trying to have a unicode enabled database for the web site I'm developing. The current installation is jdk1.4, postgres 7.3.2, jboss 3.2.3 on redhat linux9.0. The unicode seems to work well with normal jsp files with resource bundles. But when I try to input unicode characters into the database, the unicode data is not stored the way I expect. instead all unicode input is sored as a weird character resembling 'a'. few of my concerns include I input the unicode characters into form fields using my own javascript keypad(displays unicode characters when keys are pressed). So, if I understand clearly, its ok only for the browser frontend. So, immediately if I access the same unicode input from my servlet program and output the same in a console, its displaying junk. is it that my linux machine has some part to play in handling unicode? I set the database encoding to unicode while creating the database. I'm also not sure whether the database is working the way I intended because, each unicode character is stored as a 3 character length weird data resembling an 'a' which supposedly be 1 character length. my point is, even though there is problem inbetween while storing and retrieving the data from a database, it shouldn't matter because the brower is the one which takes the unicode input and it is the one which should display the retrieved data( which is not understood by my machine). I doubt, the unicode data is garbled when my machine handles the unicode data it gets from the browser. did i miss anything? any suggestions or comments?? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825108#3825108;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825108Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [Beginners Corner] - Jboss start up time?
The average box will start JBoss in about 10 seconds. With a large application (several hundred EJBs and hundreds of pages and servlets) it can take a minute or more. I cannot speak to other servers in general but WebLogic takes two or three times longer. JBoss is faster because the EJB precompilation phase is not required. How much memory are you allocating JAVA_OPTS? That might be the culprit. -Original Message- From: jagdeep [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 8:58 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Beginners Corner] - Jboss start up time? Hi, I have just started using JBoss, and notice that starting JBoss takes about 3-4 minutes. With other app servers I have noticed start up time is much shorter. is this regular with JBoss or is there something I can do with run.sh to tweak up my start time? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825093#3 825093View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp= 3825093Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JDBC persistence
Can't help with the Oracle integration, but I can with where to configure your MDB pools. There are two basic ways to accomplish this. If you wish to use the JBoss defaults and just tweak the settings, then go to the server//conf/standardjboss.xml file and look at both the proxy-binding-config named message-driven-bean and the container-configuration titled Standard Message Driven Bean. Here you will find the settings for the pooling and various other settings as well. Keep in mind, these are static configurations that cannot be tweaked fully at run-time. The upcoming 3.2.4 release will expose some of these settings for run-time tweaking. You can also deploy new invoker-proxy-bindings and container-configurations along with your EJB's jboss.xml file. If you use XDoclet to generate jboss.xml for your EJB's you'll need to use the merge file functionality and put the invoker-proxy-bindings and container-configuration xml in a file named jboss-container.xml and store it in the merge directory you point your XDoclet JBoss sub-task at. Bundling these in the EJB jar allows you to change the settings and re-deploy without having to restart JBoss. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825109#3825109;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825109Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Jboss start up time?
On my P4 1.7ghz W2K box with 512mg of RAM, the default JBoss target starts in about 1 minute. The All target is slightly longer because it deploys more services then default does. This, of course, will change as you add or take away services from your own custom target. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825112#3825112;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825112Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Is it possible to delay delivery on a rollback?
If I rollback a message via setRollbackOnly() is there a way to delay the redlivery to my MDB so its not immediate? I know with Weblogic they added a proprietary method so you could set a delay value and I didn't know if there was something like that in JBoss? Thanks a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825113#3825113;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825113Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Beginners Corner] - Jboss start up time?
Rod Macpherson wrote: The average box will start JBoss in about 10 seconds. With a large application (several hundred EJBs and hundreds of pages and servlets) it can take a minute or more. I cannot speak to other servers in general but WebLogic takes two or three times longer. JBoss is faster because the EJB precompilation phase is not required. How much memory are you allocating JAVA_OPTS? That might be the culprit. May be the cause is farming. If he uses farm service it can take much longer to start because all instances have to initiate connection, compare and download farmed applications. Vlad -Original Message- From: jagdeep [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 8:58 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Beginners Corner] - Jboss start up time? Hi, I have just started using JBoss, and notice that starting JBoss takes about 3-4 minutes. With other app servers I have noticed start up time is much shorter. is this regular with JBoss or is there something I can do with run.sh to tweak up my start time? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825093#3 825093View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp= 3825093Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Using two Oracle connections in a Stateless Session bean met
I am trying to connect to two databases and I get the following error message. The first connection works fine, but if I try to connect to second databse it fails. Connecting to any one database works. Any help? 14:53:33,102 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/deploy/CDSexcep.ear 14:53:33,102 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL 14:53:33,133 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/conf/jboss-service.xml 14:53:33,133 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 14s:609ms 14:53:39,008 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true 14:53:39,039 INFO [RequestProcessor] Processing a 'GET' for path '/pendingListAction' 14:53:41,930 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true 14:53:41,930 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 14:53:41,930 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true 14:53:41,930 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true 14:53:41,945 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true 14:53:41,945 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true 14:53:41,945 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true 14:53:44,195 INFO [RequestProcessor] Processing a 'GET' for path '/pdMatchListAction' 14:53:44,195 INFO [STDOUT] After Create 14:53:44,211 INFO [STDOUT] select distinct ind_id,recnr,fname,mname,lname,institut1 from pd_rvwr where recnr=0 and ind_id in (500,500) 14:53:44,461 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=ISTM4212NMARRI//25, BranchQual=] errorCode=XAER_RMERR oracle.jdbc.xa.OracleXAException at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1159) at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:311) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:143) at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1148) at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:636) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:455) at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:483) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) at istm.cds.facade.CdsManualProcessBean.getConnection(CdsManualProcessBean.java:488) at istm.cds.facade.CdsManualProcessBean.getPdMatchList(CdsManualProcessBean.java:348) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:267) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:700) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
[JBoss-user] [Beginners Corner] - How to develop JBoss client application in C++
Hi, I have developped a data processing software in C++. Now, if I want to expand it to a 3 tired system, using JBoss as application server linking a database at backend, my C++ program as client application. May I know how the C++ program talk to this JBoss application server? Thank you! a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825118#3825118;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825118Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] deployment question
what kind of access ? On Mar 10, 2004, at 3:08 PM, [EMAIL PROTECTED] wrote: Hi all, I have two ear files. In EAR A i need to access a sessionbean which is in EAR B. How can this be achieved? Thanks in advance, Regards, Harm de Laat Informatiefabriek The Netherlands
Re: [JBoss-user] ModelMBean not calling store in jboss 3.2.3
If you implement the model mbean interface yourself, rather than use the existingimplementation, then you're in charge of calling load() and store() at appropriate times -- there's no notion of a container in the JMX spec. -- Juha On Wed, 10 Mar 2004, Marco Mistroni wrote: Hi all, To get acquainted with ModelMBean and persistence, I have written A very small ModelMBean that implements the PersistenceInterface, and I have Written dummy load() and store() to see when those two methods are called. My assumption is that load() was called when the MBean was deployed.. I built a sar and dropped into the deploy directory. However, as I could see from the logs, the load() method is never called.. Anyone can help me out? Here is the code of my ModelMbean, along with its descriptor.. /* * Created on Jun 25, 2003 * * To change the template for this generated file go to * WindowPreferencesJavaCode GenerationCode and Comments */ package com.marco.config; import javax.management.*; import java.util.Date; import java.util.Vector; import java.util.Set; import java.util.Hashtable; import java.util.Properties; import javax.management.timer.*; import java.lang.reflect.*; import org.jboss.mx.util.*; import javax.management.modelmbean.*; /** * @author mistroni * * To change the template for this generated type comment go to * WindowPreferencesJavaCode GenerationCode and Comments */ public class MyTimer extends org.jboss.system.ServiceMBeanSupport implements ModelMBean { private MBeanServer server; private ObjectName timer; private int timeout; private int repetitions; protected ModelMBeanInfo modelMBeanInfo = null; protected Hashtable attributes = new Hashtable(); protected Hashtable notifications = new Hashtable(); protected Hashtable constructors = new Hashtable(); protected Hashtable operations = new Hashtable(); protected String description = Description of MBean; public MyTimer() { System.err.println(MyTimerService MBean created...); try { addMBeanInfoData(); } catch(Exception e) { System.err.println(Got exception in intializing MyTimer\n + e.toString()); } } /** Persistence Interface */ public void load() throws MBeanException, InstanceNotFoundException { System.err.println( HERE WE SHOULD LOAD MBEAN DATA!); } public void store() throws MBeanException,InstanceNotFoundException { System.err.println( HERE WE SHOULD STORE MBEAN DATA!); } /** ModelMBean interface */ public void setModelMBeanInfo(ModelMBeanInfo inModelMBeanInfo) throws MBeanException { modelMBeanInfo = inModelMBeanInfo; } public void setManagedResource(Object mr, String mr_type) throws MBeanException {} public ModelMBeanInfo getModelMBeanInfo() { buildDynamicMBeanInfo(); return modelMBeanInfo; } // ModelMBeanBroadcaster interface public void addNotificationListener(NotificationListener l, NotificationFilter f, Object hback) {} public void removeNotificationListener(NotificationListener l) throws ListenerNotFoundException {} public void addAttributeChangeNotificationListener(NotificationListener l, String attributeName, Object hback) throws MBeanException {} public void removeAttributeChangeNotificationListener(NotificationListener l, String attributeName) throws MBeanException, ListenerNotFoundException {} public void sendNotification(String message) throws MBeanException {} //public void sendNotification(Notification notif) throws MBeanException {} public void sendAttributeChangeNotification(AttributeChangeNotification notif) throws MBeanException {} public void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) throws MBeanException {} public MBeanNotificationInfo[] getNotificationInfo() { return new MBeanNotificationInfo[]{}; } //Here we add informations to be used in MBeanInfo. // we have to add all operations, attributes and notifications // that our MBeab will have. private void addMBeanInfoData() { System.err.println(Adding mbeaninfo data..); // Adding operation addNotification Descriptor d = new DescriptorSupport(); d.setField(name,testPrint);
[JBoss-user] [Installation Configuration] - Configuration and installation on Conectiva Linux
Hi, has anyone tried to run jboss 321 on Conectiva Linux ( it's a based Red Hat system ). I can't get it running... a lot of exceptions! Thanks, ltcmelo a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825119#3825119;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825119Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JMS over SSL
Hi, I have JNDI and JMS running over HTTP. All fine. But I would like to move on to HTTPS and am facing problems. Any help would be gr8. Kinda stuck. I have modified the SSl connector configuration in jboss-service.xml in jbossweb-tomcat41.sar\META-INF Its now as shown below. Connector className = org.apache.coyote.tomcat4.CoyoteConnector address= port = 8443 scheme = https secure = true Factory className = org.apache.coyote.tomcat4.CoyoteServerSocketFactory keystoreFile=/conf/server.keystore keystorePass=changeit protocol = TLS/ I am able to telnet into my machine on port 8443 from another machine, and when i start up the browser and try going to https://192.168.x.y:8443/ from that remote machine, it shows up the Security Alert prompting me abt the certificate, though it goes on to say HTTP Status 500 - No Context configured to process this request, which shouldnt be a problem I guess. Atleast the server is accepting https reuqests. However, when I startup my JMS client and try to connect to the server, I get the following exception, when I try to do a JNDI lookup using the file jndi.properties shown below javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.io.IOException] jndi.properties #java.naming.provider.url=http://192.168.3.42:8080/invoker/JNDIFactory java.naming.provider.url=https://192.168.3.42:8443/invoker/JNDIFactory java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces The JNDI lookup works with the http line tho if the https one is commented. I would be grateful if someone could guide me along a lil. Thanks a lot, Rajesh Mathew. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825120#3825120;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825120Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Multicast JMS
Thanks for the quick reply. What can I expect in this new implementation? Will true hardware multicast be available with the JMS? When can I expect an officially stable release? Am I currently multicasting with that old version? Can I get some documentation? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825121#3825121;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825121Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Flooding JBossMQ hangs Linux - What is recommended?
We have a few application servers in production which have locked up so that we cannot bring up a bash shell. They would only lock up after many days of running. The logs did not show anything conclusive, each crash has a different sequence prior to the crash in the log. After trying many different things we believe that we have reproduced the problem on our test machine by writing a module that place our messages on a queue. We can lock up the full machine in a few minutes by running a large load test. We are using MSSQL 2000 for our regular database on a separate machine, but we are using the hypersonic for the message queue. As I reread the FAQ I noticed the line that states: NOTE: hypersonic is NOT recommend for production see docs/examples/jms for alternate db configurations What is the recommended database? Are all of the other choice equal? If so, why does JBoss come with Hypersonic as the default? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825122#3825122;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825122Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Upgrade from 3.0.6 to 3.2.3 breaks trivial ejbSelect
Upgrading from 3.0.6 to 3.2.3 results in a null pointer exception in the generated code of the following trivial ejbSelect method: query-method method-nameejbSelectFoo/method-name method-params method-paramjava.lang.Integer/method-param /method-params /query-method ejb-ql![CDATA[SELECT OBJECT(f) FROM Foo f WHERE f.fooId =?1]]/ejb-ql I verify that I'm not passing a null argument before trying to call ejbSelectFoo. Any ideas, other than the obvious one of reverting to 3.0.6? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825123#3825123;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825123Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] n:1 unidirectional CMR with xdoclet
Hi, I'm trying for hours but can't get it working. I'm new to EJB an xdoclet. Why does the following not work? I need an unidirectional n:1 relation between the following tables. Xdoclet-tags and jboss-output are below. Table: address (many fields - not important) country (the country-code) Table: country short (the country-code) long (the country-name) Thanks in advance! Thomas # AddressBean.java # /** * @ejb.interface-method view-type=both * @ejb.persistence * column-name=country * jdbc-type=VARCHAR * @ejb.relation * name=Address2Country * role-name=Adress has a country * target-multiple=yes * target-ejb=Country * target-role-name=Country is needed by many Adresses * @jboss.relation * fk-constraint=true * fk-column=country * @jboss.target-relation * related-pk-field=shortName */ public abstract CountryLocal getCountry(); /** * @ejb.interface-method view-type=both */ public abstract void setCountry(CountryLocal country); # CountryBean.java # /** * @ejb.pk-field * @ejb.persistence * column-name=short * jdbc-type=VARCHAR * @ejb.interface-method view-type=both */ public abstract String getShortName(); /* * read-only */ public abstract void setShortName(String shortName); # JBOSS output # MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:jndiName=AddressHomeRemote,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Role 'Adress has a country' on Entity Bean 'Address' : CMP field for key not found: field name='shortName', ObjectName: jboss.j2ee:jndiName=CountryHomeRemote,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Role 'Adress has a country' on Entity Bean 'Address' : CMP field for key not found: field name='shortName', ObjectName: jboss.j2ee:jndiName=TicketHomeRemote,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Role 'Adress has a country' on Entity Bean 'Address' : CMP field for key not found: field name='shortName'] --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [Beginners Corner] - How to develop JBoss client application in C++
In more general terms you want to interface with objects in a running JVM: http://java.sun.com/docs/books/tutorial/native1.1/ -Original Message- From: richardander [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 11:42 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Beginners Corner] - How to develop JBoss client application in C++ Hi, I have developped a data processing software in C++. Now, if I want to expand it to a 3 tired system, using JBoss as application server linking a database at backend, my C++ program as client application. May I know how the C++ program talk to this JBoss application server? Thank you! a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825118#3 825118View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp= 3825118Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [Beginners Corner] - Re: Jboss start up time?
JBoss 3.2.3 2.0 Ghz XP box with 1G RAM in non-debug mode: 15 - 20 seconds. Definitely slower than 3.X was which usually clocked in at 12 seconds. My home system has a faster hard-drive, it still takes 12 seconds to load the default. -Original Message- From: duslow [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 11:16 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Beginners Corner] - Re: Jboss start up time? On my P4 1.7ghz W2K box with 512mg of RAM, the default JBoss target starts in about 1 minute. The All target is slightly longer because it deploys more services then default does. This, of course, will change as you add or take away services from your own custom target. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825112#3 825112View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp= 3825112Reply to the post/a --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JSP compile problem JBoss 3.2.3
Hi all, I have a kinda annoying problem on JBoss 3.2.3 w/ Tomcat 4.1 on a Debian system when I go to start the jmx-console. It appears to be caused by Jasper trying to write a temporary file in whatever directory I started Jboss from. Keep in mind I have jboss running as a jboss userid. The simple solutions are start jboss from a directory where that user can write, or open that directory up to that user for write privleges. I'd rather have a better solution of how to direct JBoss/Tomcat/Jasper to write to a directory of my choosing to which I've given my jboss userid permission to write. I've tried editing $JBOSS_HOME/server/default/deploy/jbossweb-tomcat41.sar/web.xml to add a scratchdir parameter for Jasper, with no luck. I've also played around with $JBOSS_HOME/server/default/deploy/properties-service.xml to try and set the java.io.tmp property, which also didn't work. I've also tried searching all the jboss doco I have (3.2.1 admin devel book) and the forums and have come up empty, and its bugging me because I'm thinking this has to be simple. Any help would be appreciated. Thanks, Eric Attached is the snippet of the exception from server.log. 2004-03-10 20:54:38,822 DEBUG [org.apache.tomcat.util.threads.ThreadPool] Getting new thread data 2004-03-10 20:54:45,252 INFO [org.jboss.web.localhost.Engine] Error compiling file: /usr/share/jboss-3.2.3/server/default/work/MainEngine/localhost/jmx-console/index_jsp.java [javac] Compiling 1 source file 2004-03-10 20:54:45,255 INFO [org.jboss.web.localhost.Engine] Info: Compile: javaFileName=/usr/share/jboss-3.2.3/server/default/work/MainEngine/localhost/jmx-console/index_jsp.java