[JBoss-user] [Installation & Configuration] - Re: Jboss - MS SQLSERVER2000 configuration problem

2004-11-04 Thread asite
one more thing when u do the lookup use java:/datasource name in my case it is java:/dmsdb View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854021#3854021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854021 ---

[JBoss-user] [Installation & Configuration] - Re: Jboss - MS SQLSERVER2000 configuration problem

2004-11-04 Thread asite
HI! This is mehul savalia from Asite Solutions. now i am not getting the above problem. Please follow the steps in addtion to the jars stettings. 1.Entery in MS-SQL DS dmsdb jdbc:microsoft:sqlserver://servname:1433;;ServerName=servername;PortNumber=1433;DatabaseName=databasename;Use

[JBoss-user] [Installation & Configuration] - Re: Jboss - MS SQLSERVER2000 configuration problem

2004-11-04 Thread jboss_oops
HI Asite, Did u get any response or solution on how to remove this error. I am also facing the same problem. If you have the soln plz post this as a reply to this message.. thanx :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854019#3854019 Reply to the po

[JBoss-user] [Installation & Configuration] - Re: JBoss configuration for MS Sql 2000 Connection..

2004-11-04 Thread jboss_oops
Hi I am also trying to connect to MS SQL Server 2000. I am running JBOSS 3.2.4 My Client code is not able to do the JNDI MApping.. Here Below I am attaching the code which I have in my client code. import javax.naming.*; import javax.sql.*; import java.sql.*; import java.io.*; import java.util.*;

[JBoss-user] [Persistence & CMP/JBoss] - Stateless Session Bean write fails

2004-11-04 Thread azydron
Hi, I have a problem using A Stateless Session Bean that writes a record to an Oracle 9i table using a JDBC DS declaration. The write (using an SQL INSERT statement) works fine if the call comes from a non-EJB client using a Helper object. If I use the same Helper object from another Stateless

[JBoss-user] [JBoss Getting Started Documentation] - Problem running Duke bank's example w/ MySQL

2004-11-04 Thread fly2moon2
Hi, I'm trying to deploy the Duke bank's example to jboss mentioned in "Getting Started with JBoss" documentation. I receive the following error when login the Duke Banks' app: (code) Server Error Your request cannot be completed. The server got the following error: null (/code) I don't know

[JBoss-user] [JCA/JBoss] - Sincerely sought for detailed steps to connect to MySQL

2004-11-04 Thread fly2moon2
Hi, I couldn't get it right following Getting Started documentation to use MySQL as database w/ JBoss. I've no problem setting up the MySQL server, creating the tables, granting necessary rights to connect to it; ODBC driver alse proven working. Can anyone refer me to some links/materials det

[JBoss-user] [Persistence & CMP/JBoss] - Re: using hibernate in jboss-4.0.0

2004-11-04 Thread utkarshpune
Hello, I am also getting the same error. Were you able to solve it? If yes please let me know the solution. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854014#3854014 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work

