[JBoss-user] [HTTPD, Servlets JSP] - Re: Bug with post data surviving form based login?

2004-03-29 Thread Martin0
the forum can't display the html for my form It's just a form, action is process.jsp, method is post it has 1 input type text name text1 another input type submit, value OK That's it a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827825#3827825;View the original post/a a

[JBoss-user] [HTTPD, Servlets JSP] - Re: Bug with post data surviving form based login?

2004-03-29 Thread Martin0
As an aside, I see the the description tags also disappear in a quote block eg web.xml above a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827826#3827826;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827826Reply to the

[JBoss-user] [Security JAAS/JBoss] - Re: custom secuity using UsernamePasswordLoginModule class

2004-03-29 Thread [EMAIL PROTECTED]
since you already have your users and roles in the oracle database you're better off using the DatabaseLoginModule. Also you can write custom login modules, or you can use security interceptors to further your programmatic security. a

[JBoss-user] [Installation Configuration] - Re: Logging stacktraces from tomcat

2004-03-29 Thread ahardy66
I don't know what it is that is causing log4j to wrap the stacktraces from tomcat, presumably it's something in the tomcat - jboss integration. I'd love to know - anyone from JBoss? Anyway the solution is to adjust the log4j configuration. It means taking the appenders off the root category

[JBoss-user] [Beginners Corner] - enough problem to fed up

2004-03-29 Thread nytmare
hi all first i'want thanks all have contribute to this tutorial vishal ;) but i fed at each step i've stck... anonymous wrote : chap1:ejb-generate.xml becam xdoclet.xml . i'have :[ant] build faild when deploying i solve that by adding some line into jboss321all.server i found that in

[JBoss-user] Problem in deploying CastorJDO MBean

2004-03-29 Thread Marco Mistroni
Hi all, I am using jboss3.2.3, and I have deployed the CastorJDO MBean. I am experiencing problems in that it seems jboss Is trying To validate database.xml and mapping.xml by retrieving DTDs from The net. What I would like is to have it at work also when I am not online... Does anyone

[JBoss-user] [Security JAAS/JBoss] - Executing code immediately after form-base JAAS-login

2004-03-29 Thread ant
Hi All, does anybody know how to execute code directly after the webcontainer authenticates an user using form-based JAAS-login? Among other duties I inted to log (i.e. to create a log entry) every login attempt into the database. Because the webcontainer handles the authentication

[JBoss-user] [Messaging, JMS JBossMQ] - Re: dlq recovery to single subscriber

2004-03-29 Thread schrouf
You should better use durable subscriptions and JBossMQ redelivery feature instead of a DLQ. In case of a backend failure for one of your MDB's just call ctx.setRollbackOnly() for mdb-specific rollback of message reception. JBossMQ will automatically redeliver these messages after a

[JBoss-user] [Persistence CMP/JBoss] - CMP/BMP or JDO/hibernate

2004-03-29 Thread igod
Hi, I want to create an Intranet application for an enterprise with 50 employees. I work in java for a long but it's my first time that I will do anything with EJBs. Well, I do my study work, and I learn a bit about Ejb ( session beans, stateless beans, cmp beans and bmp beans ). I consider CMP

[JBoss-user] [Security JAAS/JBoss] - DatabaseServerLoginModule

2004-03-29 Thread sanjuthomas
i am trying to mingrate from weblogic to JBoss 3.2.2, so i need to deploy my all EJBs into JBoss server, i am implementing security using DatabaseServerLoginModule since my user details roles are stored in Database. I have completed server side implementations, but i am unaware about the

[JBoss-user] [EJB/JBoss] EJB QL - jboss 3.2.3 -why i can't acess to father id?

2004-03-29 Thread Laurent MARQUEZ
Hi, t_tm |t_scenario ---|-- tm_id |scenario_id tm_nom |scenario_label |scenario_valeur |scenario_horodate |scenario_tmid - refers to t_tm.tm.id as foreign key Why I can't access to the father id tm_id? 2004-03-29 11:40:54,523 DEBUG

[JBoss-user] [Installation Configuration] - Where shall I find jboss.jcml and jboss.conf files?

2004-03-29 Thread kondetisree
Hi all.. When I was goin thru Jboss Administation book its mentioned there is directory called conf under jboss. But I didn't find such type of directory after unzip the Jboss3.2.3 Books says that there are files called jboss.jcml and jboss.conf files are located under conf directory. So

