[JBoss-user] [Beginners Corner] - java.lang.IllegalStateException: Failed to find method for h

2004-07-13 Thread bipuldutta
Hi, I am new to Eclipse/JBoss.. Got this error while adding a new method to the EJB (Stateless).. I am using Eclipse 2.1.3/Lomboz/JBoss 3.2.3 to generated EJB classes. I had added a new business method in the bean, updated XDoclet to call DAO method as well.. "Lomboz J2EE/Generate EJB Classes"

[JBoss-user] [Beginners Corner] - Using threads with EJB

2004-07-13 Thread hawkmoon
I know using threads is not allowed. can a bean use a simple java class wich uses threads ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841969#3841969 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841969

[JBoss-user] [Clustering/JBoss] - Re: JGroups Configuration With XML Element

2004-07-13 Thread bela
My bad - XmlConfigurator.parse(Element) was still using the old format. I changed it, essentially copied XmlConfigurator.parse(InputStream). Try it out now, need to get JGroups from the CVS. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841968#3841968

[JBoss-user] [The Lizzard's corner] - Re: JBoss for Mac OS X

2004-07-13 Thread buserror
You can build JBoss on OSX, or use the version that is included with Xcode Tools 1.1. Actually, it is no longer part of Xcode, but a separate download... >From the appserverdev_7k248_read_me.pdf file from the new, separate pkg (available at >the ADC, http://connect.apple.com): anonymous wrote

[JBoss-user] [Installation & Configuration] - Re: starting Jboss got errors of failed to update pkgs

2004-07-13 Thread jlzhang
More failed message from server.log: 2004-07-14 09:43:35,379 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: Incompletely deployed packages: [EMAIL PROTECTED] { url=file:/C:/work/jlz/box/Home/jboss-3.2.4/server/default/deploy/ebank.wsr } deployer: [EMAI

[JBoss-user] [Installation & Configuration] - Re: starting Jboss got errors of failed to update pkgs

2004-07-13 Thread jlzhang
And also a few of failed message in server.log as: 2004-07-14 09:43:34,488 DEBUG [org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.management.Notification[source=jboss.system:service=ServiceController,type= org.jboss.system.ServiceMBean.

[JBoss-user] [Installation & Configuration] - starting Jboss got errors of failed to update pkgs

2004-07-13 Thread jlzhang
here is partial of log: 09:43:13,538 DEBUG [UnifiedClassLoader] Added url: file:/C:/work/jlz/box/Home/jboss-3.2.4/server/default/lib/classes111.jar, to ucl: [EMAIL PROTECTED] url=file:/C:/work/jlz/box/Home/jboss-3.2.4/server/default/tmp/deploy/tmp44747jboss-service.xml ,addedOrder=2} 09:43:13,

[JBoss-user] [Persistence & CMP/JBoss] - Database trigger and Jboss Caching

2004-07-13 Thread vying
Hi all, I have a question about how jboss handle caching mechnisms while involving data changes from database by triggers.Is there any limits set by Jboss due to using a Database trigger in a transaction? Can we use Database trigger when we use Jboss for EJB caching?Any thing we should

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Tryig to Connect to MQSeries from JBoss MDB

2004-07-13 Thread [EMAIL PROTECTED]
Moderated: FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841961#3841961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841961 --- This SF.Net email sponsored by

[JBoss-user] [EJB/JBoss] - Database trigger and JBOSS EJB caching

2004-07-13 Thread vying
Hi all, I have a question about how jboss handle caching mechnisms while involving data changes from database by triggers.Is there any limits set by Jboss due to using a Database trigger in a transaction?Any suggestions,Thanks View the original post : http://www.jboss.org/index.html?module

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

2004-07-13 Thread [EMAIL PROTECTED]
No. Sessions are not synchronized by spec. If you want to guarantee the behaviour do consumer.close() (or receiver/subscriber in jms1.0.2b) then close the session. This question has been asked before. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841959#3841

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to get the managed jms connectionfactory outside the

2004-07-13 Thread [EMAIL PROTECTED]
You cannot set an ExceptionListener on a JCA managed JMS connection factory. The ExceptionListener is handled internally by the JMS resource adapter. Using a JCA JMS pool, you never deal with a single connection, the connection is pooled. View the original post : http://www.jboss.org/index.html?

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error creating the dlq connection after upgrading to 3.2

2004-07-13 Thread [EMAIL PROTECTED]
Moderated: FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841957#3841957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841957 --- This SF.Net email sponsored by

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Make JMS-Client-Singleton-MBean resumes after HAJMS resu

2004-07-13 Thread [EMAIL PROTECTED]
You cannot use across a cluster. You should implement a retry loop similar to the MDB processing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841956#3841956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841956 -

[JBoss-user] [JCA/JBoss] - Re: ClassCastException retrieving DataSource on JNDI lookup

2004-07-13 Thread [EMAIL PROTECTED]
Moderated: HIJACK - start a new thread. My answer solves the stated problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841955#3841955 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841955

[JBoss-user] [JCA/JBoss] - Re: Transaction enlist error

2004-07-13 Thread [EMAIL PROTECTED]
Your code shows no pooling. Specifc Answers: 1) Yes 2) Required 3) You don't show your database access pattern. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841954#3841954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [JCA/JBoss] - Re: Duplicate transaction Id seen with SQL Server

2004-07-13 Thread [EMAIL PROTECTED]
Moderated: Search for previous discussions. In particular search on isSameRM OR download 3.2.4+ to get an example MSSQL-ds.xml that contains the workarounds for bugs in their driver. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841953#3841953 Reply to the

[JBoss-user] [JCA/JBoss] - Re: new-connection-sql / check-valid-connection-sql transact

2004-07-13 Thread [EMAIL PROTECTED]
This is a known bug with Sybase. Use search to find my suggested workaround. Unfortunately, the previous poster gave no feedback. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841952#3841952 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [JCA/JBoss] - Re: DataSource is not Available after restart

2004-07-13 Thread [EMAIL PROTECTED]
Moderated: Ignored, too little information. See "READ THIS FIRST" and its links. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841951#3841951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841951

[JBoss-user] [JCA/JBoss] - Re: how to restart database without restart jboss to run our

2004-07-13 Thread [EMAIL PROTECTED]
Not in 3.0.6 Later versions have | | see the FAQ/WIKI for more info View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841950#3841950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841950

[JBoss-user] [JCA/JBoss] - Re: 3.2.4 needless warning about unclosed resultset

2004-07-13 Thread [EMAIL PROTECTED]
Glad you found the search function :-) On your specifc problem: Show the complete stacktrace (it shows where the ResultSet was created) and the code where you create and then close it. Statements and Connections are important (as are line numbers)! View the original post : http://www.jboss.org/i

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP precompilation after 3.2.5 upgrade

