[JBoss-user] [JBoss Getting Started Documentation] - I have an ant problem

2004-04-14 Thread rastas
C:\workbook\ex04_1>ant java.lang.InstantiationException: org.apache.tools.ant.Main at java.lang.Class.newInstance0(Class.java:291) at java.lang.Class.newInstance(Class.java:259) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) at org.apache.tools.ant.la

[JBoss-user] [Performance Tuning] - Re: Bad performance in cluster configuration

2004-04-14 Thread mregazzi
"Sacha Labourey" wrote : Can you make sure the clustering is up? what is displayed by jboss when it you start up the second node? Hi and thank you for your answer. Here is what you can see on the second node (just last lines, if you need all the log just ask me for it): 08:06:34,446 INFO [Ser

[JBoss-user] [Security & JAAS/JBoss] - Re: j_security_check & Struts

2004-04-14 Thread ant
I am using completely struts with templates (a kind of tiles) except for the login screen. Because the loginpage is handled by the webcontainer this page is the only one which is written "manually" in html. If you cannot go this way you can do the JAAS-authentication by writing a filter. Here is

[JBoss-user] [Persistence & CMP/JBoss] - Re: Primary Key Generation for SQL2000 and JBoss 3.2.3

2004-04-14 Thread dvk78
Hi Rolf, Im a newbie and Ive a problem when i try to connect to a SQL2000 server from my bean in jboss. I get the error that the datasource is not bound. My jbosscmp-jdbc.xml is as follows : MSSQLDS MS SQLSERVER2000 foreign-key Plant PLANT PLANTID PLANTID . . .

[JBoss-user] [Nukes User] - Re: How to add a link in blocks?

2004-04-14 Thread seenu78
hi, I am talking abt this only..I think there is some communication gap(sorry for that).. A HTML file stored in the Nukes document repository(that's what I meant in my query). When you create a HTML page in the HTML module, you give it a name, like '/mypage'. I want to add this url(link) into

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

2004-04-14 Thread xsam_jboss_user
hi, I have further noticed that JBoss shuts down properly after commenting HAJNDI service from cluster-service.xml, hence suggesting that it hangs while stopping HAJNDI service. It's also evident form above log. Any information or suggestion will be of gr8 use. Thanking in advance. Vie

[JBoss-user] [Installation & Configuration] - Doesn't log to console, log4j.xml seems fine... please help.

2004-04-14 Thread eydelber
Hi, I would really like for JBoss to log to the console as well as server.log. I've looked at the log4j.xml file, and I really cannot see why it is not logging to the console. Please help! log4j.xml: | | | | | | | | | | | | | http://jakarta.apache.org/log

[JBoss-user] [Installation & Configuration] - JBoss 3.2.1 Deployment Issues on itanium.. URGENT!!!!

2004-04-14 Thread pawanraj
Hi our production server has the followin configuration 4 Itanium 64-bit CPU with 1.3 GHz 8 GB RAM Linux Adv Server 2.1 with kernel 2.4.9-e.3 j2sdk1.4.2_04 - downloaded from sun's website jboss3.2.1 On starting jboss, we get the foll errors... 19:13:3

[JBoss-user] [Nukes User] - How to add content to Nukes Block

2004-04-14 Thread mlsreekanth
Hi all, I am new to Nukes. I created a block "say MyBlock". Now, i want to add content to that block. Kindly, guide me through the steps required. Thanks in advance Srikanth View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830683#3830683 Reply to the post :

[JBoss-user] [Beginners Corner] - No Hypersonic - help i've tried all solutions...

2004-04-14 Thread tkmetta
Hi all, I can't find service=Hypersonic - I'm using jboss3.2.3 I've searched for this topic & viewed & tried all the ans, but unfortunately i still cannot see the service=Hypersonic in my http://localhost:8080/jmx-console/index.jsp. N.B. I've tried many times with different combinations, unco

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-14 Thread [EMAIL PROTECTED]
No, the issue the is fact that a virus utility found a binary fragment that matches an OS specific virus marker in a java class file is the issue. This means nothing since the native code cannot be executed from the class file. In order for a java class to exectue native code it must callout thr

[JBoss-user] [Installation & Configuration] - Re: How can I run jboss on IBM AIX 4.3.3 use ibm jdk1.3.1.0

2004-04-14 Thread xparam
please help me I install jboss-3.2.1 on AIX 4.3.3 (use ibm jdk 1.3.1.0) jar xf jboss-3.2.1.zip start jboss: $cd jboss-3.2.1/bin $./run.sh 11:24:40,842 INFO [ServerSessionPoolLoader] Started 11:24:40,864 INFO [MessageCache] Starting 11:24:40,867 INFO [MessageCache] Started 11:24:

[JBoss-user] [Nukes User] - Next Stable Version

2004-04-14 Thread justinhunt
It seems like a lot of modules are undergoing work and some structural changes are happening since 1.0. So I am a bit worried about investing a lot of time in getting 1.0 going on my server, if a bigger and better version is coming along. Are we execting a release of the next stable version anyt

[JBoss-user] Testing

2004-04-14 Thread Antony Paul
Hi all, This is to know if I post to this list by e-mail do others see this mail ?. I asked a question in this list but it didn't appeared in the list. I subscribed to this list from sourceforge.net. Is this the right way to post to this list ?. Or is there any other good JBoss mailing list. I d

[JBoss-user] [Nukes User] - Re: How to add a link in blocks?

2004-04-14 Thread sgwood
What I think Jae means is: Is the HTML coming out of a document in the Nukes document repository, or is it static content bundled in a Nukes related JAR/WAR? I think you are talking about the first - a HTML file stored in the Nukes document repository. When you create a HTML page in the HTML mo

[JBoss-user] [Performance Tuning] - "optimizeit" Performance testing of JBoss/JMS

2004-04-14 Thread genman
Although I would like it if my company would spare $700 on OptimizeIt, they're fairly cheap. Has anybody on the JBoss side of the fence (if there really was a fence) done any performance analysis with JMS on 3.2.3? Specifically interesting to me would be: 1. JVM IL with medium-sized text mes

[JBoss-user] [Nukes User] - Re: How to add a link in blocks?

2004-04-14 Thread seenu78
Hi, Whether the page may be dynamic or static..that is not an issue. Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830674#3830674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830674 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS 3.2.3 with Linux Red hat 9 and java 1.4.2...

2004-04-14 Thread genman
I haven't seen problems with Redhat 9 and blackdown, using JMS and Oracle and lots of MDBs and threads for the last 4-5 months. But your milage may vary. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830675#3830675 Reply to the post : http://www.jboss.org

[JBoss-user] [JCA/JBoss] - Re: can not find UserTransaction

2004-04-14 Thread autocrab
It seems i configured my bean as BMT View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830673#3830673 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830673 --- This SF.

[JBoss-user] [JCA/JBoss] - Re: can not find UserTransaction

2004-04-14 Thread autocrab
I have add mysql-connector-java-3.0.11-stable-bin.jar under JBOSS_HOME\server\default\lib and mysql-ds.xml under JBOSS_HOME\server\default\deploy, the hibernatecfg.xml is | | http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd";> | | | | | |

[JBoss-user] [Nukes User] - Re: JSP's?

2004-04-14 Thread nickf
Thanks for the link. Nick View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830670#3830670 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830670 --- This SF.Net email

[JBoss-user] [Security & JAAS/JBoss] - Re: request.getUserPrincipal returns null

2004-04-14 Thread [EMAIL PROTECTED]
A JAAS login in a filter does not affect the request getUserPrincipal value as this is only set in the web container has authenticated the caller and this occurs before the filter is called. The only way getUserPrincipal returns non-null is when secured content is being accessed. View the origi

[JBoss-user] [Installation & Configuration] - How can I run jboss on IBM AIX 4.3.3 use ibm jdk1.3.1.0

2004-04-14 Thread xparam
How can I run jboss on IBM AIX 4.3.3 use ibm jdk1.3.1.0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830668#3830668 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830668 -

[JBoss-user] [Management, JMX/JBoss] - Re: where to place my logging.Logger.pluginClass

2004-04-14 Thread [EMAIL PROTECTED]
Your logger plugin needs to be in a jar in JBOSS_HOME/lib and this needs to be added to the bootstrap classpath by passing in a -L jarname. Here is an example of using custom logger plugin which uses the JDK java.util.logging framework: | [EMAIL PROTECTED] bin]$ run.sh -c minimal -L logger.ja

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB with JBoss

2004-04-14 Thread [EMAIL PROTECTED]
I've just exanded on the networking FAQ question, there are now lots of things for you to investigate. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830666#3830666 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830666

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB with JBoss

2004-04-14 Thread [EMAIL PROTECTED]
Please stop and think for one second before posting useless information. You don't have an entry for your host name or ip address in your host table, so where it is coming from? DNS/DHCP? Wherever it is coming from has broken configuration. Try running a basic test like | import java.net.InetA

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB with JBoss

2004-04-14 Thread danb99
My hosts file has just one entry: 127.0.0.1 localhost Any other suggestions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830664#3830664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830664

[JBoss-user] [Persistence & CMP/JBoss] - examples using max in jboss-ql

2004-04-14 Thread DigCamara
Hi. I have been trying to find some kind of reference that defines JBOSS-QL. (If XDoclet Documentation is to be believed, it's actually a superset of EJB-QL). If that is true, how is it defined? I found the BNR of EJB-QL, but the "superset" is nowhere around... Failing that, has anyone a usable

[JBoss-user] [Security & JAAS/JBoss] - Re: request.getUserPrincipal returns null

2004-04-14 Thread gfzhang
It seems that the request.getUserPrincipal() will return non-null value only when you request the protected resource secured by in web.xml on JBoss even if the user sent the request has been authecticated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Security & JAAS/JBoss] - request.getUserPrincipal returns null

2004-04-14 Thread jbosslogin
Hi, I am using JBOSS 3.2.3. I have a filter to do programmatic login. I have DatabaseServerLoginModule configured in the login-config.xml, and I do authentication using loginContext. Right after I get authenticated, if I call request.getUserPrincipal(), it returns null. I would like to know, if

[JBoss-user] [Security & JAAS/JBoss] - Re: ssl config in Jboss-tomcat

2004-04-14 Thread erik777
I'm curious, what are the benefits of using SSL in Tomcat instead of Apache? I'm wondering if it overcomes any of Apache's limitations. The primary limitation in Apache is that named virtual hosts doesn't work, although you can still use IP or port virtual hosting. Does named virtual hosting w

[JBoss-user] [Security & JAAS/JBoss] - Setting up SSL for the remote calls made to EJBs

2004-04-14 Thread Pulkit
Hello everyone, I have been to many sites and most of them teach how to secure the tomcat using ssl which makes https connections secure. But I feel like something is missing. What if the bean I want to deploy doesn't neccessarily use the https. I mean what if I am just writing an ejb-jar.xml fo

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JBoss HTTP Service not responding

2004-04-14 Thread sverker
Hi, a correction on my earlier post. I'm still experiencing the problem with Tomcat 5. Doing a thread stacktrace shows that there are plenty of http worker threads idling as the trace below shows, but still I don't get any response. | "http8080-Processor1" daemon prio=1 tid=0x0817d8f0 nid=0x5a

[JBoss-user] [JCA/JBoss] - Re: 3.0.6 vs 3.0.7 CachedConnectionManager Problem

2004-04-14 Thread [EMAIL PROTECTED]
And do you see the same thing with 3.2.3? 3.2.1 is nearly a year old - there have been a lot of fixes since then (including a major reworking of the architecture for performance). The original problem on this thread was solved by this fix. http://cvs.sourceforge.net/viewcvs.py/jboss/jbosscx/src/

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-14 Thread erik777
I'll check it tomorrow, and post the results. I highly suspect that these are false positives, but not for the same reason as you. I get the impression you're still caught up on the fact that it reported BAT (win32), which is OS dependent. The point I made in the previous post is that Java cod

[JBoss-user] [EJB/JBoss] - ejb-local-ref question

2004-04-14 Thread lshepherd
i have a local reference to an entity bean declared in my session bean facade as so: | | ShorexFacade | | ShorexFacade | | com.hal.layne.interfaces.ShorexFacadeHome | com.hal.layne.interfaces.ShorexFacade | com.hal.lay

[JBoss-user] [JCA/JBoss] - Re: 3.0.6 vs 3.0.7 CachedConnectionManager Problem

2004-04-14 Thread tflora
David and All, I am also having this problem with 3.2.1 and Oracle 9i 64 bit client oci drivers. I have done some research and have found the problem. Maybe this will point you to a solution. Following is a snippet from my log that provides some interesting printLn statements that reveal the r

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Which factory for HA-JMS from Java client?

2004-04-14 Thread [EMAIL PROTECTED]
Actually, before posting this thread I bothered to... 1. search every forum and only found information pertaining to this problem on the JMS TODO forum, which was not helpful in determining exactly what is in the latest src drop. 2. to review all release notes on the Wiki. Perhaps, I did not i

[JBoss-user] [Persistence & CMP/JBoss] - jboss see good datasources but use wrong ones

2004-04-14 Thread a_wronski
Hi! I wrote application (ejb/cmp + web/struts, jboss 3.2.3) and it works great. I want to deploy the same application but with different datasource and different layout. So I've changed: - layout (jsp files) - datasource in jbosscmp-jdbc.xml - all jndi-name of all beans to different - and rebui

[JBoss-user] [Clustering/JBoss] - Re: Can't do JNDI lookup for

2004-04-14 Thread LordBritish
Oh yea, I was tring to get "/HAPartition/DefaultPartition". I couldn't get "DefaultParition" because "HAPartition" is not there. Seems mighty odd to me !! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830646#3830646 Reply to the post : http://www.jboss.org

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JBoss 3.2.3, Tomcat 4.1.29 NoClassDefFoundError

2004-04-14 Thread jrinderle
I had the same problem, but found an easy fix! If you repackage the JDOM jar to include the saxpath and jaxen classes, it will work. Create a temp. folder. Extract jdom.jar, saxpath.jar, jaxen-core.jar, and jaxen-jdom.jar into that folder. Now create a new jdom.jar file which contains all of th

[JBoss-user] [Clustering/JBoss] - Can't do JNDI lookup for "/HAPartition"

2004-04-14 Thread LordBritish
I am unable to get access to the HAPartition instance doing a JNDI lookup of "/HAPartition". I'm doing the lookup from within an MBean. I'm running the "all" configuration - run.sh -c all I've tried JBoss 3.2.3 and JBoss 3.2.4RC1. I'm running on a Solaris SPARC Ultra 10. Here's a portion on

[JBoss-user] [Persistence & CMP/JBoss] - Re: Error when running the xdoclet-build.xml file

2004-04-14 Thread sesques
But it is the problem. Look down in your xdoclet-build.xml, you should find > Replace with > because you are using jboss 3.2.3 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830643#3830643 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [HTTPD, Servlets & JSP] - DNS caching

2004-04-14 Thread n_ton
Hi, Our application does a lot of HTTP communication to other systems. We have found that the IP addresses of the hosts we are communicating with are being cached by JBoss. When the IP is changed, we get errors until JBoss is restarted. Is there anyway to turn this off? I would rather that w

[JBoss-user] [Persistence & CMP/JBoss] - Re: Error when running the xdoclet-build.xml file

2004-04-14 Thread cahaverl
I don't think it's correct that the jboss version is the problem-- at least not when I get this xdoclet exception. I'm using jboss 3.2.3, which supports CMP 2. I posted more details of my problem here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48470 Carl View the original pos

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Slow initial request of JSPs using jboss-3.2.1_tomcat-4.

2004-04-14 Thread jdepons
I am also seeing the same behavior (45+ seconds to compile a jsp). The problem only seems to occur on windows. On linux the jsp compile time is 4-5 seconds. Why does it take 20x as long to compile a jsp on windows. Any help is appreciated. jd View the original post : http://www.jboss.org/

[JBoss-user] [Security & JAAS/JBoss] JBoss 3.2.3 - Apache Web Server

2004-04-14 Thread JAIME GOMEZ
Hi People , i have an questions about how config JAAS inside Apache Web Server, in my main page of my web site ( put in Apache ) i want to introduce an username and password , next with an submit to call my application from JBoss ( myapp.war ) but I have problem because I use JAAS ( security proble

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-14 Thread [EMAIL PROTECTED]
Yes, so prove that the virus detector is correctly identifying modified bytecode that is attempting to execute the indicated win32 virus as I don't believe these warnings are correct. The dist jars could be signed to ensure post installation tampering does not occur. View the original post :

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bug in EJB QL compiler?

2004-04-14 Thread sesques
Forget the JBoss code. Your fields originalLanguage and targetLanguage are CMP fields, not CMR. So they are mapped to a column type in your database. How can you define a finder taking parameters which are references to another bean, and compare them to column types. For me, your finder can only

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS bug or tomcat integration?

2004-04-14 Thread [EMAIL PROTECTED]
You have modified the example to use the "my-domain" login configuration instead of the "client-login". As described in the JAAS howto the name passed to the LoginContext maps to the server side login-config.xml login module configuration entry that will be used for authentication. The preconfig

[JBoss-user] [Installation & Configuration] - Re: JBoss deployment issues in production

2004-04-14 Thread soshah
Also where does Jetty create the tmp directory by default. It should be default cause I didnt cahnge any configuration for jetty, Thanks Sohil View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830635#3830635 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Security & JAAS/JBoss] - Re: jaas jsp login problem

2004-04-14 Thread [EMAIL PROTECTED]
For ctx.getCallerPrincipal() to return a value there must be a jboss.xml in the ejb jar specifying the security-domain, and there must be a method-permission that allows access to the caller. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830634#3830634 Repl

[JBoss-user] [Security & JAAS/JBoss] - Re: ssl config in Jboss-tomcat

2004-04-14 Thread [EMAIL PROTECTED]
See: http://jboss.org/wiki/Wiki.jsp?page=SSLSetup View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830632#3830632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830632 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bug in EJB QL compiler?

2004-04-14 Thread ManneF
Hi, Thanks for the reply - sorry about the terse info in my first post. Stepping through the JBoss code, I've found that the cause of the nullpointer is the fact that the getEntity() method in org.jboss.ejb.plugins.cmp.ejbql.ASTPath returns null, because the last object in the fieldList is nei

[JBoss-user] [Installation & Configuration] - Re: JBoss deployment issues in production

2004-04-14 Thread soshah
I dont believe I have any background processes running besides the app server and the database server. the Jboss server is installed as a Windows Service using a wrapper from Tanukisoftware.com WOuld this have anything to do with the problem? View the original post : http://www.jboss.org/i

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss register Weblogic Topic mini-howto

2004-04-14 Thread ftftft
Download JBoss source code. You will find it. "maxi72" wrote : Thanks, where i find the source : | ./server/src/main/org/jboss/jms/jndi/JBossMQProvider.java and | /server/src/main/org/jboss/ejb/plugins/jms/JMSContainerInvoker.java | | i'm using Jboss 3.2.3, and i will connect jboss MDB to

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JasperException: Unable to compile class for JSP

2004-04-14 Thread jdepons
Set the JAVA_HOME property to point at your SDK so that jasper can find the compiler. You don't need the j2ee SDK I have run tomcat in the past on a JRE. Are you saying that the SDK is required to run tomcat? I am getting the same error, but do not want to make the client download the SDK if

[JBoss-user] [Security & JAAS/JBoss] - Re: ConfiguredIdentityLoginModule with Oracle DS

2004-04-14 Thread [EMAIL PROTECTED]
Use the simplified *-ds.xml format. See the jboss-3.2.3/docs/examples/jca/oracle-ds.xml for an example. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830624#3830624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=383062

[JBoss-user] [Management, JMX/JBoss] - Re: JMS JMX Create topic cross restart

2004-04-14 Thread [EMAIL PROTECTED]
No View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830623#3830623 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830623 --- This SF.Net email is sponsored by: IBM Lin

[JBoss-user] [Management, JMX/JBoss] - Re: RMIAdaptor Load balancing?

2004-04-14 Thread [EMAIL PROTECTED]
There is an example in the jboss testsuite http://cvs.sourceforge.net/viewcvs.py/jboss/jbosstest/src/resources/jmx/ha/META-INF/jboss-service.xml?rev=1.2&view=auto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830621#3830621 Reply to the post : http://www.jbo

[JBoss-user] [Security & JAAS/JBoss] - Re: give me 'databaseLoginModule example project' please.

2004-04-14 Thread [EMAIL PROTECTED]
Application code never directly uses any login module so the configuration is all that matters. The JAAS howto shows setting up a web application to delegate authentication and authorization checks to the DatabaseServerLoginModule. If this is not what you want describe the problem in more detail

[JBoss-user] [EJB/JBoss] - Re: A problem on SLSB which contains a database connection

2004-04-14 Thread [EMAIL PROTECTED]
You would also need to mark the resource-ref as Unshareable. You are also missing a close in your passivate so you would very quickly run out of connections. What you are doing is an anti-pattern that is only intended for BMT SFSBs driven by a client (which is highly unscalable). One connection pe

[JBoss-user] [EJB/JBoss] - Re: using JNDI datasource

2004-04-14 Thread [EMAIL PROTECTED]
Download the getting started doco. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830618#3830618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830618 --- This SF.Ne

[JBoss-user] [Security & JAAS/JBoss] - Re: Jboss and Apache and PHP?

2004-04-14 Thread erik777
I can't say it's not possible, as you can now run scripts in Java. You should look at apache's Jakarta projects, as I remember one of them giving the ability to run script languages from a Java web server. I'm not sure if you could extend this to run PHP. Even if you do, how would PHP access

[JBoss-user] [Installation & Configuration] - Re: How to disable all web access features and use JBOSS pri

2004-04-14 Thread [EMAIL PROTECTED]
Why not just change the references to jboss.bind.address to be 127.0.0.1 in jbossweb-tomcatXXX.sar/server.xml meaning it is only available locally? Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830615#3830615 Reply to the post : http://www.j

[JBoss-user] [Installation & Configuration] - Re: JBoss and Log4j

2004-04-14 Thread [EMAIL PROTECTED]
Why would you use jboss specific code if you want portability? Although you can take the jboss classes and include them in your application on other app servers. The main additional functionality is the support for TRACE logging. Regards, Adrian View the original post : http://www.jboss.org/ind

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Configure MDB thread pool

2004-04-14 Thread [EMAIL PROTECTED]
Yes, see the invoker proxy binding configuration. No, it does not use a global thread pool. It is one threaded executor per bean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830613#3830613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: dont recover the unacknowledged messages

2004-04-14 Thread [EMAIL PROTECTED]
Don't use file persistence, it is a legacy configuration that won't be supported for much longer (I don't maintain it even now except when the internal api is changed) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830612#3830612 Reply to the post : http://ww

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: javax.jms.JMSException: Error creating the dlq connectio

2004-04-14 Thread [EMAIL PROTECTED]
See the FAQ topic on enabling TRACE logging to debug the problem. Looks like a typical network misconfiguration (usually /etc/hosts) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830611#3830611 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Which factory for HA-JMS from Java client?

2004-04-14 Thread [EMAIL PROTECTED]
If you'd bothered to look for previous topics on the subject you would have learnt that HAIL is not supported outside the jboss VM. You would also have learnt that there is an updated version in CVS which will be released in 3.2.4 and is documented on the wiki. Regards, Adrian View the original

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Shutdown JMS server only

2004-04-14 Thread [EMAIL PROTECTED]
Just undeploy whatever connection factory you are using, e.g. deploy/jms/uil2-service.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830608#3830608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830608 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB with JBoss

2004-04-14 Thread [EMAIL PROTECTED]
Your broken host table/dns configuration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830609#3830609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830609 --- Thi

[JBoss-user] [JCA/JBoss] - Re: can not find UserTransaction

2004-04-14 Thread [EMAIL PROTECTED]
You have configured your bean as BMT? Come on show some details, not "IT DOES NOT WORK" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830606#3830606 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830606 ---

[JBoss-user] [JCA/JBoss] - Re: Specifying an Oracle database schema for CMP beans

2004-04-14 Thread [EMAIL PROTECTED]
You can set the schmea using an sql statement as each connection is created. There is no support for per bean configuration. In your oracle-ds.xml | set schema whatever | Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830607#3830607 Rep

[JBoss-user] [EJB/JBoss] - EJBException: null

2004-04-14 Thread Berritxu
Hello! IÂm developing an EJB, modifying the source code of Duke's Bank example. The method where I have is this: public ArrayList getReservasOfHorario(String horario) throws InvalidParameterException {

[JBoss-user] [Installation & Configuration] - JBoss and Log4j

2004-04-14 Thread apinto
Hi there, I'm trying to write J2EE code in a way that it's independent from the application server solution. So, a question arises when deciding about the logging subsystem: is it ok to directly use Log4j interfaces or is it better to use the JBoss logging wrapper? Does this wrapper give m

[JBoss-user] [Security & JAAS/JBoss] - Re: J2EE and JBoss virus alerts

2004-04-14 Thread erik777
Thank you, Scott, for the MD5 link. I was really hoping for come class level checks, but I can md5 the downloaded file, then md5 the individual classes immediately after unarchiving them from a verified tar ball. I'm also thinking about ways to automate daily class integrity verification in a

[JBoss-user] [Nukes User] - Re: Howcome Template module only shows when logged in as adm

2004-04-14 Thread thepriz
Since the Menu Block was already deployed you would also have to clear all the security elements from the database befor you deploy your new build. Because persistance is true for the Menu Block it will not update the security elements unless you have removed them from the database first. There

[JBoss-user] [EJB/JBoss] - Re: unable to passivate due to ctx lock

2004-04-14 Thread erikdhansen
It's inevitable -- once I post, I find something... Bug: 780746 mentions a lock being created in Handle.getEJBObject that is never released. As it turns out, I need to navigate at least one page in order to see this problem -- which involves retrieving the EJB Handle from the HTTP session and

[JBoss-user] [Messaging, JMS & JBossMQ] - Shutdown JMS server only

2004-04-14 Thread [EMAIL PROTECTED]
Hi! I'd like to stop JMS to test client disconnects, ExceptionListener functionality, etc. without shutting down the whole JBoss Server. What MBean do I 'stop' in the jmx-console to just stop the JMS service and force disconnects of all JMS consumers? View the original post : http://www.jbo

[JBoss-user] [Installation & Configuration] - How to disable all web access features and just use as EJBse

2004-04-14 Thread r_rangana
One more step, I had to remove the following directory deploy/http-invoker.sar as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830595#3830595 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830595 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB with JBoss

2004-04-14 Thread danb99
I am trying to get the MDB example from the JBoss documentation running. Here is what I have to get a connection and a queue, etc: public void setupPTP() throws JMSException, NamingException { Properties properties = new Properties(); properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org

[JBoss-user] [JCA/JBoss] - Re: PCML Adapter for iSeries / AS400

2004-04-14 Thread rupshall
Woops I just read the FAQ after I did my post, I'll follow the suggestions in the second FAQ and it may be what I am looking for. Sorry for posting ahead of myself. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830592#3830592 Reply to the post : http:

[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseserverLoginModule : datasource not bound

2004-04-14 Thread antoine
ok thanks but I solve my probem. It functions with ClientLoginModule View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830591#3830591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830591 --

[JBoss-user] [Installation & Configuration] - having seperate log4j.xml file for the server and for apps

2004-04-14 Thread gkatz
hi; there have been numerous threads regarding this but i could not find a defenite answer. the problem is how to let my application have a different log4j configuration than the server has. i dont want to put my configuration in the jboss log4j.xml file. and i dont want to put jboss configurat

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: tibco JMS and JTA

2004-04-14 Thread sunh11373
Hi, Thanks for the advise. I worked this out with your first suggestion. Will try others if I have time. Attached is the working configuration: == jms-ds.xml === . TIBCOJMSProvider com.tibco.tibjms.appserver.jboss.JBossAdapter BHXAQueueConnectionFactory BHXATopicConnec

[JBoss-user] [Management, JMX/JBoss] - Re: RMIAdaptor Load balancing?

2004-04-14 Thread darthjoe
Hmmm... >From the docs, it sounds like I can do this by configuring the JRMP service as a HA JRMPInvoker Does anyone have an example for how I might do this? Thanks, -Joe View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830588#3830588 Reply to the post : ht

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss register Weblogic Topic mini-howto

2004-04-14 Thread maxi72
Thanks, where i find the source : ./server/src/main/org/jboss/jms/jndi/JBossMQProvider.java and /server/src/main/org/jboss/ejb/plugins/jms/JMSContainerInvoker.java i'm using Jboss 3.2.3, and i will connect jboss MDB to queue on weblogic server. View the original post : http://www.jboss.org/inde

[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords

2004-04-14 Thread emmaueze
everything seem to be fine now. I added the authentication tag to login-config.xml and it works. so everything now looks like this: theuser 3f1eade193525626 jboss.jca:service=LocalTxCM,name=MYDATASRC View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38305

[JBoss-user] [Installation & Configuration] - How to use servlet as default root

2004-04-14 Thread iamneil
I have jboss3.0.4. I want to use a servlet in my war's web.xml named Home and mapped as Home.jsp. I added a jboss-web.xml to the web-inf and I can serve a uncompiled JSP page as the root, no problem, but how do I make a servlet class do that ??? I thougth it would be easy. Now my timelines slippi

[JBoss-user] [EJB/JBoss] - using JNDI datasource

2004-04-14 Thread aldeponk
Hi, I am developing a EJB that intends to use a datasource through JNDI, using JBOSS as appserver and an Oracle server for the database. How do I compute to use the connection provided by JBOSS, i.e. I want to program a request in my Bean. What would be the proper code to write ? Thanks for yo

[JBoss-user] [Beginners Corner] - Context XMLs in JBoss?

2004-04-14 Thread sumedh
Can someone tell me where Context XMLs have to go in JBoss? I come from the world of Tomcat, so I'm used to sticking Context XML descriptors for WARs in webapps. Currently, I'm dropping my WAR in "server/default/deploy", which is fine...but where does the Context XML go? Thanks for any help...

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Which factory for HA-JMS from Java client?

2004-04-14 Thread [EMAIL PROTECTED]
I connect fine with UIL2ConnectionFactory and XAConnectionFactory, but have other problems because I don't think these are meant for clustered JMS. For instance, here is the behavior I see using these connection factories. My scenario is this: - two clustered servers (3.2.4RC1) - client uses ba

[JBoss-user] [Persistence & CMP/JBoss] - entity-command part of transaction ?

2004-04-14 Thread lekkim
Hi all. I am using entity-commands to generate primary keys for my entities but are having a hard time finding out whether the query to get the next primary key (via the entity-command) is part of the same transaction as the actual entity create() call. My requirement is using a sequence of nu

[JBoss-user] [JCA/JBoss] - PCML Adapter for iSeries / AS400

2004-04-14 Thread rupshall
Can anybody offer support with the setup of a resource adapter for a PCML service. I need to call legacy apps running on an iSeries / AS400 and I found this post : http://www.jboss.org/index.html?module=bb&op=viewtopic&t=38739 it appears to be using PCML(something I have used outside of JB

[JBoss-user] [Management, JMX/JBoss] - RMIAdaptor Load balancing?

2004-04-14 Thread darthjoe
I have a partition Named "DumasPartition" with 2 nodes in the cluster. I have a client that accesses the services on those nodes through autodiscovery and the RMIAdaptor Failover works fine, but there doesn't appear to be any kind of load balancing, round robin, etc.. Is there anyway to configure

[JBoss-user] [Installation & Configuration] - Re: Startup is looping indefiniatly...

2004-04-14 Thread gdagley
I am running JBoss 3.2.3 with JDK 1.4.2_04 and was having the same problem (although I never let mine go beyond 3 restarts, so I don't know that it ever finished). To fix this I looked at my run.bat that had the following: set JAVA_OPTS=-server -Xms128m -Xmx512m %JAVA_OPTS% This worked in pre

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bug in EJB QL compiler?

2004-04-14 Thread sesques
Hi, Post the exact log or your code snippet. Not enough info to investigate. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830577#3830577 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830577 --

[JBoss-user] [EJB/JBoss] - Re: A problem on SLSB which contains a database connection

2004-04-14 Thread triathlon98
In transaction-service.xml set spec-compliant to true. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830576#3830576 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830576 -

[JBoss-user] [Beginners Corner] - Re: Running standalone clients

2004-04-14 Thread nickman
| import java.util.*; | import javax.naming.*; | . | . | Properties p = new Properties(); | p.put(Context.PROVIDER_URL, "jnp://localhost:1099"); | p.put(Context.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); | p.put(Context.URL_PK

  1   2   >