[JBoss-user] [Beginners Corner] - Re: CMP - repeated sql condition

2004-03-29 Thread loubyansky
It is on-load read-ahead. Please, check our documentation. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827841#3827841;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827841Reply to the post/a

[JBoss-user] [Security JAAS/JBoss] - Re: Can tomcat authenticated Subject be reused in JBoss EJB

2004-03-29 Thread neilthorne
Thanks for the bootstrap. I've looked around the classes involved and from what I understand of the code I noticed that during the overriden authenticate method on JBossSecurityMgrRealm the Subject created by the LoginContext instance is stored in a SecurityAssociation ThreadLocal instance

[JBoss-user] [Security JAAS/JBoss] - Subject.doAs don't work. Please help me!

2004-03-29 Thread Phantom
Sometime ago we change main developer server from weblogic to JBOSS and trying to rebuild our security system to JBOSS security approach. But we discover than Subject.doAs dont work at all. Please, explain how can we execute privileged code? Example Code in non EJB class: | ...

[JBoss-user] [Persistence CMP/JBoss] - Re: UPDATE after INSERT in CMR

2004-03-29 Thread loubyansky
Probably, you are using primary key generation entity-command and the primary key is generated at INSERT time. If so, of course, it won't work. As a workaround, you could use some entity-command that generates keys before INSERT. Sorry, but that's the spec. a

[JBoss-user] [HTTPD, Servlets JSP] - Re: Bug with post data surviving form based login?

2004-03-29 Thread Martin0
JBoss, please let me know what logging you would like turned on to supply further information if you are not able to reproduce this yourselves. Thanks Martin a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827845#3827845;View the original post/a a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Comparison of UIL2, OIL2 and OIL

2004-03-29 Thread lucasfowler
Thanks for the prompt reply Scott. 1. So what is the roadmap for the protocols in 3.2.3, can we assume OIL and UIL2? 2. We're running Linux 2.4.18-smp with 2 1.4 GHz Pentium III Java version 1.4.1_01 command line java -DJBOSS=505 -server -server -Xms4m -Xmx256m -Dprogram.name=run.sh -classpath

[JBoss-user] [Persistence CMP/JBoss] - Re: Foreign key as a Primary Key

2004-03-29 Thread loubyansky
This is done by mapping foreign key fields to primary key columns. Your example is incorrect as it declares CMR fields as primary keys. Only CMP fields can be primary keys. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827846#3827846;View the original post/a a

[JBoss-user] [Security JAAS/JBoss] - Custom Login Module using UsernamePasswordLoginModule

2004-03-29 Thread sanjuthomas
hi all, we were using weblogic, now we are migrating to jboss, so need to implement a security system, we have written a class that extends UsernamePasswordLoginModule, that alomost like DatabaseServerLoginModule class, or we made changes in the DatabaseServerLoginModule Class, according to our

[JBoss-user] [Persistence CMP/JBoss] - Re: one to many relationship and XDoclet

2004-03-29 Thread loubyansky
This looks correct. Do you have other relationships? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827848#3827848;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827848Reply to the post/a

[JBoss-user] [Beginners Corner] - Re: EJB CMR questions

2004-03-29 Thread loubyansky
key-field mapps a primary key field to a foreign key column. I don't know whether the mapping you posted is correct in the context of your application. An entity bean with CMR can also have remote interface but CMR can only be accessed within local interfaces. a

[JBoss-user] [Persistence CMP/JBoss] - Re: ReadyCount vs PooledCount

2004-03-29 Thread loubyansky
Pool is a set of created instances not associated with persistent data. Cache is a set of instances associated with persistent data. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827851#3827851;View the original post/a a

[JBoss-user] [Performance Tuning] - Re: Performance of 3.2.3 When EJB requires DB lookup

2004-03-29 Thread loubyansky
W/o looking at SQL it is impossible to say what the problem is. Perhaps, it is using joins for the opposite direction. I am not saying it takes that long but I can't say it isn't neither. It would also help if you could compare the SQL from 3.0.8 and 3.2.3 and let us know how long it took in

[JBoss-user] [Performance Tuning] - Re: Performance of 3.2.3 When EJB requires DB lookup