2004-07-13 Thread skidvd
Oops the XML didn't come across - How do I successfully post build.xml extraxts? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841948#3841948 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841948

[JBoss-user] [HTTPD, Servlets & JSP] - JSP precompilation after 3.2.5 upgrade

2004-07-13 Thread skidvd
Hello: I am attempting to upgrade from JBoss 3.0.4 to 3.2.5. However, I con no longer seem to precompile my JSPs as before: IThis produces errros such as the followin

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Make JMS-Client-Singleton-MBean resumes after HAJMS resu

2004-07-13 Thread wangchen_ca
BTW, I notice that for all queues, They resumes much eailer than they rebound to JNDI. Why it taks so long for HAJMS queues to be re-bound to JNDI tree ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841946#3841946 Reply to the post : http://www.jboss.o

[JBoss-user] [Clustering/JBoss] - Re: Is having HAJNDI and JGroups on the same mcast port poss

2004-07-13 Thread budworth
Silly me, found my own answer on google: http://groups.google.com/groups?safe=images&ie=UTF-8&[EMAIL PROTECTED]&lr=&hl=en Seems that having purely an IP only difference isn't good enough due to the linux IP stack implementation (or so it would seem). Using the same IP, but different ports seems

[JBoss-user] [Security & JAAS/JBoss] - Re: NT authentication