2004-11-04 Thread chiba
anonymous wrote : Exception in thread "main" java.lang.ClassFormatError: test/AskMe (Arguments can't fit into locals) I see. Unfortunately, the argument to CtMethod#setBody() must be a method that has the exactly same signature. The reason of your problem is that the number of arguments were di

[JBoss-user] [Beginners Corner] - Re: J2EE Application Client : How do they work?

2004-11-04 Thread sunofra
I really wish someone would answer this. I have the same exact question. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854012#3854012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854012

[JBoss-user] [Nukes User] - Re: Nukes 2.0 Progress

2004-11-04 Thread theute
If you plan to use JSF in a portlet environment you should know that it can't work out of the box. To be able to use JSF you would need a bridge from the JSF implementation to JBoss Nukes Portal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854011#3854011

[JBoss-user] [Nukes User] - Re: Nukes 2.0 Progress

2004-11-04 Thread theute
We are very actively working on it. Nukes 2.0 is a portal, there is a developer version release available and you can already create some portlets. But for now there is no user login system nor role-based security. It fully respects the JSR-168 portlet specification, so any JSR-168 compatible p

[JBoss-user] [Nukes User] - Re: Nukes 2.0 Progress

2004-11-04 Thread clung
Excellent, thanks for the updated info. I've been playing with the developer release. Trying to get up to speed on JSR 168 as its coming down the pipe at work, also trying to get up to speed on JavaServer Faces now. If I can get myself to a "usefull" state I'll gladly help out where I can, but

[JBoss-user] [EJB/JBoss] - Re: JBoss 4 50X performance hit - remote vs local interface

2004-11-04 Thread [EMAIL PROTECTED]
| cd jboss-4.0.0/server | rm -rf default | mv standard default | Deploy and run as before. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854009#3854009 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854009

[JBoss-user] [News & Announcements] - Re: 4.0.0 Release Available

2004-11-04 Thread einsti
I don't know whether it is a bug. when using jboss4.0 and lomboz3.0,if you use the "lomboz ejb test client create wizard" create a testing java class for an ejb, the project will appears an error that it can't find the jbossdefault-client.jar,so the project can't be built. View the original pos

[JBoss-user] [Security & JAAS/JBoss] - Re: from web.xml &&

2004-11-04 Thread [EMAIL PROTECTED]
A 302 return code is a temporary redirect. This is used when using form authentication to redirect you to the login form. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854007#3854007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[JBoss-user] [Security & JAAS/JBoss] - Re: getUserPrincipal() retuns null after authentication

2004-11-04 Thread [EMAIL PROTECTED]
You have to use the web container security model via the web.xml descriptor in order for the servlet security apis to return useful information. Simply doing a JAAS login does not populate the servlet container security context. This is only useful for interacting with other secured resources fr

[JBoss-user] [Persistence & CMP/JBoss] - Re: ParseException when using <= operator

2004-11-04 Thread Raist_Majere
I think you're not right when saying that EJB 2.0 spec permits what you were trying to do. As the spec says, datetime_value comparisons only allow these operators: =,<>,>,<. The kind of comparation you wanted to use is restricted to arithmetic types. | comparison_expression ::= | string_valu

[JBoss-user] [Installation & Configuration] - can I change the JMS connection factory

2004-11-04 Thread hunterbird
the default written in jms : InitialContext iniCtx = new InitialContext(); Object tmp = iniCtx.lookup("ConnectionFactory"); but now i want to change to this: InitialContext iniCtx = new InitialContext(); Object tmp = iniCtx.lookup("MyConnectionFactory"); in weblogic it is easy,but how to configur

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss support for specifying authorization policy

2004-11-04 Thread [EMAIL PROTECTED]
You need to run with a security manager, specify a policy configuration that uses subject based permissions, and then encapsulate the MBean access in Subject.doAs(...) blocks. Alternatively, you could add a custom security interceptor to your mbeans by deploying them as XMBeans. View the orig

[JBoss-user] [Security & JAAS/JBoss] - Re: How to deploy a new JAAS LoginContext Module

2004-11-04 Thread [EMAIL PROTECTED]
The DynamicLoginModule from the referenced post is the only way we provide to extend the login module configuration at runtime, and this does not allow a deployment to overwrite an existing configuration. You have to install a new configuration and use that. View the original post : http://www

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss

2004-11-04 Thread [EMAIL PROTECTED]
There is no standard that defines how to use a JAAS Subject for authorization prior to J2EE 1.4 so jboss defined a mechanism that uses a java.security.acl.Group named 'Roles' as the location for the declarative roles. J2EE 1.4 defines a new JACC permission based contract for specifying how to d

[JBoss-user] [EJB/JBoss] - Re: JBoss 4 50X performance hit - remote vs local interface

2004-11-04 Thread schwarcz
I'll look into that. Any chance you can point me towards the doc on how to do this? Additionally, I see large slowdowns in other operations. For example, under 3.2 my intra-jvm local and remote jndi lookups were 141 and 172 ms for 10,000 ops. Under 4.0, the same code requires 2,766 and 18,297

[JBoss-user] [Beginners Corner] - Re: Simple reference of CSS from JSP doesn't work

2004-11-04 Thread Raist_Majere
Your problem is Struts related, but I'll try to help you anyway... What's the location of the css file in your WAR file? I mean, is it under the /WEB-INF/ dir? I ask you this because you said it's in the same dir as your JSP, and if using Struts it's recommended that your JSP files that have to b

[JBoss-user] [Performance Tuning] - Re: Win2003 slow down after Jboss running for 24 hrs

2004-11-04 Thread genman
JVM version? What is "slow"? You need to measure it yourself, and not trust your users... You should probably offer more memory to the JVM; if you have 1GB, give Java more memory (like 300MB). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853997#3853997

[JBoss-user] [Performance Tuning] - Re: mod_jk.so for Linux and worker.list limitation to 1024 c

2004-11-04 Thread genman
It's really the wrong forum, and probably the wrong website. Can you talk to the mod_jk people about this? You can also shorten the name of the worker list (appsrv20 -> as20) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853996#3853996 Reply to the post :

[JBoss-user] [Nukes User] - Nukes 2.0 Progress

2004-11-04 Thread clung
Anyone know the current status on Nukes 2.0? Thanks, Chad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853995#3853995 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853995

[JBoss-user] [Performance Tuning] - Re: 15000 connections

2004-11-04 Thread genman
You can easily test this yourself. I guess you mean web connections? This is probably a Machine, OS and JVM issue, not JBoss specific. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853994#3853994 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Performance Tuning] - Re: Implications of increasing TransactionTimout value in jb

2004-11-04 Thread genman
I don't think it is a performance parameter. Rather, it prevents many threads from blocking on operations that may not ever complete. If your operations take a long time to complete, then by all means set this to a higher value. If you have many transactions that block or take a lot of CPU, t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Could not start a transaction with the transaction manag

2004-11-04 Thread genman
Use the OCI driver, not thin one, to connect. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853989#3853989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853989 --

[JBoss-user] [Performance Tuning] - Re: 360Mo Tenured generation clogs my Garbage Collector!

2004-11-04 Thread genman
JBoss version? You can also precompile your .JSP files with jspc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853992#3853992 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853992 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Problem about change the database used by JBossMQ from H

2004-11-04 Thread genman
You can create those tables yourself. Also, turning on DEBUG and watching the logs might help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853990#3853990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853990 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Persistence - control the marking of messages to be dele

2004-11-04 Thread genman
You can also add transction required to your ejb-jar.xml MDBBean * Required View

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Forcing close/reopen of JMS connection used for MDB

2004-11-04 Thread genman
There might be something in the JMX console to do this. Maybe you can control this through some MBean with the class "JMSContainerInvoker"? The thing that comes to mind is to simply "touch" the .ear file, which will close/open the connection as it is undeployed/deployed. View the original pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Is there file size limit for JMS with Oracle persistence

2004-11-04 Thread genman
Use the OCI driver, not thin one. Isn't this in the FAQ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853986#3853986 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853986 --

[JBoss-user] [EJB/JBoss] - Re: JBoss 4 50X performance hit - remote vs local interface

2004-11-04 Thread [EMAIL PROTECTED]
Your using the default configuration which explicitly disables call by reference optimization as per the ejb spec as required for the j2ee certificaton. Use the standard configuration which has the optimizations enabled by default. View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)