2004-03-29 Thread lucasfowler
OK, the trace is below, as well as the explain from Postgres. I had a closer look at the times and I'm seeing that 20ms is a peak, the trace below is more like the mode, about 3ms, with an average of about 8ms. Still 3ms for a request which Postgres manages in 0.13ms is still rather large.

[JBoss-user] [Persistence CMP/JBoss] - Re: CMP in servlet and persistence, UserTransaction?

2004-03-29 Thread loubyansky
getPrimaryKey() primary key is handled by client container and not fetching the value from the persistent context. So, the answer is no even for UserTransaction. You need to access some CMP or CMR field to load the data into the cache. a

[JBoss-user] [EJB/JBoss] - Re: BUG: EJB-QL OR operator fails with nulls in inner join

2004-03-29 Thread loubyansky
In EJBQL paths that appear in the FROM should be inner-joined. Other paths should be outer-joined. Current compiler in 3.2 does not support outer joins and has some hucks in this regards. There is a new QL compiler in HEAD that is INNER/OUTER based. It might be ported to 3.2 one day. a

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate Deploy Strategy

2004-03-29 Thread milasx
Many thanks! I managed to do that. One more question is how do you bind to declarative transactions, ie avoid the use of programmatic transaction management when running inside a session bean? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827863#3827863;View the original

[JBoss-user] [Persistence CMP/JBoss] - Re: Strange problem with JBOSS + MySql + RH Linux 9.0

2004-03-29 Thread loubyansky
NPE is thrown from your code. So, look at what reference is null and investigate why it could be so. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827864#3827864;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827864Reply to

[JBoss-user] [Persistence CMP/JBoss] - Re: Finder CMP methods not working?

2004-03-29 Thread loubyansky
Yes and JBoss version, please. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827854#3827854;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827854Reply to the post/a ---

[JBoss-user] [Persistence CMP/JBoss] - Re: Why MIN/MAX functions work only on numbers?

2004-03-29 Thread loubyansky
That's true. The query should be compiled correctly. The problem occurs at reading the result, right? You can submit a bug report for this case. (It should work in HEAD). Only, CMP fields can be used in queries. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827855#3827855;View

[JBoss-user] [Persistence CMP/JBoss] - Re: IllegalStateException while removing entities in CMR.

2004-03-29 Thread loubyansky
To reproduce this I would need not only the relationship specification but also some real initial data. Could you please provide it? Thanks. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827866#3827866;View the original post/a a

[JBoss-user] [HTTPD, Servlets JSP] - Migrate from Jetty to Tomcat: Dynamic contexts

2004-03-29 Thread terp
Hi We are going to migrate our apps from embedded Jetty to embedded Tomcat in order to evaluate if a switch will not have a negative impact on performance. In Jetty we dynamically add Web Contexts to an app at deploy time using jetty-web.xml : | ?xml version=1.0 encoding=ISO-8859-1? |

RE: [JBoss-user] [EJB/JBoss] EJB QL - jboss 3.2.3 -why i can't acess to father id?

2004-03-29 Thread Alexey Loubyansky
User lowercased first characters for field names. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Laurent MARQUEZ Sent: Monday, March 29, 2004 12:56 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] [EJB/JBoss] EJB QL - jboss 3.2.3 -why i can't

[JBoss-user] [Performance Tuning] - Re: Performance of 3.2.3 When EJB requires DB lookup

2004-03-29 Thread loubyansky
If I understand right, 0.13 msec is the time that Postgres took to execute the query. It does not take into account JDBC, right? How long did it take in 3.0.8? Thanks. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827867#3827867;View the original post/a a

[JBoss-user] [Installation Configuration] - Re: Best way to share classes in several SAR files ?

2004-03-29 Thread daune_jf
To avoid ClassCastException (services actually interact) J-F a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827868#3827868;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827868Reply to the post/a

[JBoss-user] tusc.com tutorials and problems

2004-03-29 Thread Vamsi Sarma
Hi Since two days iam trying to run chap3 .. tutorial provided by the vishal. I could not able to run it , i have done all the steps exactly. Finally when i run client, getting exception ...21 more. I commented database connection part , i returned String userIdtest. After that i did not get

[JBoss-user] [HTTPD, Servlets JSP] - Re: Bug with post data surviving form based login?

2004-03-29 Thread Martin0
Something else that might throw more light on the situation the access log in jboss3.2.3 reports that the GET method is used to access process.jsp, where it should be the POST method. This would explain why the post data is lost. Martin a