2004-07-13 Thread lemmonjr
Oops... forgot some details. Running JBoss 3.2.3 (w/Tomcat 4.1.29) on Win2K accessing an NT domain. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841944#3841944 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841944

[JBoss-user] [Security & JAAS/JBoss] - NT authentication

2004-07-13 Thread lemmonjr
Hello. Sorry for the newbie question, but I have a web app that is using the tagish components to authenticate users to an NT domain. My problem is that I cannot get it to work in JBoss. In Tomcat, I don't have any trouble at all... just put the NTSystem.dll somewhere on the path and it works

[JBoss-user] [Messaging, JMS & JBossMQ] - Make JMS-Client-Singleton-MBean resumes after HAJMS resumes

2004-07-13 Thread wangchen_ca
Hi: I have serveral Singleton-Mbeans working as Senders or Consumers for the HAJMS queues in jboss 3.2.5 cluster environment. When the master jboss is shutdown, at the second jboss, all my MBean masters resume before the JMS queues resume and XAConnectionFactory's jNDI can be found. this bring

[JBoss-user] [HTTPD, Servlets & JSP] - POST request truncated in JBoss but not in WebLogic?

2004-07-13 Thread thebadpete
Hi all, I am encountering a POST request truncation issue on JBoss 3.2.3(and 3.2.5 for that matter with Tomcat 5, even with maxPostSize explicitly set to a big value). The server application I am writing mandates me to use specific MIME-types in Content-Type HTTP header, therefore I cannot use

[JBoss-user] [Clustering/JBoss] - Is having HAJNDI and JGroups on the same mcast port possible

2004-07-13 Thread budworth
Howdy folks, In my effort to upgrade from 3.2.3 -> 3.2.5 I've found that I must change the mcast port for jgroups (to avoid the warnings about multiple partitions with the same ip/port) That said, I've decided to dump the custom partition name since there's already a forced unique identifier (

[JBoss-user] [JBoss.NET & SOAP] - Re: Authorization problem using .net client

2004-07-13 Thread mzint
Hi there I get the following error message when I try to run this test program in JBoss 4.0.0DR4 -> "The request failed with HTTP status 401: Unauthorized." The example works well in JBoss 3.2.3 Is there something that can be done about this ?? Has something changed in 4.0 or is this just an

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: EJB 4th Edition + JBoss Workbook now published

2004-07-13 Thread Bill Burke
Yeah, somebody else complained tooO'Reilly is working on it. Sorryl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841937#3841937 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841937

[JBoss-user] [Security & JAAS/JBoss] - Re: Is it possible to deploy a security domain instead of al

2004-07-13 Thread cuoz
Is this what you are talking about? http://www.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig I created a service that adds my security domain to the login-config dynamically and I no longer need to edit the login-config.xml file directly. It now gets deployed along with the application.

[JBoss-user] [Installation & Configuration] - Re: configuring Tomcat 5.0 to serve static content

2004-07-13 Thread sramkishan
This is a problem only in Jboss/Tomcat5.026 What tomcat5.0.26 expects is the defaultWebXml attribute when specifying the Context. So your code should actually be Copy the web.xml from tomcatsar folder to probably the conf directory of jboss and give that path. It should work. View the orig

[JBoss-user] [Persistence & CMP/JBoss] - Re: jbosscmp-jdbc.xml relationship mapping dbindex problems

2004-07-13 Thread triathlon98
I think there was a fix regarding fk-constraint mapping in MySQL a few days ago. Please try again using the latest version from CVS. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841933#3841933 Reply to the post : http://www.jboss.org/index.html?mo

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-13 Thread auckyboy
Is there no way to explicitly set the principal in the ejb tier..i.e. set credentials in the context p.put(Context.SECURITY_PRINCIPAL, "admin"); p.put(Context.SECURITY_CREDENTIALS, "adminpass"); or some other way ? View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Installation & Configuration] - Hardware Requirement for JBOSS

2004-07-13 Thread sahumx
Does anybody know what are the basic standards of hardware required for JBOSS for production installation. The hardware/performance mapping of it. It would be really helpful. Thanks Regards Mihir View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841931#3841931 R

