[JBoss-user] [Installation & Configuration] - Re: Classloader problems with commons-collections.

2004-10-14 Thread wonnekeysers
You'll indeed have to use scoped class loading. See http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851508#3851508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Spurious exception with 4.0.0

2004-10-14 Thread pilhuhn
Yeah, thath hides them. But Exceptions are .. well Exceptions - Condidtions that are not normal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851504#3851504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851504 --

[JBoss-user] [JCA/JBoss] - IBM MQ Connectivity

2004-10-14 Thread sharps
I need to connect to IBM MQ (who doesn't ?). From my initial investigation - it seems I have a number of options : 1. build a JBoss JMS / IBM MQ adapter / relay 2. find a JMS Adapter for IBM MQ - there seems plently of commercial options but I haven't found anything free or cheap or any OSS pr

[JBoss-user] [News & Announcements] - 3.2.6 Release Available

2004-10-14 Thread [EMAIL PROTECTED]
The release is avaialble from sourceforge: JBoss-3.2.6 The changes notes for the 3.2.6 release are available from: Changes between 3.2.6RC1 and 3.2.5 Changes between 3.2.6RC2 and 3.2.6RC1 Changes between 3.2.6 and 3.2.6RC2 View the original post : http://www.jboss.or

[JBoss-user] [EJB/JBoss] - Re: JBoss4 ContextClassLoader

2004-10-14 Thread mlapolla
I would like to know the answer to this. I ported some Java ClassLoader code from a web application into my ejb module and though I could look up the resource in my jar, I could not manipulate the path or load the resource. I am interested in this answer. What I am going to try next is to Thre

[JBoss-user] [HTTPD, Servlets & JSP] - Re: slow response times for jsp's

2004-10-14 Thread snasto
one way is to exapand the archive (ear or war). If you do that then jsp will be compiled only the first time, then will be stored in work dir as compliled. If you keep tjhem archived, jsp will be complied each time are requested. THere are also other params the you need to look in web.xml for jsp

[JBoss-user] [Messaging, JMS & JBossMQ] - MDB needs to read user-defined xml files deployed in ear fil

2004-10-14 Thread timliu
hello, My MDB needs to read some user-defined xml files those are deployed in ear file. It read I/O file but fails. Check jboss directory and find those user files are still in ear file and not unjarred. Is there API provided by MDB to retreive it from ear? userconfiguration.xml is defined by m

[JBoss-user] [HTTPD, Servlets & JSP] - Re: integrating IIS with JBoss

2004-10-14 Thread janilsal
Just look for material to connect IIS and Tomcat.JBoss has Tomcat embedded inside. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851496#3851496 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851496 ---

[JBoss-user] [Beginners Corner] - Re: IIS & Jboss

2004-10-14 Thread janilsal
Apache 1.3 or 2 are being used in production by many customers with Tomcat/JBoss. http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851495#3851495 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Installation & Configuration] - JBoss4 ContextClassLoader

2004-10-14 Thread bhalli
Seeminlgy Thread.currentThread().getContextClassLoader().getResource(".") in jboss4 yields "${JBOSS_HOME}/server/default/conf/". Any thoughts on how to access resource files located inside .ear or .jar .war or .sar deploys. View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Installation & Configuration] - How to disable/delete hypersonic database configuration?

2004-10-14 Thread kenryu
What is the best way to not to use hypersonic database besides removing hsqldb-ds.xml and hsqldb-jdbc2-service.xml? Anybody please help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851491#3851491 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [JCA/JBoss] - How to disable/delete Hypersonic database? Help!

2004-10-14 Thread kenryu
What is the best way to not to use hypersonic database besides removing hsqldb-ds.xml and hsqldb-jdbc2-service.xml? Anybody please help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851490#3851490 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [HTTPD, Servlets & JSP] - Re: integrating IIS with JBoss

2004-10-14 Thread rgjawanda
If you can work with me a little bit I can help you through it. A person that was working on the Jetty implementation a while back wrote a ISAPI redirector that worked fine but had a few problems. If you know what they are, and don't mind them, it will work a-ok. I don't have detailed instructio