2004-11-04 Thread [EMAIL PROTECTED]
The CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorado, L=Denver, ST=CO, C=US=password certificate needs to be in the server keystore. Its signer also needs to be in the server keystore as a trusted entry, or in a seperate trust store. View the original post : http://www.jboss.

[JBoss-user] [EJB/JBoss] - Re: hardcoded JNDI names on clientside...

2004-11-04 Thread Raist_Majere
I'll try to do my best with the explanation, but I don't know if it will be clear enough... Every component on a J2EE has its own "environment" with which the component can reference another component (an EJB, datasource...) by a "logical" name. This logical component name is used by programmers

[JBoss-user] [Security & JAAS/JBoss] - Re: Web app accessing different security-domains

2004-11-04 Thread [EMAIL PROTECTED]
It just works if the principal and credentials are compatbile between the two domains. Otherwise you need an interceptor on either the ejb proxy or ejb container that mapped the foreign security domain principal and credentials to something that is usable. View the original post : http://www.jb

[JBoss-user] [JBoss.NET] - Intermittent 500 internal server error

2004-11-04 Thread mislam
Hi I am seeing intermittent 500 internal server error with jboss.net with my authenticated service. The service is wrapped with BASIC http authentication via jaas and database login module. The setup seems to be correct since I do ge authenticated and service gets invoked correctly 50% of time.