[JBoss-user] [Beginners Corner] - Re: Problem connecting to Hypersonic using JBoss 4.0

2004-07-13 Thread tiredofworkingfortheman
Thanks a lot, this also helped me with the Bank example on 3.2.5. No more "Incomplete Deployment listing" Now I'm back on track again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841928#3841928 Reply to the post : http://www.jboss.org/index.html?module=b

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-13 Thread elaineqs
Thanks for your reply! Yes, the login.jsp is from my web application. I wouldn't like to authenticate through web application because i have to specify the LoginModule at the deployment descriptor. This is a problem to my application because it can authenticate users with diferent databases

[JBoss-user] [Clustering/JBoss] - JGroups Configuration With XML Element

2004-07-13 Thread jiwils
I am programatically reading/parsing the cluster-service.xml file from JBoss 3.2.4 in order to get the configuration information for a standalone JGroups program (I want it to be in the same "group" as the JBoss instance). I am then passing the XML Element that is the "Config" element object to

[JBoss-user] [JCA/JBoss] - how to restart database without restart jboss to run our app

2004-07-13 Thread xiaoly
We are using jboss3.0.6, sql server 2000 8.00.194, and oracle 9.0.1+. Our app is deployed on Jboss. It uses either SQL or ORACLE database in our app. When the oracle is restarted, the jboss will show the connection reset by peer error. And our app will not work any more. In weblogic, there is c

[JBoss-user] [Security & JAAS/JBoss] - Roles dependent on username and a company.

2004-07-13 Thread ceasaros
I have a situation in which the roles a Subject gets depends not only on the username but also on for example a company. e.g. user1 has roles 'guest' and 'admin' for company1 but user1 has only role 'guest' for company2. I solved this now by writing my own LoginModule in which I use my own defin

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Accessing files from Servlets or Classes

2004-07-13 Thread aalmero
why don't you just use a jca config(dbname-ds.xml) appropriate for your db and add pooling properties there instead of using a separate config file. \docs\examples\jca aalmero View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841923#3841923 Reply to the post

[JBoss-user] [Installation & Configuration] - Re: Directory listing on jboss

2004-07-13 Thread aalmero
you may need to edit your anonymous wrote : \server\default\deploy\jbossweb-tomcat41.sar\web.xml and change as follows | listings | true | | to | listings | false | | hth aalmero View the original post : http:/

[JBoss-user] [Security & JAAS/JBoss] - Is it possible to deploy a security domain instead of alteri

2004-07-13 Thread ceasaros
It would be nice to be able to deploy the security domain for a web application. (just like a datasource). Now i wrote an ant target that adds a security domain to / modifies an existing security domain in the login-config.xml. The reason I would this is that I can patch a JBoss server with the

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-13 Thread ceasaros
You perform the authentication / authorization within the web application environment and not in the ejb application environment. So your principal is only available inside your webserver (tomcat) and not in the ejb application environment. If you don't want security in your webapplication how d

[JBoss-user] [JCA/JBoss] - Re: 3.2.4 needless warning about unclosed resultset

2004-07-13 Thread davidmboon
Okay, so I'm not the only one to run into this: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49695 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841914#3841914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-13 Thread MilesParker
"cooper" wrote : Yes, that menu does not have yet the code hooks to allow self editing in the block menu. So you must indeed edit the XML deployment descriptor of the MBean. Cool, that's what I needed to know.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [JCA/JBoss] - Re: 3.2.4 needless warning about unclosed resultset

2004-07-13 Thread davidmboon
This post is regarding http://sourceforge.net/tracker/index.php?func=detail&aid=990142&group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841912#3841912 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=rep

[JBoss-user] [JCA/JBoss] - 3.2.4 needless warning about unclosed resultset

2004-07-13 Thread davidmboon
Here is the scenario we have true for our datasource. We also have code that wraps Connections and statements and closes resultsets when you close statements, and the same for statements when you close connections. This is code that has been working for quite some time, under jboss 3.2.3 as w