[JBoss-user] [Beginners Corner] - Re: Unable to start the server

2004-03-29 Thread darranl
Are you using JBoss IDE and running JBoss in Eclipse? What is your JDK version? a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827873#3827873;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827873Reply to the post/a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB ACTIVE but stops consuming

2004-03-29 Thread Amresh
Thanks I will have give this a try. Amresh a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827874#3827874;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827874Reply to the post/a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Comparison of UIL2, OIL2 and OIL

2004-03-29 Thread [EMAIL PROTECTED]
No OIL is going away. OIL has some bad synchronization problems. UIL2 is designed to be concurrent. I don't recognise your CPU problems. Are you using Redhat9? Try setting export LD_ASSUME_KERNEL=2.4.1 to turn off Redhat's buggy backport of NPTL I have also started to do some work on the server

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS appears to hang

2004-03-29 Thread [EMAIL PROTECTED]
This was a known bug with 3.2.2, try 3.2.3 If you have configured the MessageCache to aggressively soften it can thrash trying to soften persistent messages that don't need to be softened. Regards, Adrian a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827878#3827878;View the

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Infinite Thread generation in JBossMQ client?

2004-03-29 Thread [EMAIL PROTECTED]
Hi, I have solved the problem by using a singelton wrapper for the Connection class. This will also enable all clients to be Exception listeners since the wrapper class distributes the onException() call. I am starting and stopping with, addMessageListener(...) and session.close(). Seems to

[JBoss-user] [Performance Tuning] - Re: Performance of 3.2.3 When EJB requires DB lookup

2004-03-29 Thread lucasfowler
Yes, that's right, the 3ms is between [2004-03-26 18:11:41,231] [TRACE] [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.TraderMapping#findByTraderIdAndExchange] Set parameter: index=2, jdbcType=VARCHAR, value=vtx and [2004-03-26 18:11:41,234] [TRACE] [org.jboss.ejb.plugins.EntityInstancePool]

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Publishing to remote topic fails during JBoss startup

2004-03-29 Thread [EMAIL PROTECTED]
Use 3.2.3 There is a known race condition between connection.start() and consumer.receive() in 3.2.1 If you used search, you would find this discussed many times. Regards, Adrian a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827881#3827881;View the original post/a a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JmsXA/QueueConnection Factory

2004-03-29 Thread [EMAIL PROTECTED]
Neither QueueConnectionFactory or java:/JmsXAQ exist in jndi java:/JmsXA does. The stacktrace is because you are not closing the connection/session. Regards, Adrian a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827882#3827882;View the original post/a a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Help - Failed to deploy MDB

2004-03-29 Thread [EMAIL PROTECTED]
version? My guess is you are not using the latest and greatest. Regards, Adrian a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827883#3827883;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827883Reply to the post/a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Platform dependent problem with JBossMQ

2004-03-29 Thread [EMAIL PROTECTED]
The ping timeout says the client is not getting a response from the server. This is most likely due to a network problem, i.e. the server is being told to connect back to the wrong client. If you get the same problem with UIL2 you have a more serious network problem. You are also using consumers

[JBoss-user] [JCA/JBoss] - Re: does jboss4.00dr3 supports jca1.5?

2004-03-29 Thread [EMAIL PROTECTED]
No it does not, that is scheduled for DR4 Regards, Adrian a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827885#3827885;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827885Reply to the post/a

[JBoss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule

2004-03-29 Thread ant
I recommend you to utilize Xdoclet (xdoclet.sourceforge.net). With this tool you can decorate your businessmethods with deployment information and the deployment descriptors are generated automatically both for weblogic and jboss and many others. I never wrote or clicked DDs by my self. The

[JBoss-user] [Persistence CMP/JBoss] - Re: CMP/BMP or JDO/hibernate

2004-03-29 Thread Beal91
I'm pretty new to the EJB arena, too, but I'll try to throw out a couple of responses to your questions. 1) Is EJB right for you? Who knows. A lot of people have accused EJB of being overkill for most applications. That may be so, but a good development tool (such as XDoclet) can go a long

[JBoss-user] [Persistence CMP/JBoss] - Multiple datasources, urgent !!!!