[JBoss-user] [Advanced Documentation] - Re: No access to JBoss online documentation

2004-11-04 Thread donSigma
NOT me too! Previous "me too" was incorrect. Later found a required field that was still blank in my registration info. Look closely; the background colors are irrelevant -- only the (*) matters. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853979#3853979 R

[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)

2004-11-04 Thread kookywon
I am trying to solve cert based authentication as well. I am using jboss 3.2.5. (Do I need to upgrade?) Anyway, I generated a certificate and imported the client certificate into my server keystore via keytool. I setup web.xml and jboss.xml according to the BaseCertLoginModule. I setup the

[JBoss-user] [Advanced Documentation] - Re: No access to JBoss online documentation

2004-11-04 Thread donSigma
Me too. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853977#3853977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853977 --- This SF.Net email is sponsored by: Sy

[JBoss-user] [News & Announcements] - 4.0.1RC1 Release Available

2004-11-04 Thread [EMAIL PROTECTED]
The 4.0.1RC1 release is available from: JBoss-4.0.1 Files Release notes are available form here: Changes between 4.0.1RC1 and 4.0.0 The current 4.0.1 target release date is Nov 19. The tasks to be completed for this release and their status are tracked in the following todo forum topic: 4.0.1 Re

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Is there file size limit for JMS with Oracle persistence

2004-11-04 Thread kcdhawale
By file size I mean message size. The message less the 4K works fine. But for message around 10K I get connection close error View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853975#3853975 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Is there file size limit for JMS with Oracle persistence?

2004-11-04 Thread kcdhawale
Is there file size limit for JMS with Oracle peristence. I am able to send small size file through JMS but for large file I get a "closed connection error". Any inputs are welcome! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853974#3853974 Reply to the

[JBoss-user] [Installation & Configuration] - Re: CoyoteConnector Coyote can't register jmx for protocol !

2004-11-04 Thread rmorejon
Did you help me? I'm deploying an war in JBoss 3.2.3 with Tomcat, this war uses jasperreports libraries and when i try to exceute my jsp thrown the following error org.apache.jasper.JasperException: org/apache/commons/digester/Digester at org.apache.jasper.servlet.JspServletWrapper.ser

[JBoss-user] [Installation & Configuration] - Re: How can I make cocoon the main webapp in jboss 4.0.0?