[JBoss-user] [Security & JAAS/JBoss] - EJB Security

2004-07-13 Thread elaineqs
Hi, I'm tring to implemente EJB security using the following files with JBoss 3.2.3: login-config.xml users.properties admin=password roles.properties admin=teste _ ejb-jar.xml

[JBoss-user] [Installation & Configuration] - Directory listing on jboss

2004-07-13 Thread rathinrawal
Hi All I have an application in production. A jsp file name login.jsp is the entry(Welcome file) for this application. We have been encountering problems of late where almost everyother week, when a user attempts to connect to the application, the JBoss would instead of serving the login.jsp w

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-13 Thread cooper
Yes, that menu does not have yet the code hooks to allow self editing in the block menu. So you must indeed edit the XML deployment descriptor of the MBean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841907#3841907 Reply to the post : http://www.jboss.or

[JBoss-user] [Nukes User] - Re: Menu edit?

2004-07-13 Thread MilesParker
Anyone? Even a hint? Kind of dead in the water here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841905#3841905 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841905

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: EJB 4th Edition + JBoss Workbook now published

2004-07-13 Thread swagle1
What's the URL for the example code? It's not available at the location specified in the workbook. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841904#3841904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841904 -

[JBoss-user] [Management, JMX/JBoss] - JBoss-JMX-Development tutorial?

2004-07-13 Thread tomerbd
Is there a step by step tutorial for creating MBeans under jboss AS ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841903#3841903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841903 ---

[JBoss-user] [JCA/JBoss] - DataSource is not Available after restart

2004-07-13 Thread rams279
DataSource is not available to my servlet for the first request once the JBoss server is restarted. I am using JBoss-3.2.3 version. Any Suggestion or link will be helpfull. Its an URGENT If you can mail [EMAIL PROTECTED], it will be a great help for me. View the original post : http://www.jbo

[JBoss-user] [Beginners Corner] - Re: Associating specific ports with hosts

2004-07-13 Thread dwagstti
Quick note: on a hunch and a second glance, the virtual host set up inside the second service engine was not working after all. The entire service was pretty much useless. Regards, DWags View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841901#3841901 Reply t

[JBoss-user] [Beginners Corner] - Associating specific ports with hosts

2004-07-13 Thread dwagstti
I have an issue that one might think was more common than my searches through forums proves it is... The basic concept is this: I want to run two WAR'd apps on one machine, but from two different ports. I have the virtual hosts running fine, and I can open connections to listen on individual p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: 3.2.4 / JMS / Transacation is not active

2004-07-13 Thread jdefelice
Thanks for the help Adrian. I figured out what the problem was - it's a bug in the org.jboss.mq.pm.rollinglogged.PersistenceManager class. I filed a bug report #990315 in sourceforce - along with some changes that I made locally to fix it. It would be nice to see this fixed in the upcoming 3.2

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Accessing files from Servlets or Classes

2004-07-13 Thread vc?!
The actual code which tries to load the properties file is: InputStream in = ClassLoader.getSystemResourceAsStream("dbpool.properties"); Properties props = new Properties(); props.load( new BufferedInputStream( in ) ); return props View the original post : http://www.jbo

[JBoss-user] [Beginners Corner] - Re: Missing javax.servlet.jar in jboss-3.2.5 for tutorial pu

2004-07-13 Thread jsissom
Was this a problem with building the jboss 3.2.5 deployment file? Is this file going to be put back where it was in a future release? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841897#3841897 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Installation & Configuration] - Re: Mapping vitual servers to .war files

2004-07-13 Thread jiwils
It may be that the Apache module mod_jk2 is just what you are looking for. It provides smart connectivity/routing from Apache HTTPD to Tomcat instances. There is a Wiki page describing how to install mod_jk2 into Apache HTTPD and how to configure it here: http://www.jboss.org/wiki/Wiki.jsp?pag

[JBoss-user] [EJB/JBoss] - Re: Serialized Files removed while refernces to bean exist