2004-03-29 Thread marcord
Hi all, Desperate, I'm working with jboss-3.2.3 and mysql, i can't deploy some ejb, i need to map them to a different database, it's one database with 5 tables per context and i have 10 context, since every instance on the ejb create the same tables i need to use different database, bit i

[JBoss-user] [Clustering/JBoss] - can not sticky sessions .... why.

2004-03-29 Thread gugusam
hi I've configured serve1 jboss3.2.3 with apache 1.3.x and mod_jk2 connector on Redhat9, and server2 configured only jboss3.2.3 on RedHat9. The load balancing works correctly, but i'm having a few problems getting the sticky sessions to work. I'll post my workers2.properties below Thanks in

[JBoss-user] [JCA/JBoss] - Re: JBOSS - DB2

2004-03-29 Thread cherold
Hi I'm using DB2 8.1.4 with jboss 3.2.3. I#m using the JCC type 4 driver because we found this to be faster than appdriver and much easier to install. Therefor you need the files: db2jcc.jar and may be one or both of these db2jcc_license_cisuz.jar db2jcc_license_cu.jar It works fine in our

[JBoss-user] [JCA/JBoss] - Re: Unable to call two Oracle stored procs from one connecti

2004-03-29 Thread [EMAIL PROTECTED]
The setTransactionIsolation() is invoked lazily on first use of a connection. // Check the isolation level if (jdbcTransactionIsolation != underlyingTransactionIsolation) { con.setTransactionIsolation(jdbcTransactionIsolation);

[JBoss-user] [Beginners Corner] - Re: Problem in relative path references

2004-03-29 Thread bensch
Hi, We are sitting with the same problem. We use a jsp:include tag to include a JSP with all our CSS and .JS references in each main JSP. The CSS references works fine, but for some reason we can not get the javascript to work. It works fine under Tomcat alone, but as soon as we deploy it

[JBoss-user] [JCA/JBoss] - Re: Strange behaviour with db2 xa datasource