[JBoss-user] [Persistence & CMP/JBoss] - Returning a JDBC result set from an Oracle stored procedure

2004-10-14 Thread Davinci
I am trying to retrieve a REFCURSOR from an Oracle PL/SQL store proc from my DAO running in JBoss 3.2.5. I get a " ORA-01403: no data found" exception at the statement CallableStatement.getObject(x); // where X is a column that represents //

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Are JMS messages cached?

2004-10-14 Thread [EMAIL PROTECTED]
Durable subscriptions persist messages by default (unless you explicitly send non persistent messages). The "T" messages are non persistent messages that don't fit into memory. They are moved to disk to free up memory for something else when memory becomes full. Here is one my "favourite" links:

[JBoss-user] [Installation & Configuration] - Classloader problems with commons-collections.

2004-10-14 Thread hoguester
I have an EAR in which I have an application that uses Cayenne. Cayenne needs commons-collections3.x to work properly. I am deploying the EAR in exploded format. app.EAR | core.jar | lib | commons-collections-3.1.jar cayenne-no-deps.jar Cayenne, however, is no

[JBoss-user] [JBoss.NET] - Re: xdoclet tag to generate parameter modes for web method?

2004-10-14 Thread yangchunke
I borrowed the idea from http://www.jboss.org/index.html?module=bb&op=viewtopic&t=35887 and replaced "jboss-net_xml_method.xdt" in "xdoclet-module-jboss-net.jar" with | | | | returnQName=""> | | | | | | | |

[JBoss-user] [Beginners Corner] - IIS & Jboss

2004-10-14 Thread mi1291
i'm planning to install Jboss with IIS WEBSERVER. a i've a lot of questions. 1) is a good idea or are there better choices ? 2) where (in which folder) I must place the connectors ? 3) how Apache-jakarta version (1.X or 2.X) i must use??? thank you View the original post : http://www.jboss.o

[JBoss-user] [EJB/JBoss] - JBoss4 ContextClassLoader

2004-10-14 Thread bhalli
Seeminlgy Thread.currentThread().getContextClassLoader().getResource(".") in jboss4 yields "${JBOSS_HOME}/server/default/conf/". Any thoughts on how to access resource files located inside .ear or .jar .war or .sar deploys. View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Spurious exception with 4.0.0

2004-10-14 Thread genman
Turn off DEBUG to hide the "spurious" exceptions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851474#3851474 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851474 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jboss 4 file-pm-service

2004-10-14 Thread genman
The default HSQLDB configuration should work without setting anything up. Use another DB for persistence if you like. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851473#3851473 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [Security & JAAS/JBoss] - How to make sure JBoss invokes custom login when using j_sec

2004-10-14 Thread [EMAIL PROTECTED]
Hi, I want to know how can I make JBOSS invoke my custom login module using j_security_check. If we do not use j_security_check and use JAAS for instance our custom login module gets invoked. However we want to use j_security_check for web clients as we are using form based authentication. He

[JBoss-user] [EJB/JBoss] - ejb lookup takes > 90 seconds to timeout? namingServer with

2004-10-14 Thread varunrupela
Hi: Here's how I ran into this issue: - let one ejb lookup succeed to a remote server running jboss. - take the remote machine off the network (pulled its network cable out). - do another ejb lookup. - It takes about 90 seconds for the lookup to timeout. I debugged into some of the org.jnp.inter