2004-07-13 Thread darranl
It is not an issue it is standard J2EE behaviour as described in the EJB specification. JBoss does have a configuration file that allows the timeouts to be changed, this is described in the administrators and developers guide. View the original post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss JMS provider for Oracle Advanced Queue (Configuration)

2004-07-13 Thread pedrosalazar
Greetings, introduction: My objective is send a JMS message to JBOSS from Oracle. I tried the alternative to load the jbossall-client.jar in the database, but it fails. You can follow that alternative in another thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51711 Now, I'm tr

[JBoss-user] [EJB/JBoss] - Re: Serialized Files removed while refernces to bean exist

2004-07-13 Thread [EMAIL PROTECTED]
Has this issue been resolved? And if so, how? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841892#3841892 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841892 --

[JBoss-user] [Security & JAAS/JBoss] - Re: Secure Communication Methods

2004-07-13 Thread faygo
I believe "RMI over SSL" is the ketwords I was missing. Does anyone have sample code for a client application. I am getting this error. [java] Created LoginContext [java] getDatabase() - Caught an exception. [java] java.rmi.ConnectIOException: Exception creating connection to: 1

[JBoss-user] [JBoss.NET & SOAP] - Re: Example of Jboss.net/.NET interop/WSDL generation?

2004-07-13 Thread zeke7237
Answering my own question .. Having learned EJB in the pre-2.0 days, I was not conversant in the whole "local interface" thing. The samples I had found had all specified view-type="remote" in the ejbdoclet tag and that evidently creates methods in the remote interface only, whereas view-typ

[JBoss-user] [Nukes User] - Re: Upload file in HTML module (not outofmemory error)

2004-07-13 Thread arnaud.tessier
I use MySql. I used the standard nukes install program. I read that the max size of a LongBlob column is 2^32+4 octets. Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841888#3841888 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [Beginners Corner] - Re: Missing javax.servlet.jar in jboss-3.2.5 for tutorial pu

2004-07-13 Thread bickmac
Its in c:\jboss-3.2.5\server\default\deploy\jbossweb-tomcat50.sar\servlet-api.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841887#3841887 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841887 --

[JBoss-user] [Installation & Configuration] - Re: Dynamically create DataSources

2004-07-13 Thread apinto
Humm... Yes, that could work, but it's kind of a "medieval" approach, isn't it :)? Also, I think there are some timing issues involved, as the descriptor is auto-deployed. Do you know any drawback about using "raw" connections, that is, created directly with a new Connection()? Thank you a lot,

[JBoss-user] [Installation & Configuration] - Re: [Tomcat]NoClassDefFoundError: org/apache/catalina/Contex

2004-07-13 Thread Kleb
Hi guys, nobody has a solution?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841886#3841886 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841886 --- This SF.Net

[JBoss-user] [HTTPD, Servlets & JSP] - Accessing files from Servlets or Classes