2004-03-29 Thread [EMAIL PROTECTED]
This is not very informative: Caused by: javax.transaction.xa.XAException at COM.ibm.db2.jdbc.app.DB2XAResource.throwXAException(DB2XAResource.java:288) at COM.ibm.db2.jdbc.app.DB2XAResource.end(DB2XAResource.java:136) Try adding track-connection-by-txtrue/track-connection-by-tx (if you don't

[JBoss-user] [EJB/JBoss] - Re: How to configure TransactionManager!?

2004-03-29 Thread milasx
Hi, Any luck at all with this? Many thanks! a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827895#3827895;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827895Reply to the post/a

[JBoss-user] [JCA/JBoss] - Re: JBOSS hangs after contineous running for about 10 days

2004-03-29 Thread [EMAIL PROTECTED]
Does it respond to a thread dump request? If not, it means the jvm has crashed. Regards, Adrian a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827896#3827896;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827896Reply to the

[JBoss-user] [Beginners Corner] - Re: Unable to start the server

2004-03-29 Thread csmanohar
Yes I am. The JDK version is j2sdk1.4.1 a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827898#3827898;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827898Reply to the post/a

[JBoss-user] [Installation Configuration] - Re: Port already in use - Jboss 3.2.3 Problem

2004-03-29 Thread Ulf.Klaas
Hi, i have this problem, too. I use JBoss 3.2.3, Windows 2000 Server (all Patches and SP's), Sun Java 1.4.2. JBoss is started as a wrapper service at the server boot time. In my case, the server services (sometimes DNS, sometimes IIS/ FTP, ...) use the Port 1098. I found out that with the

[JBoss-user] [EJB/JBoss] - differences between EJB and MBeans?

2004-03-29 Thread Berritxu
Hello! Im new using JBoss. I've deployed some EJBs, using the standard examples. But now, I need deploy a MBean. What's different? There's an example anywhere? Thanks a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827902#3827902;View the original post/a a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS appears to hang

2004-03-29 Thread moppersmurf
[EMAIL PROTECTED] wrote : This was a known bug with 3.2.2, try 3.2.3 | | If you have configured the MessageCache to aggressively soften it can | thrash trying to soften persistent messages that don't need to be softened. | | Regards, | Adrian | Thanks. We're installing 3.2.3

[JBoss-user] [Clustering/JBoss] - Re: can not sticky sessions .... why.

2004-03-29 Thread Sacha Labourey
You need to assign a worker id in your Tomcat engine configuration: | Server | Service name=JBoss-Tomcat | Engine name=MainEngine defaultHost=localhost | jvmRoute=node1 |Logger className=org.jboss.web.tomcat.Log4jLogger |

[JBoss-user] [Advanced Documentation] - Re: Where shall I find conf directory in Jboss

2004-03-29 Thread [EMAIL PROTECTED]
jboss.conf and jboss.jcml are 2.4.x files. The 3.2.3 series has jboss-3.2.3/server/default/conf which contains a jboss-service.xml file. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827909#3827909;View the original post/a a

[JBoss-user] [Clustering/JBoss] - additional Info to Caching of SLSB Proxies and Problems whil

2004-03-29 Thread cherold
Hi again still working on the same problem... I recognized that I still get errors when trying to lookup home after restart of jboss from extern tomcat. I 'm running two jboss, one is located on the same mashine as my tomcat server. It seems jboss-client-classes also tries to lookup on

[JBoss-user] [Persistence CMP/JBoss] - Could not create two instances of the same entity at the sam

2004-03-29 Thread DarkLord
Hello, We have an application that create entities (let's say a Book) when some message is send to a queue. An MDB picks up the message, translate its content and create a new entity with the value contained in this XML. Most of the time, the message contains an array of Books to create.

[JBoss-user] [Security JAAS/JBoss] - again a problem with LdapLoginModule

2004-03-29 Thread fauge
Hi, I searched in the forum, and found things, but never all the correct informations somewhere. I also read the jaas-howto, but not much about ldap. Well it's been 2 days, and I can't have the roles for my users ! First, the ldap structure: This is the Tomcat sample schema which is exactly the

[JBoss-user] [HTTPD, Servlets JSP] - Re: Bug with post data surviving form based login?

2004-03-29 Thread [EMAIL PROTECTED]
Post a bug report to sourceforge with the sample war. http://sourceforge.net/tracker/?group_id=22866atid=376685 a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827913#3827913;View the original post/a a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Comparison of UIL2, OIL2 and OIL

2004-03-29 Thread Thoennes
Adrian, I am a collegue of Lucas: Ad 1) We need to use the IL which is fast enough for our purposes (UIL2 currently isn't as fast as OIL in our specific application) Ad 2) We are using Debian Linux, so the hint with Red Hat does not apply for us. With our type of application, we have seen a

[JBoss-user] [Management, JMX/JBoss] - jms messages cache im memory.

2004-03-29 Thread srinivasbv_gowda
Hi All, Could any tell me, is it possible to configure jms messages to cache within memory instead of database. Thanks Srinivas a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827914#3827914;View the original post/a a

RE: [JBoss-user] [Installation Configuration] - JBOSS + POSTGRE SQL

2004-03-29 Thread Bruce Ashton
George: It's not quite as simple as that, there are a few other configuration files that have to be tweaked as well. I can't remember what they all are atm, but I have them on my PC at home. If you can wait for a couple of hours I'll send them on to you. bruce -Original Message-

RE: [JBoss-user] [Installation Configuration] - JBOSS + POSTGRE SQL

2004-03-29 Thread Bruce Ashton
send an email to bruce at ashton dot net as I probably won't be able to send attachments via a mailing list -Original Message- From: pagomen [mailto:[EMAIL PROTECTED] Sent: 29 March 2004 14:32 To: [EMAIL PROTECTED] Subject: [JBoss-user] [Installation Configuration] - JBOSS +

[JBoss-user] [EJB/JBoss] - Stubs and Skeleton generation.

2004-03-29 Thread srinivasbv_gowda
Hi All, I was able to deploy ejb ( session and BMP), to my surprise there was not stubs and skeleton files been there, I didn't see ant error will deploy and also I was able run my testcase. Could any tell me, for jboss stubs and skeleton are not required, if yes how it is been taken care.

[JBoss-user] [Installation Configuration] - Re: Logging stacktraces from tomcat

2004-03-29 Thread [EMAIL PROTECTED]
We redirect System.out, System.err to a log4j appender. If you don't want that behavior set the org.jboss.logging.Log4jService.catchSystemOut and org.jboss.logging.Log4jService.catchSystemErr system properties to false. a

[JBoss-user] [Beginners Corner] - ejbGenerate.xml

2004-03-29 Thread pagomen
Hi all, I am following the Lomboz tutorial in order to create an CM EJB. But it seems that the EJB creation wizard does not create the ejbGenerate.xml file? Does anyone knows why ? Thanks in advance George a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827918#3827918;View

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Comparison of UIL2, OIL2 and OIL

2004-03-29 Thread [EMAIL PROTECTED]
1) In my measurements UIL2 is faster than OIL (except for the time required to connect on a local machine which takes longer because of thread pool construction). It is on my list to improve the thread pooling generally in jbossmq. See the development forums. 2) UIL2 does less synchronization so

RE: [JBoss-user] [Messaging, JMS JBossMQ] - Re: JmsXA/QueueConn ection Factory

2004-03-29 Thread Bruce Ashton
Adrian: Should I be using JmsXA as the connectionfactoryname attribute for the JMSCacheInvalidationBridge? http://www.jboss.org/index.html?module=bbop=viewtopict=47589 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 March 2004 13:18 To: [EMAIL

[JBoss-user] [EJB/JBoss] - Re: Stubs and Skeleton generation.

2004-03-29 Thread [EMAIL PROTECTED]
not required, we generate the proxies at runtime and serialize them to the client a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827920#3827920;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827920Reply to the post/a

[JBoss-user] [Persistence CMP/JBoss] - Re: Finder CMP methods not working?

2004-03-29 Thread ltcmelo
Already solved it, was not jboss problem! My fault! a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827921#3827921;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827921Reply to the post/a

[JBoss-user] [Beginners Corner] - Deploying EJB's that use classes in web-inf\classes

2004-03-29 Thread x091028
I am tring to deploy a ear file onto jboss 3.0 where the ejb's referance classes in the war file web-inf/classes and receive the following error. 2004-03-25 11:05:51,132 WARN [org.jboss.ejb.EJBDeployer] Verify failed; continuing java.lang.NoClassDefFoundError: Any help would be great. a

[JBoss-user] [Javassist user questions] - Re: javassist.ClassPool should extend the ClassLoader or URL

2004-03-29 Thread chiba
Your suggestion is right. My current plan is to make it possible to a hierarchy of ClassPool parallel to ClassLoader's. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827924#3827924;View the original post/a a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss 3.2.2 -- MDB listening on wrong Queue

2004-03-29 Thread mring33
Thanks for the reply. Unfortunately, my jboss.xml file validates successfully against the 3.2 DTD. I guess I'll have to play around a bit more with it. I'll post again once I find out more. -Matt a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827925#3827925;View the original

[JBoss-user] [Beginners Corner] - Re: Deploying EJB's that use classes in web-inf\classes

2004-03-29 Thread cvandyck
I'm not sure if this is the correct way to do this, but our solution to this was to deploy those needed classes in the ejb.jar deployment as well. Our build script handles the copying of those classes. a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827926#3827926;View the

[JBoss-user] [Clustering/JBoss] - Re: can not sticky sessions .... why.

2004-03-29 Thread gugusam
hi sacha It replies and Thank you. Please tell me detail? What is the 'node1'. What is the worke id? node is partition name? i'll modified jboss-service.xml below server1 - Engine jvmRoute=IP of server1's name=MainEngine defaultHost=IP of server1's

[JBoss-user] [Messaging, JMS JBossMQ] - Re: dlq recovery to single subscriber

2004-03-29 Thread justbrian
Hey schrouf, Thanks for the response I am using durable subscriptions and have considered cranking up the retries. But, I also like the idea of the DLQ. Monitoring that single queue for problems rather than X number of topics/subscribers. I have also been experimenting with using a

[JBoss-user] JNDI access to java:/Mail from MDB

2004-03-29 Thread Brice Ruth
I'm trying to access the JavaMail provider I've configured in mail-service.xml, under java:/Mail. If I lookup java:/Mail in my MDB, all works fine. However, if I try to access java:/comp/env/mail/MailProvider - as I believe I've configured ejb-jar.xml and jboss.xml, then I get Naming

[JBoss-user] [Persistence CMP/JBoss] - Instance not automatically updated in 3.2.4RC2 ?

2004-03-29 Thread triathlon98
I have the following piece of code in my test suite : | public void testBoxSale() | throws Exception | { | // create the necessaty stuff | BatchSelectorEJB batchSelector = batchSelectorHome.create(); | WeightEJB box = weightHome.create(

[JBoss-user] [EJB/JBoss] - Problem with serialization of Stateful SB handle

2004-03-29 Thread afleet
Hi, I have a client app of a stateful session bean. The app serializes the component interface to a file, recreates it and uses it. (Code below). The output from the Session bean is a follows... 15:14:17,421 INFO [STDOUT] HelloBeanEJB() 15:14:17,421 INFO [STDOUT] setSessionContext

[JBoss-user] [EJB/JBoss] - Re: External File access denied

2004-03-29 Thread afleet
Hi, I don't know whether there is a JBoss specific work around, however the EJB spec says : An enterprise bean must not use the java.io package to attempt to access files and directories in the file system. The file system APIs are not well-suited for business components to access data.

[JBoss-user] [Beginners Corner] - Re: Problem in relative path references

2004-03-29 Thread davidmarginian
Check your \server\%servername%\deploy\jbossweb-tomcat41.sar\web.xml file and make sure the js mime-extension is registered. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3827991#3827991 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - ModelMBeanInfo.getMBeanDescriptor().getFieldValue(

2004-03-29 Thread brettcalvin
Greetings - I am writing my own persistence manager for my model mbeans. Obviously, you need some sort of unique name to associate with each set of attributes for each MBean. My intent was to use the MBean name, since it is there and already unique. So, in my

[JBoss-user] [Persistence CMP/JBoss] - Re: CMP in servlet and persistence, UserTransaction?

2004-03-29 Thread alwyn
Ok. Do you need to access the CMP field as part as a UserTransaction to ensure caching or is accessing it enough? Thanx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3828008#3828008 Reply to the post :

[JBoss-user] [Performance Tuning] - JBOSS CMP No Select Before Insert

2004-03-29 Thread sachinvidwans
Hello, I am using jboss3.2.3 on Linux. There was a previous post about the no-select-before-insert entity command in this forum. This to avoid the select count(*) queries before inserts. From what I understood setting this requires the following. In the standardjbosscmp-jdbx.xml file Under

[JBoss-user] [Installation Configuration] - My Bean Is Not getting Updated

2004-03-29 Thread cheenu78
hi all, I am using jboss3.2.2 on Windows XP and, Jbuilder as IDE. I have a strange problem where in, if a bean(Session Facade) is deployed and later modified, and redeployed, the changes are not getting effected. I tried to shutdown the server, clean the tmp diretory and restart the server and

[JBoss-user] [Installation Configuration] - My Bean Is Not getting Updated

2004-03-29 Thread cheenu78
hi all, I am using jboss3.2.2 on Windows XP and, Jbuilder as IDE. I have a strange problem where in, if a bean(Session Facade) is deployed and later modified, and redeployed, the changes are not getting effected. I tried to shutdown the server, clean the tmp diretory and restart the server and

[JBoss-user] [Messaging, JMS JBossMQ] - I need help with JMS and Oracle Trigger in JBoss 3.2.2 RC3

2004-03-29 Thread cheenu78
hi all, I have a senario where in, I need to publish a message when a table in inserted or updated. That is, is it possible for an Oracle Trigger to publish a message to the JMS Topic? thanks in advance srinivas View the original post :

[JBoss-user] [EJB/JBoss] - Confused about jboss.xml/jboss-web.xml depends element

2004-03-29 Thread benstarr
I am confused about the use of the depends attribute. I want to ensure that all of my web applications and EJBs are started in the correct order so that if I start my application while there are messages in my JMS queues or requests coming in through Tomcat I can ensure that everything runs

[JBoss-user] [Security JAAS/JBoss] - custom security class using UsernamePasswordLoginModule

2004-03-29 Thread sanjuthomas
hi all, we are trying to migrate from weblogic to jboss, so we need to implement a custom security class, we have written a custom security class. but we are unaware about the loading stratagies of this cusotm class, if somebody know how to load this class and make use of this class to secure

[JBoss-user] [Security JAAS/JBoss] - custom security class using UsernamePasswordLoginModule clas

2004-03-29 Thread sanjuthomas
hi all, we are trying to migrate from weblogic to jboss, so we need to implement a custom security class, we have written a custom security class. but we are unaware about the loading stratagies of this cusotm class, if somebody know how to load this class and make use of this class to secure

  1   2   >