[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-14 Thread theute
I think Should do it. But now it is probably stored in the database, you have to change this by going in the jmxconsole View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851470#3851470 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [Nukes User] - Display module to all users

2004-10-14 Thread pedrojosemartins
I created a new module which shows "Hello World", but i can only see it in the modules menu when i'm logged in as admin. Here's the jboss-service.xml file: | | | | | | | | | |

[JBoss-user] [Messaging, JMS & JBossMQ] - JMS send() slow JBoss 3.2.3

2004-10-14 Thread tysmeister
Hi, I am running an app on JBoss 3.2.3 (SPARC 1.4.1_05-b01 VM). The application uses a number of MDBs that are a sink of P2P JMS messages. I have noticed that the call to sender.send() can take a long time to return, and the length of time appears to be linked to the processing duration of the M

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss 4.0/JMS/MySQL - queue not bound exceptions on the clie

2004-10-14 Thread srau
Hi - I could not find the answer to this on any of the FAQs etc. I am trying to run the sample JMS client which tries to access "queue/testQueue" on the server. This works fine with HSQL but not with MySQL (4.0.13). I have the "mysql-ds.xml" file in server/default/deploy and I have copied the s

[JBoss-user] [EJB/JBoss] - Re: InvalidClassException when passing obj to session bean.

2004-10-14 Thread rgc3679
Update I tried adding following to SiteData: private static final long serialVersionUID = 1L; But still get the InvalidClassException. I notice from the error in the log (see following) 2004-10-14 13:25:18,020 [PoolThread-9] ERROR [STDERR] java.io.InvalidClassException: javax.swing.JCompon

[JBoss-user] [Management, JMX/JBoss] - Re: Programmatic deployment of MBean

2004-10-14 Thread craigdberry
Use the javax.management.MBeanServer registerMBean method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851466#3851466 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851466 --

[JBoss-user] [Messaging, JMS & JBossMQ] - DefaultJMSProvider Not bound?? please help !

2004-10-14 Thread kenryu
hi All; Do I need to create the JMS_MESSAGE table? If yes, could you please post me the sql for mysql? I created the tables from sql I got from one of the post. I'm using jboss-tomcat 3.2.5 to deploy liferay 2.2.1 and I got this error: javax.naming.NameNotFoundException: DefaultJMSProvider not

[JBoss-user] [Installation & Configuration] - installation problem , help!

2004-10-14 Thread kenryu
hi All; Do I need to create the JMS_MESSAGE table? If yes, could you please post me the sql for mysql? I created the tables from sql I got from one of the post. I'm using jboss-tomcat 3.2.5 to deploy liferay 2.2.1 and I got this error: javax.naming.NameNotFoundException: DefaultJMSProvider not b

[JBoss-user] [Management, JMX/JBoss] - javax.naming.NameNotFoundException: DefaultJMSProvider not b

2004-10-14 Thread kenryu
hi All; Do I need to create the JMS_MESSAGE table? If yes, could you please post me the sql for mysql? I created the tables from sql I got from one of the post. I'm using jboss-tomcat 3.2.5 to deploy liferay 2.2.1 and I got this error: javax.naming.NameNotFoundException: DefaultJMSProvider not b

[JBoss-user] [JCA/JBoss] - Transaction not committing

2004-10-14 Thread cagreen
I have an update as part of my transaction which doesn't seem to want to commit. Here's my set up: -I have set transaction-type = Container and trans-attribute=NotSupported in my ejb-jar.xml file. -I'm using a jndi datasource (OracleDS) -I'm explicitly setting transaction-isolation = TRANSACTION

[JBoss-user] [Persistence & CMP/JBoss] - Re: How best to model Entity Bean associations with EJBs of

2004-10-14 Thread tjclifford
When you say the article can have a number of related articles, how are you relating them ? By subject, title, etc ? Related articles with the same topic would have to be manually related - you could do it with one other table, having the main article number in one field, the related articles in

[JBoss-user] [Installation & Configuration] - Re: JBoss 4: bug in SecurityAssociationValve?

2004-10-14 Thread edikus
I am using 4.0.0RC2. Whoops! Maybe that's the problem. Thanks, I will give it a try. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851454#3851454 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851454

[JBoss-user] [EJB/JBoss] - POJO loggs but EJB's and MBeans do not

2004-10-14 Thread khurle
In one .ear I deploy a pojo along with EJB's and MBeans. The pojo loggs but the other objects do not. I am using org.apache.commons.logging in all classes in the same fashion. My log4j.xml looks like:

[JBoss-user] [Installation & Configuration] - Protect JBoss console / un-authorized access

2004-10-14 Thread thoste
When I start JBoss (from the command prompt) there is NO protection of this command line and Browser interface by default. Everyone at the computer can kill the JBoss process by c. Is there a way to force all users to authorize themselve (by. login and password) before getting access to this cons

[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0 BindingManagerException - No Classloader found

2004-10-14 Thread pcolagrosso
Hi, I was having similar problems with using ServiceBinding Manager while migrating to JBoss 4.0. In order to resolve the problem I had to copy the file bindingservice-plugin.jar from the directory JBOSS_HOME/server/standard/lib to the directory JBOSS_HOME/server//lib. Cheers, Piero C

[JBoss-user] [EJB/JBoss] - Re: JBoss says bean is not a jbosscmp-jdbc-managed cmp entit

2004-10-14 Thread tjclifford
As a follow-up, I thought I should post at least some part of the files I'm working with. The OfficeBean: package com.sample.ejb.office; import javax.ejb.CreateException; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.rmi.*; imp

[JBoss-user] [Persistence & CMP/JBoss] - Getting last insert Userid no: from Mysql using CMP.

2004-10-14 Thread madadi
Dear all, I want to know the Last Userid no: which is inserted in Mysql. i did with Mysql AutoIncrement option but it is not the solution for other reasons. In my data base there is a table with cmp fields Userid and UseridNumber ,this useridNumber should increment for every user who register

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJBException: CMR field value is already loaded

2004-10-14 Thread godboles
Hi all, After waiting for the jboss support to response, (no one did), I out of desperation looked at the jboss code. The class in question is org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge This class has a method called loadRelations which throws the above exception as follows: pu

[JBoss-user] [EJB/JBoss] - Re: InvalidClassException when passing obj to session bean.

2004-10-14 Thread rgc3679
Frito, Why can't you follow my link? I wish you could because I'd appreciate another set of eyes looking at my classes. No, SiteData does not provide a fixed serialVersionUID - should it? I'm not familiar with the requirements for having a fixed one. I hadn't thought about overriding readObjec

[JBoss-user] [Persistence & CMP/JBoss] - DB connection can't be found after JBoss has been running fo

2004-10-14 Thread AlexM
Hi All, I am using JBoss 3.2.5 with MySQL 4.0.20. Since I am still debugging and testing my application, I frequently redeploy it. Sometimes, I get exceptions related to MySQL like the one below, which occurred this morning although when I left last night everything worked fine. I have to resta

[JBoss-user] [Messaging, JMS & JBossMQ] - jboss 4 file-pm-service

2004-10-14 Thread p_nevilleuk
Hi, I see that the class org.jboss.mq.pm.file.PersistenceManager is missing from jboss 4. Is this no longer supported? Is there another way that I can test my messaging woithout having to go to the trouble of setting up a database connection? Thanks, Peter View the original post : http://www

[JBoss-user] [Nukes User] - User management via admin account

2004-10-14 Thread cuoz
Is there a way for the nukes admin to reset passwords & do general maintenance? I have a user that forgot his password, and claims that the "retrieve password" is not working, although I have confirmed it is. I would like to just login and set it to something known for him. Any way to do this

[JBoss-user] [Installation & Configuration] - WHAT PERSISTENCE to use

2004-10-14 Thread silent
I have intention to use JBoss to a J2ee project and I need to know which persistence is more reliable. JBoss default, Hibernate, etc thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851445#3851445 Reply to the post : http://www.jboss.org/index.html?mod

[JBoss-user] [Installation & Configuration] - Re: CAN'T JBOSS DEPLOY EXPLODED EAR?

2004-10-14 Thread darranl
Inside the jboss-service.xml you will need to reference the directory that contains the exploded ear not the ear itself. There is a comment that suggests this: - Scanning is supported for remote URLs but unpacked deployment units are not. I also had a look at the jboss-minimal.xml which contain

[JBoss-user] [Security & JAAS/JBoss] - Re: j_security check error, migrating from 3.0.3 to 3.2.5

2004-10-14 Thread dlastoria
Any other ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851443#3851443 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851443 --- This SF.net email is sponsor

[JBoss-user] [Installation & Configuration] - JBoss 4.0 BindingManagerException - No Classloader found

2004-10-14 Thread De Smet Ch
I'm trying to run multiples instances of JBoss 4.0 using bindingManager (on Windows2003). I did it right as I do in JBoss 3.2.3.(mean activating bindingManagerService in jboss-service.xml and configure sample-bindings.xml). Following exception occurs: 15:29:20,604 INFO [ServerInfo] Java vers

[JBoss-user] [Security & JAAS/JBoss] - Re: Multi-threaded Client JBOSS applications and JAAS

2004-10-14 Thread jburugupalli
Its a known feature , and thanks for the info. Its a feature for allowing many clients on the same system. You find this in the docs. regards Jani. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851440#3851440 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Security & JAAS/JBoss] - Re: Form based auth + EJB Auth working, How to use form-auth

2004-10-14 Thread WebSel
I've found a workaround to get the username & password back from the Form based authentication. I'm working with a Filter which intercepts the post and stores the values in the session scope. | package com.artomilito.www.colossus; | | import java.io.IOException; | | import javax.ser

[JBoss-user] [Installation & Configuration] - Re: Configure JBOSS Using HTTP Port for RMI and JNDI

2004-10-14 Thread roli8200
Hello Eventually my question was not really clear. Can somebody send me a snippet from the standardjboss.xml file which configures this proxy bindings for stateless stateless-rmi-invoker, stateful-rmi-invoker and also the entity-rmi-invoker for the http transport. Many thanks Roland Kaeser V

[JBoss-user] [Performance Tuning] - Re: JBoss + KaRMI

2004-10-14 Thread kesara
Went through the docs scott.stark suggested. However there's still difficult to figure whether this is possible, since KaRMI does NOT extend the java.rmi.* interfaces but REPLACEs those. i.e java.lang.Object extended by uka.karmi.rmi.server.RemoteObject extended by uka.karmi.rmi.server

[JBoss-user] [Security & JAAS/JBoss] - Re: form based auth & DatabaseServerLoginModule

2004-10-14 Thread haobaba1
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851433#3851433 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[JBoss-user] [Security & JAAS/JBoss] - Re: Accessing User Defined Principles in an EJB

2004-10-14 Thread leathurman
Hi Wessel, Well we currently use out of the box form based authentication with J2EE declatative security and elsewhere we use filter based security. With both the propagation of the data through to the EJB works as you would expect and as per the excellent JAASHowTo documentation. Are you hav

[JBoss-user] [Security & JAAS/JBoss] - Re: form based auth & DatabaseServerLoginModule

2004-10-14 Thread haobaba1
Sorry the xml got stripped out I am trying again, this is what you add to the log4j.xml: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851432#3851432 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=385143

[JBoss-user] [Persistence & CMP/JBoss] - Re: Initializing a java.sql.Blob cmp field (JBoss 3.2.3/Orac

2004-10-14 Thread scoy
This is not true - please read my FAQ post again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851431#3851431 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851431 --

[JBoss-user] [Security & JAAS/JBoss] - Re: form based auth & DatabaseServerLoginModule

2004-10-14 Thread haobaba1
You don't implement a servlet that retrieves the login creditials. The servlet container intercepts the j_security_check post and initiates the login with the login module you configure automatically. Check your query 'Roles' should be "Roles" don't ask why I don't know. Add this to the log4j.

[JBoss-user] [Performance Tuning] - Re: JBOSS 3.2.5: 100% CPU Utilization

2004-10-14 Thread clebertsuconic
Why don't you use JBossProfiler on that? You can keep the profiler off until you get the 100% of CPU, and make it active when you got the high consumption of CPU. The reports you get will tell exactly what's going on inside the JVM. Actually I've created JBossProfiler (Well... of course I didn'

[JBoss-user] [Installation & Configuration] - Re: Out of Memory Error

2004-10-14 Thread [EMAIL PROTECTED]
Right, which is why I said the issue appears to be running out of thread or descriptors. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851156#3851156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851156 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Initializing a java.sql.Blob cmp field (JBoss 3.2.3/Orac

2004-10-14 Thread gchazalon
Thanks for your answer Steve, As we decided to get rid off the BLOB column in the project, I don't have BLOB mapping issues anymore ;-) Nethertheless, your previous post was valuable for my personal knowledge. Now I know that the Oracle JDBC driver doesn't support LOB bigger than 5kB, which is,

[JBoss-user] [Security & JAAS/JBoss] - J2EE Client Authenticated but Subject has no Principals

2004-10-14 Thread alan boshier
I'm hoping this is a really easy one to answer. I have a JBOSS J2EE application client that is using JAAS to log in and access EJB resources. I have a very simple setup for the client - it uses the ClientLoginModule only and a standard UsernamePasswordCallbackHandler. Authentication to the serv

[JBoss-user] [Security & JAAS/JBoss] - Re: Multi-threaded Client JBOSS applications and JAAS

2004-10-14 Thread alan boshier
In case anyone is interested, I found a workaround to the lack of doAs support. Setting multi-threaded=true on the login module configuration for ClientLoginModule has the effect of allowing different authenticated credentials on each thread. View the original post : http://www.jboss.org/index.

[JBoss-user] [Security & JAAS/JBoss] - Re: Accessing User Defined Principles in an EJB

2004-10-14 Thread WebSel
No just the default school-book example of a formbased authentication. As I work with struts I blocked all *.do requests untill there is a auth. The first action is the LogonAction, it is here i'm trying to fix the propagation of the authentication... I'm still a bit amazed that this seems such a

[JBoss-user] [Security & JAAS/JBoss] - Re: Accessing User Defined Principles in an EJB

2004-10-14 Thread leathurman
Hi Wessel, Thanks for taking the time to reply. I have JAAS working with the details being propagated through from the web layer to the EJB layer (using Form authentication and Filters) and everything secured and it all works fine. My question was really how you get access to user defined prin

[JBoss-user] [Security & JAAS/JBoss] - Form based auth + EJB Auth working, How to use form-auth on

2004-10-14 Thread WebSel
Hi!, I've a problem which i haven't figured out yet. I have a form based authentication () which works fine. I have my EJB's protected with the same security domain which works ok if I supply a valid username & password to a standalone client What I would expected is that the servlet container

[JBoss-user] [Persistence & CMP/JBoss] - Re: jbosscmp-jdbc.xml syntax

2004-10-14 Thread triathlon98
This seems to be a database specific issue. Try looking at/editing the conf/standardjbosscmp-jdbc.xml file. You can either change the alter table template (also see details in the wiki), or you can change the default typemappings for your database to include default values for some types (probab

[JBoss-user] [HTTPD, Servlets & JSP] - Re: request.getSession() somtime return null

2004-10-14 Thread Lviz
hi a call to request.getSession() returns ...: Returns the current HttpSession associated with this request or, if there is NO current session returns null. a call to request.getSession(true) returns ...: Returns the current HttpSession associated with this request or, if there is no current

[JBoss-user] [Beginners Corner] - Re: Classpath problems - Beans from one ear are using the JA

2004-10-14 Thread lindsay_h
OK the solution you mentioned worked, but I have another question... Is it possible to use the MANIFEST file of the EJB JAR file to specify the classpath to the required utility JARs, but yet retain the isolated classloader behaviour that happens when you use application.xml? When I've done thi

[JBoss-user] [Messaging, JMS & JBossMQ] - Spurious exception with 4.0.0

2004-10-14 Thread pilhuhn
While my (simple) app is able to send and receive and also to trigger a MDB, the server shows the following exception: | 2004-10-14 12:36:20,035 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTas | k.run | 2004-10-14 12:36:20,035 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin Writ

[JBoss-user] [Persistence & CMP/JBoss] - jbosscmp-jdbc.xml syntax

2004-10-14 Thread tkvarenes
I'm trying to deploy an application with alter-table set, to update the tables in my database, but I get this error message: ALTER TABLE only allows columns to be added that can contain nulls or have a DEFAULT definition specified. Column 'ol_version' cannot be added to table 'STOCK' because it

[JBoss-user] [HTTPD, Servlets & JSP] - Re: request.getSession() somtime return null

2004-10-14 Thread gfzhang
I also find that for a authenticated user, request.isUserInRole() somtime reutrn false. we use this feature to control the look and feel of our application. This issue make our application unstable to user. Is there any work-arround way to solve the issue? Thank you very much! View the origin

[JBoss-user] [Security & JAAS/JBoss] - Re: Accessing User Defined Principles in an EJB

2004-10-14 Thread WebSel
I'm currently in the same process :-) First you need to enable authentication for your beans before the become principal & role aware. This is done with Xdoclet by adding the 'securityDomain' to your xdoclet task: | | The variables you see are definded in your ant.properties

[JBoss-user] [EJB/JBoss] - Accessing an ejb with multiple client threads

2004-10-14 Thread Darknight
When I try I get something like this: javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different tx context Basically I'm invoking method A while method B is still running, invoked by another thread. Both A and B belong to my facade stateful session bean. I did some s

[JBoss-user] [Security & JAAS/JBoss] - Re: form based auth & DatabaseServerLoginModule

2004-10-14 Thread javaprogrammer
"WebSel" wrote : String login = request.getParameter("j_username"); | String password = request.getParameter("j_password"); | | Check these strings, there null. It's not possible to retrieve these values :-( | I'm stucked here as well | | WebSel I checked yhis parameters by System.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Initializing a java.sql.Blob cmp field (JBoss 3.2.3/Orac

2004-10-14 Thread scoy
First of all I don't believe that there is anything in the rule book that says a java.sql.Blob is serializable. Therefore, by definition it cannot be used as a type for a CMP field. If you want to use blobs, use a byte[] type and configure it with appropriate sql-type/jdbc-type parameters in yo

[JBoss-user] [HTTPD, Servlets & JSP] - request.getSession() somtime return null

2004-10-14 Thread gfzhang
I use JBoss 3.2.5. This issue also met in the early version of JBoss. How to solve it? Thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851408#3851408 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [Persistence & CMP/JBoss] - Re: HELP REQUIRED: oracle problem : automatic table creation

2004-10-14 Thread scoy
The Oracle user that you are using has too many privileges, so it can "see" tables in other schema belonging to other users. JBoss can see a table with the specified name in another schema. Steve C. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851407#38514

[JBoss-user] [Beginners Corner] - Does JBoss support Java server faces ?

2004-10-14 Thread rocketarena
Do i need only to add the java server faces library to my project knowing that JSF needs the support of jsp v1.2 and servlet 2.3 which are supported by the versions 3.2.5 and 4.0 of JBoss. so can i work with JSF using Jboss ? thx a lot View the original post : http://www.jboss.org/index.html?

[JBoss-user] [HTTPD, Servlets & JSP] - Re: entering German

2004-10-14 Thread jimbrady
Hi all again, I need to rethink this. The problem clearly occurs when the JSP is compiled. The only reliable way around it seems to be represent all the umlauts in the JSP by ä etc. If anybody knows how I can get the JSPC (pre-)compiler to take UTF-8 text and store the literals as UTF-8 when

[JBoss-user] [Security & JAAS/JBoss] - Accessing User Defined Principles in an EJB

2004-10-14 Thread leathurman
I am using JAAS and I would like to introduce a new principal called Âorganisation which is the organisation of the logged in user. My understanding was that I could implement my own login module to retrieve and store the organisation as a principal on the subject. However my problem is that I

[JBoss-user] [Persistence & CMP/JBoss] - Problem with MS SQL and JBoss 4.0

2004-10-14 Thread vinsleo
Configuration App Server - JBoss 4.0 DataBbase - MS SQL Problem Description - During creation of an entity bean ejbCreate executes porperly but no data gets persisted in the database. - The server log doesnt show any exceptions or errors. - JBoss inserts the datainto the temp created tables for

[JBoss-user] [Beginners Corner] - Re: How stable ?

2004-10-14 Thread Pasche
The German bank "18-22-direkt" is using JBoss to provide online-banking. I think that is a very popular example View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851402#3851402 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Messaging, JMS & JBossMQ] - JBOSS MQ ,Spring framework and JtaTransaction

2004-10-14 Thread shaby775
Hi, I am using the spring framework in conjuction with jboss 3.2.5 and using no ejbs. All of my application is web based and use POJO . I just want to ask a simple question that i am using multiple resource (database and jms) together that is why i need to use distributed transaction with XA ena

[JBoss-user] [JCA/JBoss] - interbase/firebird datasource-mapping

2004-10-14 Thread [EMAIL PROTECTED]
i want to create datasource-mapping for interbase/firebird. what is the best way? i tried using the filrebird-ds, but the system does not find it as datasource-mapping. Does any body has the required file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851397#

[JBoss-user] [Security & JAAS/JBoss] - Re: form based auth & DatabaseServerLoginModule

2004-10-14 Thread WebSel
String login = request.getParameter("j_username"); String password = request.getParameter("j_password"); Check these strings, there null. It's not possible to retrieve these values :-( I'm stucked here as well WebSel View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [JCA/JBoss] - Re: Spring framework and JBossMQ

2004-10-14 Thread shaby775
Hi, To tell you the truth you are very ill-mannered person and u better need to see some doctor to get the screws of your head a bit tighter. I damn care for your app server and a mad person like you. You mental sick, ill-mannered , ill-literate Regards, Shoaib akhtar View the original post

[JBoss-user] [Nukes User] - Design strategy

2004-10-14 Thread pedrojosemartins
I want to have a section in my Nukes where companies can register themselves, by entering their name, url and description. That information would then be rendered using a table in html. For that, i thought i should use a module ("Companies", i could call it). When people clicked on that module(i

[JBoss-user] [Nukes User] - Re: Deployment error

2004-10-14 Thread pedrojosemartins
I've figured that out. Classes which extend ModuleSupport must be declared public. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851394#3851394 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851394 --

[JBoss-user] [Beginners Corner] - JBoss 4.0 Deploy problem - util-Classes in .war not used (th

2004-10-14 Thread StefanKuhn
Hi! JBoss is great! I found the solution to my problem before i even posted my problem. I post it anyway, for thos who have the same problem. The solution is found in http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration as Frito said. My problem: Im deploying an enterprise Web ap

[JBoss-user] [Performance Tuning] - Re: JBOSS 3.2.5: 100% CPU Utilization

2004-10-14 Thread Iliya
I've encountered the similar problem and can't deal with it. The thing is, the amount of threads is growing unpredictably, and it's hard to figure out the reason. Maybe, it depends on JMS options (messages aren't killed immediately)? My JBoss start options are ok. Can anyone help me? View the or

[JBoss-user] [Beginners Corner] - Re: Classpath problems - Beans from one ear are using the JA

2004-10-14 Thread lindsay_h
Thank you Frito! That did the trick. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851389#3851389 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851389 --- This

[JBoss-user] [Clustering/JBoss] - Log4j Problem with Cluster under JBoss 3.2.5

2004-10-14 Thread heiko_nolte
Hi there, we have created an application which uses log4j version 1.2.8. The log4j configuration is set via a properties file contained in our application jars. The logging works fine in single server mode. Logs are written to the directory /bin. When we run our application in a clustered envi

[JBoss-user] [Installation & Configuration] - Re: where to put jk2.properties

2004-10-14 Thread keanthian
yes..please share your experience with us.. thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851387#3851387 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851387 --

[JBoss-user] [News & Announcements] - Re: 3.2.6RC2 Release Avaialble

2004-10-14 Thread Sacha Labourey
and obviously, also works for the lazy: http://www.jboss.org/services/prodsupport View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851161#3851161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851161 --

[JBoss-user] [Installation & Configuration] - Web Container <--> EJb Container by Value

2004-10-14 Thread roberto
JBoss 3.2.x pass data between ejb and web container by reference as standard. How can configure it to pass data by value ? Thank You. Roberto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851385#3851385 Reply to the post : http://www.jboss.org/index.html?mo

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

2004-10-14 Thread WebSel
There's a little err in the callback class, this one is compiling public void handle(Callback[] callbacks) throws java.io.IOException, UnsupportedCallbackException { for (int i = 0; i < callbacks.length; i++) { if (callbac

[JBoss-user] [Beginners Corner] - Re: turn off Unified Class Loader?

2004-10-14 Thread Frito
No. This configuration even works with SARs. Just look into jboss-service_3_2.dtd . Works for me ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851381#3851381 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851381