2004-11-04 Thread beyarecords
Ok, in my log readout i get the following: [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/Library/jboss-4.0.0/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ and: [TomcatDeployer] deploy, ctxPath=/cocoon, warUrl=file:/Library/jboss-4.0.0/server/default/deploy/cocoon.war/ What file do

[JBoss-user] [Performance Tuning] - 360Mo Tenured generation clogs my Garbage Collector!

2004-11-04 Thread ekeland
Hi, here is the situation. I am running my application on a JBoss with the following JVM arguments " -Xms768m -Xmx768m" on a windows2000 with 1Gb of RAM. Without doing even using the application, I notice a FullGC gets done every minute (default) and takes 3s. On a much more used computer, the

[JBoss-user] [Beginners Corner] - (500) Internal Server Error, when running WebServices Client

2004-11-04 Thread htk8969
I have JBoss 3.2.6 installed with 'Duke's Bank' sample application deployed. Everything is working fine except, when I try to run WebServices Client (ant -f jboss-build.xml run-ws-client). I will get the following errors: C:\jboss-3.2.6\j2eetutorial\bank>ant -f jboss-build.xml run-ws-client Buil

[JBoss-user] [Beginners Corner] - Simple reference of CSS from JSP doesn't work

2004-11-04 Thread ianfallon
OK - I'm a complete newby so bear with me. My JSP looks like this: and the .css file is in the WAR at the same level as the JSP, but I don't see the CSS file. In fact, putting the URL directly in the browser doesn't show the CSS file either. Do I need to do something extra to serv

[JBoss-user] [Beginners Corner] - Cannot compile duke's bank example on JBoss 4.0.0

2004-11-04 Thread courtneyw
Hello: I am getting the following output whenever I try to complie the Dukes Bank example under JBoss 4.0.0. Can someone please help? Thanks C:\j2eetutorial14\examples\bank>ant -f jboss-build.xml compile Buildfile: jboss-build.xml prepare: compile: [javac] Compiling 56 source files to C:\j

[JBoss-user] [Installation & Configuration] - Re: How can I make cocoon the main webapp in jboss 4.0.0?

2004-11-04 Thread beyarecords
does anybody know the answer to this, as I can still not find anything in the docs or on the net? many thanks Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853967#3853967 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Messaging, JMS & JBossMQ] - Forcing close/reopen of JMS connection used for MDB

2004-11-04 Thread bwallis42
Is there any way to periodically cause the close and reopen of the JMS connection used for an MDB? I'm trying to work around a memory leak problem in an external queue implementation (oracle) and one of the work arounds is to close and restart the session. View the original post : http://www.

[JBoss-user] [Installation & Configuration] - Re: JBoss, SQL Server, EJB problem

2004-11-04 Thread tfrith
I figured out the problem. I wasn't reading the stack trace closely enough at first. The problem was that /server/default/conf/standardjbosscmp-jdbc.xml was missing the "mssql-get-generated-keys" entity-command: It's needed to retrieve PKs that are generated by sql server's IDENTITY columns

[JBoss-user] [JCA/JBoss] - Oracle 9i getConnection() using XA Driver takes long time...

2004-11-04 Thread sloke
Hi, We are using Oracle 9i (9.2.0.4) with JBoss 3.2.5. We are using the JDBC driver ojdbc14.jar. We observed that the time taken for DataSource.getConnection() is not consistent. It ranges between 20 milli seconds to 22 seconds. By enabling some debug and trace levels in JBoss we narrowed d

[JBoss-user] [JCA/JBoss] - Re: TopLink (9.0.4-10.1.3) and JBoss (3.2.3-4.0.0) JTS XA in

2004-11-04 Thread natebowler
I think I have found a fix. After looking through the source, I noticed another way to avoid that call was if isTrackByTx() is true. So I added: true to my mssql-xa-ds.xml file. And, it appears to have addressed the issue. >From reading the docs, the only thing I can gather this does is hand

[JBoss-user] [Management, JMX/JBoss] - Re: jndi lookup fails for mailservie on jboss 4.0.0

2004-11-04 Thread lafr
No problem for us. We have this * @ejb.resource-ref | * res-ref-name="Mail" | * res-type="javax.mail.Session" | * res-auth="Container" | * @jboss.resource-ref | * res-ref-name="Mail" | * jndi-name="java:/Mail" |

[JBoss-user] [EJB/JBoss] - JBoss 4 50X performance hit - remote vs local interface

2004-11-04 Thread schwarcz
Under JBoss 3.x there was very little difference in the performance of invoking an EJB with a local vs remote interface as long as the ejb was, in fact, in the same jvm. JBoss seemed to have good optimization of the remote interface. For example, the cost for 10,000 creates of a trivial sessio

[JBoss-user] [Beginners Corner] - One more beginner question on JBoss (3.2.6)/Tomcat/Apache (1

2004-11-04 Thread dpasiuk
Hopefully it's safe to ask for help on this again in the Beginners Corner. This is my first post, but I have seen this topic posted. Unfortunately, I seem to hit dead ends when I follow them. I have downloaded binaries of the Tomcat/Apache connectors, but can't seem to find any actually named

[JBoss-user] [Persistence & CMP/JBoss] - ParseException when using <= operator

2004-11-04 Thread apeter
In JBoss 4.0.0, I am trying to deploy an entity EJB with the following EJBQL statement in it SELECT OBJECT(f) FROM address f WHERE f.validDate <= ?1 During deployment I get a ParseException on "<=" operator. According to the EJB 2.0 spec, <= is a valid operator. validDate field is a DATE field

[JBoss-user] [Nukes User] - Re: Forum Module (bb) Search Doesn't Work

2004-11-04 Thread niel
"cooper" wrote : weird... | try to rebuild the index : index.html?module=index | here you can manage the different indices. | Thanks. I have been fussing with it for a day, but your response to my question provided me with a good hint. I am upgrading from a very early version of nukes

[JBoss-user] [Installation & Configuration] - Re: JBoss, SQL Server, EJB problem

2004-11-04 Thread tfrith
I did double-check the driver jars - they are there. Here's some more info: I deployed the app successfully using the same db backup & ear file as on my dev box. I double checked that all the server jars in \lib & server\default\lib are the same as the jars on our working dev boxes. I added a new

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Persistence - control the marking of messages to be dele

2004-11-04 Thread flindet
I believe I have resolved my issue. The trick is to use the CLIENT_ACKNOWLEDGE. I believe the default is AUTO_ACKNOWLEDGE. This should work with any subscriber, but for an MDB, I just needed to add CLIENT_ACKNOWLEDGE to my ejb-jar.xml, add a Message.acknowledge(); to my onMessage() within the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Unable to get message from remote topic

2004-11-04 Thread pcross616
Well atleast I am not the only one, I tried to implement timeToLive but it seems that the only configuration refrence to timeToLive is for MDB. I have a normal JMS Consumer listening for messages. I am running Jboss 3.2.5 with 4 - 7 different topics and queues. After I turn on the trace log

[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools

2004-11-04 Thread bbalmer
Sorry for the misunderstanding. This works exactly as I had hoped. Thank you for your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853941#3853941 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853941 -

[JBoss-user] [Beginners Corner] - Re: My JBoss 3.2.5 to JBoss 4.0.0 migration troubles with Hi

2004-11-04 Thread minmay
I get the following debug output in my logs: 2004-11-04 10:00:58,258 INFO [net.sf.hibernate.cfg.Environment] Hibernate 2.1.5 2004-11-04 10:00:58,268 INFO [net.sf.hibernate.cfg.Environment] hibernate.properties not found 2004-11-04 10:00:58,278 INFO [net.sf.hibernate.cfg.Environment] using CGLI

[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools

2004-11-04 Thread [EMAIL PROTECTED]
You do NOT need the QueryExp: | ObjectName scope = new ObjectName("jboss.jca:service=ManagedConnectionPool,*"); | | Set set = server.queryNames(scope, null); | log.info("Found " + set.size() + " pools"); | | Iterator it = set.iterator(); | | while(it.hasNext()) | log.inf

[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools

2004-11-04 Thread bbalmer
Thanks for your quick reply. I changed my code to: ObjectName scope = new ObjectName("jboss.jca:service=ManagedConnectionPool,*"); QueryExp exp = Query.initialSubString(Query.attr("Name"), null); Set set = server.queryNames(scope, exp); log.info("Found " + set.size() + " pools"); Iterator

[JBoss-user] [Beginners Corner] - Re: My JBoss 3.2.5 to JBoss 4.0.0 migration troubles with Hi

2004-11-04 Thread minmay
I want to note that I did properly change all the other xml configuration files to JBoss 4.0.0, such as the jboss-app and jboss-web xml files. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853933#3853933 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Beginners Corner] - My JBoss 3.2.5 to JBoss 4.0.0 migration troubles with Hibern

2004-11-04 Thread minmay
Hello, I simply want to port my web application from JBoss 3.2.5 to JBoss 4.0.0 with a minimal of changes. My web application uses JBoss 3.2.5 with Hibernate version 2.1.6 with no problems. I don't use any Hibernate integration. I simply place my hibernate.cfg.xml file and my mappings in my WEB

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem

2004-11-04 Thread Lviz
hi again some other :) idea #log verbose RewriteLog /var/log/https_rewrite_log RewriteLogLevel 9 ### RewriteRule (.*)\.xml$ cocoon/mysite/%{REQUEST_URI} [P] ok thats it for today :) cheers L View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853930#3853930 Rep

[JBoss-user] [Management, JMX/JBoss] - Re: Retrieve listing of connection pools

2004-11-04 Thread [EMAIL PROTECTED]
If your MBean naming is consistent, you don't need to include a QueryExp in the call to QueryNames (just pass null as a second argument). QueryExp really refers to the actual attribute values of MBeans Then use a appropriate ObjectName pattern, eg: "jboss.jca:service=ManagedConnectionPool,*" w

[JBoss-user] [Installation & Configuration] - JDBC SQL Logging

2004-11-04 Thread worleyk
Howdy, I have an application that dynamically creates SQL Prepared statements and executes them. I'm currently having a problem that I believe may reside with the code populating the prepared statements. Originally, this code ran on a WebLogic platform. With WebLogic, I could turn on JDBC Lo

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem

2004-11-04 Thread Lviz
ups... i just remeber the eg. in tomcat server.xml | | cheers L View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853923#3853923 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853923 -

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Apache 2.0.52 - JBoss 4.0 RewriteRule problem

2004-11-04 Thread Lviz
hi andrew are you serving other things (static html...) from your root http://www.mysite.com/ ? or just cocoon. we did some things with mod_proxy... like #ProxyRequests On #ProxyPreserveHost On #ProxyPass /test http://localhost:8080/foobar #ProxyPassReverse /test http://localhost:8080/foobar #P

[JBoss-user] [Installation & Configuration] - Re: need log4j category to work in my webapp

2004-11-04 Thread [EMAIL PROTECTED]
Wikis are editable by anyone with a valid login so take a look at updating: http://www.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853921#3853921 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [EJB/JBoss] - Re: Removing a Stateless Session Bean

2004-11-04 Thread jorge_el_curioso
Thanks James. I guess maybe I should explain a bigger picture. I have a singleton that may be accessed by multiple threads. There are functions in this object that use a stateless bean. Because this is a singleton, different threads would be sharing the same reference to the bean. Now, is t

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss

2004-11-04 Thread zsoltvincze
Thanks Scott, I only saw your reply after posting mine. Based on the reference, the way I read it, the requirement to specify roles "Group roles = new SimpleGroup("Roles");" is jboss specific. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853917#3853917 Rep

[JBoss-user] [Security & JAAS/JBoss] - Web app accessing different security-domains

2004-11-04 Thread vbatista
Hello! I have a Web application which needs to propagate authentication to two EJB modules which use distinct security-domains. EJB-ModA is configured with security-domain A, EJB-ModB is configured with security-domain B and the web app is configured on its jboss-web.xml with security-domain

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss

2004-11-04 Thread zsoltvincze
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=54470 answers the question about struts and about request.isUserInRole I'm still hesitant to believe that the roles has to be attached to a group that is specifically called "Roles" If anybody could point to any JAAS/J2EE standards on this

[JBoss-user] [Management, JMX/JBoss] - Retrieve listing of connection pools

2004-11-04 Thread bbalmer
I am having trouble dynamically finding all of the different connection pools that I have set up. To get connection information I currently have each pool name hard-coded. I would like to do a query to get all of the different pools but my query ALWAYS returns no value. Here is a snipit of ho

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss

2004-11-04 Thread [EMAIL PROTECTED]
There are no requirements for the Subject defined in the J2EE specs. We have defined our Subject usage pattern in the online devel guide. The custom principal usage is illustated in the JBossSX wiki section: http://www.jboss.org/wiki/Wiki.jsp?page=UsingCustomPrincpalsWith View the original post

[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work

2004-11-04 Thread MadMan
Ok, I'll post the whole StackTrace here: Exception in thread "main" java.lang.ClassFormatError: test/AskMe (Arguments can't fit into locals) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.Sec

[JBoss-user] [Nukes User] - Re: Forum Module (bb) Search Doesn't Work

2004-11-04 Thread cooper
weird... try to rebuild the index : index.html?module=index here you can manage the different indices. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853912#3853912 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853912

[JBoss-user] [EJB/JBoss] - Re: Jboss Auto deploy after compile the class files...

2004-11-04 Thread ltexier
you need to "touch" the deployment descriptor http://www.linuxforum.com/man/touch.1.php View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853910#3853910 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853910

[JBoss-user] [Nukes User] - Forum Module (bb) Search Doesn't Work

2004-11-04 Thread niel
I have downloaded the "Nukes_Branch_1_1" branch, and I was able to build and deploy everything successfully. However the search function on the forum modules doesn't work. All searches return without any results. Is anyone else experiencing the same problem? Does anyone have any recommendatio

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

2004-11-04 Thread chiba
anonymous wrote : I just queried in the dev forum ... when will try...finally be supported? I have just implemented try-finally and checked the code into the CVS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853904#3853904 Reply to the post : http://www.

[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work

2004-11-04 Thread chiba
OK, good. What was the detailed message of that ClassFormatError? No message except the exception type name? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853903#3853903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [Beginners Corner] - Re: how to set a jndi name for a mbean

2004-11-04 Thread rixc
In the jboss docs they provide a jboss specific implementation for binding your mbean to the jndio namespace private void rebind() throws NamingException | { | InitialContext rootCtx = new InitialContext(); | Name fullName = rootCtx.getNameParser("").parse(jndiName); | NonSeri

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependencies -> jUDDI

2004-11-04 Thread xtidylan
Thanks! The deploy.last directory worked, I think I have some other issues to work out now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853901#3853901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853901 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss

2004-11-04 Thread formenti
I'd like to write (maybe with someone with more knowledge) a "Custom Principal HOWTO"... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853899#3853899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853899 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Could not start a transaction with the transaction manager i

2004-11-04 Thread kcdhawale
I am using jboss4.0.0. I have configured the system to use HAJMS, Everything works fine if I send small size messages. When I send a large message The get the following error: 10:34:38,218 ERROR [JMSConnector] Could not start a t ransaction with the transaction manager.; - nested throwable: (or

[JBoss-user] [Javassist user questions] - Re: CtMethod.setBody(CtMethod, ClassMap) does not work

2004-11-04 Thread MadMan
Hallo, I tried it with the SystemClassLoader again and you were right. It's no ClassNotFoundException, it throws a java.lang.ClassFormatError. Sorry for writing something different here. I hope that helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38538

[JBoss-user] [Installation & Configuration] - jboss-web.xml/resource-ref shouldn't be required since res-r

2004-11-04 Thread dsmiley9
The web-app_2_3.dtd spec indicates that the element "res-ref-name" (as found in web.xml/resource-ref) is a JNDI name relative to java:comp/env. For example, in my setup, I put "jdbc/juddiDB". I've configured a datasource in my deploy directory to have the jndi-name element with a value of "com

[JBoss-user] [Persistence & CMP/JBoss] - transaction does not commit after server shutsdown

2004-11-04 Thread hmae
To all: I use: JBoss 3.2.4, Lomboz 2.1.3, Oracle 9i, WinXP I have web page project that adds data to a database table and show the contents of the table in the web page. I used CMP beans and I used CMT for my transactions. I tried to test what would happen if I shutdown JBoss. I did the follow

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom LoginModule is rejected by jboss

2004-11-04 Thread zsoltvincze
Yes, in order to make jboss aware of the role, that was the only solution I could use. TheTestGroup class used in the example is a user class, so yes, you will have to code one too. However, now I'm going further and I'd like to use the roles in struts but it does not recognize them. I've chec

[JBoss-user] [Beginners Corner] - Session object is renewed on page change

2004-11-04 Thread dstrachan
Hi everyone, I am new to building web applications with JSP/JBoss and am having some problems with the JSP "session" object that I wonder if anyone can help with. On my application login page I use the following call to set a UserName attribute on the session object: session.setAttribute("Us

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependencies -> jUDDI

2004-11-04 Thread [EMAIL PROTECTED]
Then make a directory: ./deploy/deploy.last/ and drop your mbean in there so it gets started last (then presumably, all other services will be started for you) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853888#3853888 Reply to the post : http://www.jbo

[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependencies -> jUDDI

2004-11-04 Thread xtidylan
Because I'm working on a mechanism that invokes webservices when an ftp upload occurs, which I'm going to add later. That mechanism is also started during JBoss startup, and depends on the cache. I would have the same problem there. View the original post : http://www.jboss.org/index.html?mod

  1   2   >