2004-07-13 Thread vc?!
I have the following code in one of my java files. public class DBHelper { static{ try { Properties props = PropertyReader.getProps("\dbpool.properties"); conMgr = } catch(Exception e ) {

[JBoss-user] [Beginners Corner] - Missing javax.servlet.jar in jboss-3.2.5 for tutorial purpos

2004-07-13 Thread bhx
Hello, I have just installed jboss-3.2.5 and JBossIDE. When reading the JBossIDE tutorial I see an example using : c:\jboss-3.2.5\server/default/lib/javax.servlet.jar unfortunetely there no such a file ! Anyone can help me ? Thanx JMi View the original post : http://www.jboss.org/index.html?

[JBoss-user] [Beginners Corner] - JBoss Web app logging

2004-07-13 Thread jsissom
It seems that JBoss 3.2.5 doesn't want web apps to do any logging. I have some web apps that deployed OK in JBoss 3.2.3, don't run at all in 3.2.5. I'm using Struts 1.1. and the Struts servlet won't load in 3.2.5 because it uses common-logging and/or log4j. Is there anything I can do to get th

[JBoss-user] [Installation & Configuration] - Re: Dynamically create DataSources

2004-07-13 Thread kabkhan
If it is impossible, as a workaround could you generate the *-ds.xml file and copy it to your deploy directory? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841880#3841880 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - EJB 4th Edition + JBoss Workbook now published

2004-07-13 Thread Bill Burke
I'm happy to announce that the JBoss workbook has finally been published and included with O'Reilly's EJB 4th edition. http://www.oreilly.com/catalog/entjbeans4/index.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841881#3841881 Reply to the post : htt

[JBoss-user] [Installation & Configuration] - Apache2 + Jboss 4.0 + mod_jk2

2004-07-13 Thread edzu
Hello, I'm trying to set up jk2 connector in my Debian Linux box, but I don't know where I have to put my workers2.properties. If I put this file in /etc/apache2 the JBoss don't register any activity on 8009 port. I think Apache is not recognizing the file. If I put the file in /etc/apache2/conf

[JBoss-user] [Installation & Configuration] - Re: Dynamically create DataSources

2004-07-13 Thread apinto
darranl, thanks for your reply. I searched the foruns and found some info, but unfortunatly, everyone seems to conclude that (currently) this is impossible to do. The question came up because I was having some problems connecting DIRECTLY to a database inside my bean, that is, with a new Connect

[JBoss-user] [Management, JMX/JBoss] - Cross-dependencies between MBeans and EJB

2004-07-13 Thread Wizzie
Hello We have a project that contains some number of beans (EJB) and MBeans. They have some dependency graph between then. When describing dependencies between MBeans there is no problem: it is easy to use MBean JMX name. When defining a dependency of EJB to MBean it is also not complicated: we

[JBoss-user] [Nukes User] - Re: createBeanClassInstanceCommand == null

2004-07-13 Thread Skully
For some reason the only way to get the modules to work is to actually remove the fileset with the include UserEJB et. al. block from their build files. I'm not sure what limitations that will pose on the modules, but they seem to work fine for the moment. I also cannot get the source from

[JBoss-user] [Javassist user questions] - PROBLEM WITH Jboss 3.2.5 Starting

2004-07-13 Thread massimetto
HI!!! I have a problem about jboss 3.2.5 starting. during the initialization an error comes created and I am not in a position to resolving. someone can help me? the error is: ERROR [org.jboss.web.tomcat.tc5.Tomcat5] Starting failed jboss.web:service=WebServer RuntimeMBeanException: Exception in

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error creating the dlq connection after upgrading to 3.2

2004-07-13 Thread Hagar
I see the same moving from 3.2.3 -> 3.2.4 and 3.2.3 -> 3.2.5. I'm working on it. Regards, Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841873#3841873 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841873 --

[JBoss-user] [JBoss.NET & SOAP] - EJB as webservice - client authentication

2004-07-13 Thread hershd
We use jboss-3.2.1_tomcat-4.1.24. Some clients are PB9 apps calling our EJB's directly. Now we want to expose EJB's as webservices. - JBoss.Net - do we need to use JBoss.Net (recommended?)? We installed Axis1.1 and created ws, but JAAS authentication fails w/ principal=null... - JAAS - how is W

[JBoss-user] [Persistence & CMP/JBoss] - Re: strange generated query by calling get-method

2004-07-13 Thread Smilidon
can somebody give me a hint, please? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841871#3841871 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841871 --- This

[JBoss-user] [Security & JAAS/JBoss] - Re: Drivel design?

2004-07-13 Thread jamesstrachan
Roll, The first thing to release is that, once you apply security, ALL EJB method calls must be accompanied by principal and credentials. Your client (assuming that it is a heavy client) has to store principal and credentials in the client context and supply these with every call. You could w

[JBoss-user] [Management, JMX/JBoss] - Question on this MBean Service

2004-07-13 Thread Setya
Hi all, I have defined the following service in user-service.xml : | | Foo | | | | | | I don't have problem retrieving the value of attribute "ID", but how to get the value of sub elements of "Key" ? I tried to define getter and setter for "Index" and

[JBoss-user] transaction exception

2004-07-13 Thread Ittay Dror
sometimes, we get this exception. we're using jboss 3.2.0 i'd be happy to provide additional details if needed. if this is a known bug in 3.2.0, is there a workaround (we can't upgrade now) thanx, ittay 2004-07-13 14:29:27,805 WARN [org.jboss.tm.TransactionImpl] (HttpProcessor[80][2]:) XAExce

[JBoss-user] [Performance Tuning] - Re: custom RMI SocketFactory

2004-07-13 Thread eldir
Thanks! . That is what I was looking for View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841867#3841867 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841867 --- This

[JBoss-user] [Installation & Configuration] - Re: Dynamically create DataSources

2004-07-13 Thread darranl
Have you searched the forums? Approaches for this have been discussed in the past. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841866#3841866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841866 -

[JBoss-user] [Persistence & CMP/JBoss] - catch JBossTransactionRolledBackException during optimistic

2004-07-13 Thread mlange
During my tests with the JDBCOptimisticLock strategy (which worked btw), I encountered a problem: how can I catch the exception thrown by JBoss when an update error occured: [java] JBossTransactionRolledbackException was: org.jboss.tm.JBossTransactionRolledbackException: null; nested except

[JBoss-user] [Installation & Configuration] - Dynamically create DataSources

2004-07-13 Thread apinto
Hi there, Is is possible to dynamically (for example, inside a bean) to create a new DataSource in JBoss 3.2.3? Thanks in advance, Armenio Pinto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841863#3841863 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [JCA/JBoss] - new-connection-sql / check-valid-connection-sql transaction

2004-07-13 Thread MarcMA
Hi All. We use a very simple query for new-connection-sql and check-valid-connection-sql. (select 1 or select @@servername). We get the following exception all the time: anonymous wrote : | com.sybase.jdbc2.jdbc.SybSQLException: SET CHAINED command not allowed within multi-statement transac

[JBoss-user] [Installation & Configuration] - Isapi redirector

2004-07-13 Thread aalberts
We are using JBoss-3.2.3 and IIS 6. The JDK is j2sdk1.4.2_04, the operating system is Windows 2000. I upload files using the Struts, the tag is html:file. I get the following exception : org.apache.commons.fileupload.FileUploadException Processing of multipart/form-data request failed. Strea

[JBoss-user] [Installation & Configuration] - Re: Does JBoss suport mutithreading?

2004-07-13 Thread darranl
Go and read the J2EE specifications or an introductory book such as 'Mastering Enterprise Java Beans', these discuss where you can and can't use threads. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841858#3841858 Reply to the post : http://www.jboss.org/i

[JBoss-user] [Installation & Configuration] - Does JBoss suport mutithreading?

2004-07-13 Thread liujianlei
Does JBoss suport mutithreading? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841856#3841856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841856 --- This SF.Net

[JBoss-user] [JBoss.NET & SOAP] - Re: Authorization problem using .net client

2004-07-13 Thread ehidalgo
Cool! I've change it... and the .net client is now authenticatingÂ. Thanks for yout fast, precise and professional answer! Finally, your painfull five hours has been very userfull for our project! ;) and I this this thread should help other people with similar problems! Greetings from Barcelon

[JBoss-user] [Beginners Corner] - JBoss & Castor

2004-07-13 Thread bickmac
Hi there! I try to migrate my old Client/Server App to Three Tier, and for this it would be nice if I could re-use the Castor-Objects the Client-Application already has. So, I have one Question: can I use Castor with JBoss or is it already integratet? (Sorry for my bad English) Thanks for Help!

[JBoss-user] [HTTPD, Servlets & JSP] - Re: jboss 3.2.3 cleans out the compiled jsp's

2004-07-13 Thread darranl
Use search, this has been discussed on here in the last couple of days. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841853#3841853 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841853 -

[JBoss-user] [Persistence & CMP/JBoss] - Oracle NUMBER with 20 bytes

2004-07-13 Thread mj123
Hello, I have to change my application to handle user ids which have 20 bytes. I know that in ORACLE I'm able to set NUMBER (20), but the question is how to set deployment descriptors and attribute type in Entity CMP. I know that in JAVA there is a BigInteger type, which probablly can be used (may

  1   2   >