[JBoss-user] [Beginners Corner] - sar dependency error?

2004-07-01 Thread metatype
Hi, I am trying to deploy 2 simple mbeans, A depends on B. I see the following behavior: 1) If they're in a single SAR, everything is good. B starts before A and A gets a proxy ref to B. 2) If they're in separate SARs, A tries to start before B and I get a not registered exception. A fails

[JBoss-user] [Beginners Corner] - postgres with jboss

2004-07-01 Thread s_raghavan
using postgres with jboss. while running some queries from clientside, connection is lost giving memory exception. what todo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840718#3840718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [JBoss Getting Started Documentation] - Unknown errors when I compiled with ant

2004-07-01 Thread aliasncnu
When I execute ...>ant -f jboss-build.xml compile Errors happened, I did not understand why these errors happened. I have followed all the steps in the document "Geting started with JBoss" p.s. it seems that the system could not find some imported class files [javac] E:\software\Java serie

[JBoss-user] [Nukes User] - Re: Something wrong with manage HTML page in rc2?

2004-07-01 Thread ikant
Yes but the table: nukes.nuke_filestat is not one that is created by the ddl is it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840715#3840715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840715 -

[JBoss-user] [Clustering/JBoss] - Re: :::::::An alternativa to jnp protocollo :::::::

2004-07-01 Thread nadaya
Ok thanks pualsa View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840714#3840714 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840714 --- This SF.Net email sponsored

[JBoss-user] [JCA/JBoss] - Transaction Propagation across connection pool

2004-07-01 Thread puneetjains
Hi suppose i have 4 connection pools If a transaction initated from a connection taken from one of pools can be propogated to connection taken from another pool. is it a good design and is it okay regards Puneet View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p

[JBoss-user] [EJB/JBoss] - Re: JavaBean passing to a session between two different VM

2004-07-01 Thread yokivo
try it without serializing. yokivo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840711#3840711 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840711 --- This SF.N

[JBoss-user] [Management, JMX/JBoss] - Re: Straight MBeans or MBeans and SessionBeans - Database ac

2004-07-01 Thread mikefinn
What are the clients calling the operations? Some may argue, but I think the JMX invocation semantics are a little too nut-and-bolt-level to be doing from business logic. If you're happy with JMX being the only way to get to those ops (like so you can get to them through jmx-console), then do it

[JBoss-user] [Persistence & CMP/JBoss] - finder methods not working

2004-07-01 Thread dohare
Hi All- I have been searching for days to the solution to this problem- to no avail. I have a finder method: findByName(String name) and the requisite findByPrimaryKey(Integer key) methods in my home interface. The find by pk method works fine, the findByName does not. In the jboss log, I se

[JBoss-user] [Clustering/JBoss] - Re: how to run several clusters on the same network

2004-07-01 Thread fe2o3
Can someone please post some information concerning changing the DefaultParition name to allow multiple clusters on the same network. I understand and have successfully changed the partition-name but I get those jgroups warnings about discarding messages from other groups. I mean,... I always

[JBoss-user] [Clustering/JBoss] - Re: how to run several clusters on the same network

2004-07-01 Thread fe2o3
"myname" wrote : Hi Peter, | | anonymous wrote : [HASingletonController] Starting failed jboss.ha:service=HASingletonDeployer | | javax.management.InstanceNotFoundException: Failed to find HAPartition with PartitionName=DefaultPartition | | It seems like the DefaultPartition is har

[JBoss-user] [Installation & Configuration] - Re: JBoss system classpath

2004-07-01 Thread mikefinn
Is there a particular reason you need it in the system classpath? You can add to server classpath by adding it in conf/jboss-service.xml. Say you add a directory, called 'local-lib' in you server config dir (same level as conf and lib), and your jar is exploded in a dir called foo.jar. You can

[JBoss-user] [JCA/JBoss] - setting JBossManagedConnectionPool attributes for oracle-ds.

2004-07-01 Thread gmsasu
Hi, we successfully migrated our application from JBoss 3.0.8 to 3.2.3, except for this "minor" detail. In our oracle-service.xml we could specify JBossManagedConnectionPool attributes , like: MinSize 3 MaxSize 40 BlockingTimeoutMillis 5000 IdleTimeoutMinutes 15

[JBoss-user] [Messaging, JMS & JBossMQ] - remote queue MDB deployment problem

2004-07-01 Thread alt_amit
I have problem with MDB deployment where it is listening to remote queue. I followed the jboss wiki instructions. The error in server.log is : 2004-07-01 18:14:36,423 INFO [org.jboss.ejb.EjbModule] Deploying HASecondary 2004-07-01 18:14:36,486 ERROR [org.jboss.ejb.EjbModule] Initialization faile

[JBoss-user] [Beginners Corner] - Re: configuring RMI on jboss

2004-07-01 Thread fleance
Here is the jboss-service.xml (got lost in first post because I didn't use code blocks) | | 1099 | 1098 | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840702#3840702 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Beginners Corner] - configuring RMI on jboss

2004-07-01 Thread fleance
Hello, I am trying to configure JNDI so that it supports both jndi lookups and also client using the old RMI Naming.lookup() and Naming.list() APIs. If jboss-service.xml I added the RmiPort attribute, but I'm not sure if I'm doing the right thing. I couldn't find much documentation on this.

[JBoss-user] [Management, JMX/JBoss] - Re: AttributeNotFoundException in UIL2 when using ServiceBin

2004-07-01 Thread pgmjsd
I removed the entry for UIL in jboss-bindings.xml, and this seems to have resolved the problem. Got the idea from the sample-bindings.xml file that comes with the JBoss examples. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840700#3840700 Reply to the pos

[JBoss-user] [Management, JMX/JBoss] - AttributeNotFoundException in UIL2 when using ServiceBinding

2004-07-01 Thread pgmjsd
I'm using JBoss 3.2.3 with the example from chapter 10 (in the JBoss admin devel documentation) as the basis for running multiple instances on the same machine. After configuring conf/jboss-service.xml and jboss-bindings.xml appropriately, JBoss always seems to throw an AttributeNotFoundExcepti

[JBoss-user] [HTTPD, Servlets & JSP] - Re: problem finding classes in /classes dir of WAR

2004-07-01 Thread songhai
I am having the identical problem. I'm new to this however so the solution may be trivial. But could someone please point me in the right direction. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840698#3840698 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Nukes User] - Re: FAQ - READ ME FIRST!

2004-07-01 Thread jae77
question: i'm getting OutOfMemoryExceptions trying to upload an image. answer: the default heap size of the VM is 64 megs. increase the size at startup by specifying the following | -Xms128M -Xmx256M | to the JAVA_OPTS variable inside the run.bat and/or run.sh startup scripts. (if you ha

[JBoss-user] [Installation & Configuration] - Linux + JBoss 3.2.2 problem with file handles and multiple i

2004-07-01 Thread cassisa
Hello, I am having a problem with the number of file handles on a Debian system I am using to run multiple instances of jboss 3.2.2 with my application. I have successfully (as far as i can tell) configured the multiple instance binding file to run three instances of my app for different testin

[JBoss-user] [Installation & Configuration] - How to configure to support rmi http tunneling?

2004-07-01 Thread fleance
We have a large server which has three main processes, JBoss (b3.2.1) and another server JVM process "jserver" which has 30 RMI interfaces and another JVM running some servlets and jsps "jservlets". (Eventually, we want to merge "jservlets" JVM into JBoss). On the frontend we have apache webs

[JBoss-user] [Security & JAAS/JBoss] - Getting SSLPeerUnverifiedException with https accesses

2004-07-01 Thread treespace
We are using HTTPS connections to an application running on JBoss 3.2.3. We receive an SSL error with officially certs in production and with self-signed certs in development. This problem is not present in 3.2.5 but we are not ready to upgrade at the moment. Ideas? TIA! 2004-06-30 10:14:39,

[JBoss-user] [JCA/JBoss] - Cleanup of ManagedConnection that's associated with a suspen

2004-07-01 Thread drummer
IÂm seeing the following XA behavior running our RA in JBOSS 3.2.2: xa.start() Connection.close(); xa.end(TMSUSPEND); ManagedConnection.cleanup() xa.end(TMSUCCESS); I wouldnÂt expect to see the xa.end(TMSUCCESS) call after the ManagedConnection.cleanup. In effect, the cleanup call places the M

[JBoss-user] [Beginners Corner] - Re: remote debugging

2004-07-01 Thread itteerde
updated the jboss-ide, downloaded sources and binaries for 3.2.4 and still have the same problem (debugger does not have the sources also i attached a zip with all the source files to all jboss-jars) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840692#38406

[JBoss-user] [Messaging, JMS & JBossMQ] - scalability of JMS on JBoss

2004-07-01 Thread khristopher
I'm developing a desktop client application that includes instant message functionality with other users. The end goal is for an application that supports millions of users online at the same time sending messages. Would it be more scalable if I were to have each client use simple socket connec

[JBoss-user] [Security & JAAS/JBoss] - Re: javax.net.ssl.SSLException in JBOSS 3.2.4

2004-07-01 Thread treespace
You have probably checked this but when switching to SLL keep in mind that the number of connection processors in the tomcat service.xml file (jboss-service.xml for 3.2.3) is 15 or 20 versus 80. So you can swamp the server if you have long running queries and so forth. Not likely your problem b

[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss

2004-07-01 Thread darranl
What is wrong with the Log4J documentation, what do you not understand about it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840689#3840689 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840689

[JBoss-user] [Management, JMX/JBoss] - Re: mbean invocation performance

2004-07-01 Thread metatype
Here's the code in question... jboss-service.xml: hello no hands my.hello:service=hw1 HelloWorldMBean.java: package hello; import org.jboss.system.ServiceMBean; public interface HelloWorldMBean extends ServiceMBean { public void setMessage(String msg); public voi

[JBoss-user] [Management, JMX/JBoss] - Re: mbean invocation performance

2004-07-01 Thread metatype
Ok, so further investigation shows a fairly constant overhead of about 15-25 microsecs per invocation using standard mbeans. I've seen references to over 1M invocations/sec here: http://www.samspublishing.com/articles/article.asp?p=27196&seqNum=4 What do I need to do to get that kind of perfor

[JBoss-user] [Installation & Configuration] - JBoss system classpath

2004-07-01 Thread gifs71
Hi All, How can one place an exploded directory of classes on the JBoss system classpath. Obviously, I tried adding that directory to the %JBOSS_CLASSPATH% in the run.bat used to start jboss. But that does not help because Jboss starts giving out weird errors while deploying my application jars

[JBoss-user] [Beginners Corner] - Re: Deployment Nightmare: NoClassDefinitionError

2004-07-01 Thread john_anderson_ii
I was able to get this to work by including org.jcallcenter.supporting.core.*.class in with JCallCenterEJB.jar. Is this the correct way to include "supporting" type classes? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840685#3840685 Reply to the post : h

[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available

2004-07-01 Thread 5holeem
thanks. that did it. I guess in the other post the person had resolved their own problem. my bad. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840684#3840684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840684

[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available

2004-07-01 Thread jae77
ahh - ok. i guess i "fat-fingered" the peropd key instead of the semi-colon. :) to answer your other question, edit the startup script for jboss (either run.bat or run.sh) and add the following to the JAVA_OPTS var. | -Xms128M -Xmx256M | View the original post : http://www.jboss.org/ind

[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available

2004-07-01 Thread cooper
increase the VM heap, by default it's 64mb. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840682#3840682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840682 --- T

[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available

2004-07-01 Thread 5holeem
Table was created, so it was easy to add the unique field. I think i found the problem. you have a period at the end of the sql staement. I think you just need to remove it from you mysql.properties files and you should be all set. | ALTER TABLE nuke_news_topics ADD UNIQUE (name). |

[JBoss-user] [Beginners Corner] - Deployment Nightmare: NoClassDefinitionError

2004-07-01 Thread john_anderson_ii
I'm experiencing a very strange problem. [JBoss 3.2.3, Windows 2000, j2sdk 1.4.2_04] My application used to look like this and everything worked fine, including accessing org.jcallcenter.supporing.core.EJBNameFactory org.jcallcenter.ejb.core //beans + TicketBean.class //cmp bean + TicketFaca

[JBoss-user] [Installation & Configuration] - Re: Run JBoss as a Windows Service

2004-07-01 Thread [EMAIL PROTECTED]
I have tried the Wrapper for Java and couldn't get it to work, then tried the JavaService by Alexandria and it worked great every time I depolyed a new server... however... It appers that the Aliandria web site, that distributes the JBossService, is down along with others linking to it I fo

[JBoss-user] [Installation & Configuration] - Re: Custome Configuration Error

2004-07-01 Thread Zuvirandu
I was in trouble with this too... But, I saw that the class org.jboss.ejb.plugins.EntitySessionInstanceCache is the wrong class... this class donÂt exists in JBoss lib... try the org.jboss.ejb.plugins.EntityInstanceCache end be happy! :D Best Regards, Leandro Dantas View the original post

[JBoss-user] [Beginners Corner] - Re: JBoss and Struts

2004-07-01 Thread serff
which tag classes are you talking about? the struts taglib are in the lib/taglib dir. I'm building the above structure into a war file and dropping it into the server/default/deploy directory. Guess i don't exactally know what your asking for...sorry. let me know View the original post : h

[JBoss-user] [Security & JAAS/JBoss] - servlet call EJB secured -> Authentication exception, princi

2004-07-01 Thread pedrosalazar
Greetings, I'm trying to invoke a secured EJB (methods permission) in my servet but even with the run-as in my web.xml to set the role authorized in my EJB, I got always the error below: | 2004-07-01 21:19:52,661 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[ServiceServlet]: Se

[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available

2004-07-01 Thread jae77
damn it - i thought that was resolved. i've got to install mysql somewhere. if you know the correct syntax for the alter table command, you can just edit the "mysql.properties" file in the "build/etc" directory and then re-run the build and deployment. or if the table was actually created, yo

[JBoss-user] [Installation & Configuration] - Re: Run JBoss as a Windows Service

2004-07-01 Thread JPTaylor
>From what I've read, using the Alexandria Software Consultants Open Source tool >"JavaService" is the way to go. However, their web site appears to be down >(http://www.alexandriasc.com/software/JavaService/index.html). Does anyone know of another location to download the application "JavaServ

[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available

2004-07-01 Thread 5holeem
Used the nukes-1.1.0-mysql-rc2.zip to install. Most of the setup went fine. Per your request for info, I had one unique statement fail on startup. See below: 2004-06-30 17:04:14,784 INFO [org.jboss.nukes.addons.modules.news.NewsModule] Started 2004-06-30 17:04:14,784 INFO [org.jboss.ejb.plu

[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss

2004-07-01 Thread cwestfall
I have the exact same question? How about a little better solution than the last reply? Anyone? Please? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840671#3840671 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Persistence & CMP/JBoss] - found Solution in previous posting

2004-07-01 Thread mzint
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43591 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840670#3840670 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840670 --

[JBoss-user] [Nukes User] - Re: BB question

2004-07-01 Thread jae77
you need to add the following security pattern (using the permissions module) for the forums. Admins .*:.*: ADMIN Users .*:.*: if you want to allow moderators for specific categories, you'd do this (assuming you have a category named Foo) Users Foo:.*: Level if you wanted to allow modera

[JBoss-user] [Security & JAAS/JBoss] - Re: logout problem

2004-07-01 Thread elevenpast
Subject subject = (Subject) request.getAttribute("j_subject"); This didn't work. Subject object was still null. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840668#3840668 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Beginners Corner] - Re: JBoss and Struts

2004-07-01 Thread mikefinn
First, let's get the obvious out of the way: Where is the JAR that contains your tag classes? It's not obvious by looking at your WAR structure. Is it there, or in $JBOSS/server/xxx/lib? mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840666#3840666 Rep

[JBoss-user] [Installation & Configuration] - Re: test & prod environments on same Jboss box

2004-07-01 Thread mikefinn
Don't code for it. It will be a nightmare maintaining separate names in JNDI for everything. Run multiple JBoss instances on a box. The config is very easy, using the binding service to manage listen ports. If you haven't yet, buy the admin/config guide. I think there is also a downloadable doc

[JBoss-user] [The Lizzard's corner] - Opening in San Jose, CA for JBoss developers

2004-07-01 Thread tmather
Hi, We're looking for JBoss developers to join our team immediately. Please contact me directly for details (408)351-2562. Sincerely, --Thanhy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840664#3840664 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Installation & Configuration] - Re: JMX-Console Session Timeout Configuration

2004-07-01 Thread mikefinn
You should just be able to edit the session timeout in the web.xml in jmx-console.war. BTW, you can (and should) also implement security there as well (and in jboss-web.xml), at least in your production implementation. mike View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [The Lizzard's corner] - Re: What is the biggest site using JBoss ?

2004-07-01 Thread michael_lacy
2 weeks from today (July 15th) we will be relaunching our site, and it is built on a JBoss/Tomcat core. At peak hours of the day we will be serving nearly 10,000 concurrent users. http://www.bolt.com [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=vi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: C++ Bridge

2004-07-01 Thread genman
There were some people who have tried to write a bridge. Do a search on the forum and internet. There's somebody who worked on a .Net implementation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840660#3840660 Reply to the post : http://www.jboss.org/in

[JBoss-user] [Jobs@JBoss] - Executive Assistant - Atlanta, GA

2004-07-01 Thread jbossroy
Executive Assistant Come join a rapidly growing enterprise software and services company and the home of Professional Open Source. JBoss, Inc. has an Executive Assistant to join our Atlanta, Georgia based team located in Buckhead. This is a tremendous opportunity to be a part of a fast-paced,

[JBoss-user] [Performance Tuning] - Re: UPDATE after INSERT in CMR

2004-07-01 Thread mkotsbak
Did you find any solution to this? We have the same problem with postgres, which is fast to run the INSERT statements, but takes many seconds for each UPDATE statement... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840658#3840658 Reply to the post : http:

[JBoss-user] [Performance Tuning] - Re: UPDATE after INSERT in CMR

2004-07-01 Thread mkotsbak
Did you find any solution to this? We have the same problem with postgres, which is fast to run the INSERT statements, but takes many seconds for each UPDATE statement... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840657#3840657 Reply to the post : http:

[JBoss-user] [Security & JAAS/JBoss] - EJB1 access unprotected methods in secured EJB2 (not working

2004-07-01 Thread pedrosalazar
Greetings, I have an EJB1 which accesses to an EJB2 (entity) secured. By default, without setting any authentication by JAAS in EJB1, I got this exception due the missing authentication from EJB1, when I try to make findByPrimaryKey: | javax.ejb.TransactionRolledbackLocalException: checkSec

[JBoss-user] [EJB/JBoss] - Re: [JBossManagedConnectionPool] Unable to fill the pool due

2004-07-01 Thread boseredzuk
Me too. Which version of Jboss are you on? I'm using 3.2.3 and have been randomly been losing my connections to various datasources. I get this error when I try to access: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout View the original

[JBoss-user] [Persistence & CMP/JBoss] - Re: Relationship mapping in jbosscmp-jdbc.xml

2004-07-01 Thread millerm1
I think this is what you need. The only thing you need to fill in is the field name of the primary key field for the country. I marked where that needs to go in the xml below. | | CountryEJB - TradingCentreEJB | | | TradingCentre-belongs-to-a-Country

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2004-07-01 Thread dannyyates
Dunno. Probably something buried in a spec somewhere. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840652#3840652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840652 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2004-07-01 Thread [EMAIL PROTECTED]
I after looking in the jboss src I was finally able to get this to work, however, I'm not sure if this is something I was supposed to do. I added the following to my remote-jms-ds.xml : | false | | Adrian, is this not recommended? View the original post : http://www.jboss.org/index.

[JBoss-user] [Security & JAAS/JBoss] - Re: SSO for 2 applications (EAR)

2004-07-01 Thread kazouta
Does that work on the following configuration jboss3.2.1-tomcat 4.1.2 ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840650#3840650 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840650 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2004-07-01 Thread [EMAIL PROTECTED]
That's actually okay, because we're using messaging to cache results of servlet invocations. So if the container trashes the servlet instance, we'll close the jms resources and re-init them on the servlet init. I don't have it set up that way right now, but I'm trying to get this to work first.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2004-07-01 Thread dannyyates
Errr... what happens if the Servlet container throws away your servlet instance whilst it's still registered to receive the messages? What happens once the specific servlet call has returned? Does the servlet continue to receive JMS messages? Seems a bit dicey to me... View the original post :

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP Compilation problem in JBoss3.2.5

2004-07-01 Thread crazypalm
it seems being sorted. the problem is that Tomcat5 is not happy with jsp tag: I have to use and use session.setAttribute to pass the params. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840646#3840646 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Security & JAAS/JBoss] - Re: logout problem

2004-07-01 Thread stueccles
try Subject = (Subject) request.getAttribute("j_subject"); note: you will probably have to be on a authentication checked page from the web.xml hope it helps View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840644#3840644 Reply to the post : http://www.jbos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2004-07-01 Thread [EMAIL PROTECTED]
Also, the fact that I'm not using a MDB to do asychronous messaging should not be the cause of this problem. I'm hoping there's something simple I'm doing wrong that someone may be able to quickly address. What I'm doing seems to be a pretty simple operation. View the original post : http://ww

[JBoss-user] Porting from Weblogic 6.1 to JBoss 3.2

2004-07-01 Thread Shashi Kiran
Hi We are porting an large J2EE application from Weblogic6.1-Oracle9i to JBoss3.2-MySQL4.X. Are there certain critical points that has to be considered when porting from Weblogic to JBoss. How much of rework is required to post JAAS module from Weblogic to JBoss. Any information will be useful

[JBoss-user] [Security & JAAS/JBoss] - logout problem

2004-07-01 Thread elevenpast
I'm invalidating my session within a Struts action class. I think I need to also remove principals from the current subject. subject.getPrincipals().clear(); request.getSession().invalidate(); How do I access the current Subject from within my action class? Am I missing any other steps?

[JBoss-user] [EJB/JBoss] - Re: Referencing an EJB from a scheduled task

2004-07-01 Thread jgkenned
Yes, I am getting naming exceptions. I will try your suggestion. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840638#3840638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840638 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2004-07-01 Thread [EMAIL PROTECTED]
I've had this work correctly when using the connection factory bound at XAConnection factory. I can't use an MDB because I need to access resources at the Servlet level. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840637#3840637 Reply to the post : http:

[JBoss-user] [Persistence & CMP/JBoss] - Relationship mapping in jbosscmp-jdbc.xml

2004-07-01 Thread rajs1
I have a Table called | Country (primary key country_code[String]). | Trading_Centre (primary key trading_centre_code[String] & foreign key country_code[String] NOT NULL) | | | I am trying to establish a entity relationship (all tables exist, create table = false). | | TradingC

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: IllegalStateException thrown from JmsSession.checkStrict

2004-07-01 Thread dannyyates
What is causing this is stated quite clearly in the first 3 lines of the stacktrace. The call to setMessageListener() is not allowed. If you want to receive messages asynchronously, you should write a message driven bean (MDB). View the original post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Performance Tuning] - Re: NT Performance Monitor - Link to JBoss JMX Attributes ?

2004-07-01 Thread nickman
I also dug up this which I am going to try out shortly. http://www.zeecube.com/new/wpc4j.htm View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840634#3840634 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840634

[JBoss-user] [Messaging, JMS & JBossMQ] - IllegalStateException thrown from JmsSession.checkStrict()

2004-07-01 Thread [EMAIL PROTECTED]
I'm using Jboss-3.2.5 and I am getting an IllegalState Exception when trying to set the message listener. I am using the default JMS Resource adapter bound at java:/JmsXA. What is causing this? I've search through the Wiki and forums but I haven't found anything similar: | topicConn

[JBoss-user] [EJB/JBoss] - Re: Referencing an EJB from a scheduled task

2004-07-01 Thread dannyyates
You haven't said what's wrong, but I suspect you're getting Naming exceptions saying something like 'ejb not bound'. The global JNDI name of your bean will be something like /ejb/rwTenantSearch. Beans are not bound under the java: namespace. View the original post : http://www.jboss.org/index.h

[JBoss-user] [Clustering/JBoss] - Re: Session replication not working

2004-07-01 Thread janilsal
http://www.jboss.org/wiki/Wiki.jsp?page=HttpSessionReplicationonMacOS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840631#3840631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840631 ---

[JBoss-user] [Clustering/JBoss] - Re: jboss clustering of two nodes on different m/cs

2004-07-01 Thread janilsal
http://www.jboss.org/wiki/Wiki.jsp?page=HttpSessionReplicationonMacOS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840630#3840630 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840630 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - migration from 3.2.3 to 3.2.4, HASingleton JMS question

2004-07-01 Thread xibin
Due to a bug in concurrent.jar, we are moving to post 3.2.3 versions. One little surprise is that JMS is deployed as a HASingleton on 3.2.4 and 3.2.5. Can this behavior be modified? In other words, can I deploy JMS per server as a local service? I've already written code based on pre-3.2.4 versi

[JBoss-user] [Nukes User] - Re: BB question

2004-07-01 Thread jae77
ok... 1) i believe there is a bug in the forums code that checks to see whether or not a user can edit his/her own posts even if they have the correct privs as set by the forum security manager. i already know where the issue is and will work on a fix. 2) if you want all users to be able to edi

[JBoss-user] [Management, JMX/JBoss] - Re: NullPointerException in org.jboss.mx.loading.LoadMgr3

2004-07-01 Thread fljmayer
Here is the scenario: I have a stateful session bean called ClientSessionBean, its interface is ClientSession. Every client who logs into the system does so by acquiring this bean and calling the login() method, which returns a unique session id. On the client side, there is a class called Clien

[JBoss-user] [Installation & Configuration] - Re: JBoss-3.2.4 and commons-logging.jar bug (?!)

2004-07-01 Thread domosi
I sent a short description of this problem to the JBoss BUG database at sourceforge.net. () View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840624#3840624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840624

[JBoss-user] [Persistence & CMP/JBoss] - Re: Upgrade from 3.2.3 to 3.2.5 - Table creation check fails

2004-07-01 Thread hgsdc
Hi Joachim Thanx, it works now. But there quite some differences in how the mapping is done. I updated both Jaybird and Firebird itself to 1.5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840623#3840623 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Nukes User] - Re: BB question

2004-07-01 Thread lonicera
"jae77" wrote : just to clarify, are you looking for users to have the ability to edit/delete their own posts, or category moderation where a user can edit/delete any post on a topic? I'd like to have users edit/delete their own posts. But my setting as my last post have all users edit/delete e

[JBoss-user] [Persistence & CMP/JBoss] - Re: Create fails - CMP, CMR & Compound PK

2004-07-01 Thread mzint
Ok - I thought I knew what to do, but that doesn't work as well. I extended the create method with an additional parameter, the relationship field, which should be initialized in the ejbPostCreate method, but I still get the same error message. I inserted System.out.println's to check which meth

[JBoss-user] [Beginners Corner] - JBoss and Struts

2004-07-01 Thread serff
Hello. I'm new to JBoss, but I have used the SunOne AS quite a bit. I have a simple application that has one jsp that uses Struts (one form, one action). I can deploy and run my webapp in the SunOne app server. However, when i deploy and try to run in JBoss, i get this error: org.apache.jas

[JBoss-user] [Beginners Corner] - where I can put my servlet in jboss-3.2.2RC1_tomcat-4.1.24 a

2004-07-01 Thread dev_rajvk
Hi all, where I can put my servlet in jboss-3.2.2RC1_tomcat-4.1.24 and how to run it? please respond me to [EMAIL PROTECTED] Thanks & Regards, Dev View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840619#3840619 Reply to the post : http://www.jbos

[JBoss-user] [EJB/JBoss] - Re: NoClassDefFoundError in JBoss 3.2.5 but not in 3.2.3

2004-07-01 Thread fljmayer
Thanks, but I don't have any old versions lying around. Everything is packaged within the EAR, which is replaced upon deployment. I did see the problem JAR twice, though, in those directories: server\default\tmp\deploy\tmp56967console-mgr.sar-contents server\default\tmp\deploy\tmp56995capsela.ear

[JBoss-user] [Installation & Configuration] - Re: JBoss-3.2.4 and commons-logging.jar bug (?!)

2004-07-01 Thread MLipp
The problem still exists in 3.2.5. BTW: I didn't regitsr my commons-logging.jar with application.xml. I simply put it in EAR/lib/ and have it in the classpath of one of the ejbs.jar. - Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840616#3840616

[JBoss-user] [JBoss Getting Started Documentation] - Re: Cross context

2004-07-01 Thread sprhodes
Somebody knows how to able cross-context in Jboss. I know how in tomcat like a standalone server but not how to do it like embebed server Try this page and see if the info here helps: http://www.jboss.org/wiki/Wiki.jsp?page=VirtualHosts View the original post : http://www.jboss.org/index.h

[JBoss-user] [Beginners Corner] - Container uptime?

2004-07-01 Thread ghoyle
Is there anyway from within a session bean to determine how long the container has been running, or how long it has been since the session bean(s) were deployed? Thanks in advanced Geoff View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840614#3840614 Reply to

[JBoss-user] [EJB/JBoss] - Referencing an EJB from a scheduled task

2004-07-01 Thread jgkenned
I have written a class that runs on a schedule. I'm using the Schedulable interface. Here's a snippet: public class PropertyAutoNotify implements Schedulable | { | private static final Logger log = Logger.getLogger(PropertyAutoNotify.class); | | private String mail_jndi = null;

[JBoss-user] [Persistence & CMP/JBoss] - CMP with MS Access

2004-07-01 Thread bibo
Hello, i want to use jboss-3.2.1 with a MS Access Database. Everything works fine with Bean Managed Entity Beans but now i want to try it with Container Managed Entity Beans. I configurated jbosscmp-jdbc.xml like that: ... java:/MSAccessDS MS Access ... and xdoclet.xml as follows: ... datas

[JBoss-user] [Nukes User] - Re: Something wrong with manage HTML page in rc2?

2004-07-01 Thread jae77
did you run the ddl against the database to create the table? the core is not pure cmp yet (there are some issues preventing this that have been discussed elsewhere), so you have to manually create the tables by running the ddl. View the original post : http://www.jboss.org/index.html?module=bb

RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI

2004-07-01 Thread Jeff Kramer
Title: Message lol - i'm stumped as well.   I have seen a bunch of posts out there, but zero solutions.   This is pretty lame.  I contacted JBOSS, but they will offer nothing without a pile of cash upfront.  This should just not be so hard.  if it's a bug with JBOSS, I wish somebody from JB

RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI

2004-07-01 Thread Yates, Danny
Title: Message I wouldn't think the DLL calling another DLL would be an issue. And even if there's a problem loading the second DLL, I wouldn't expect a Java-based exception to be the result.   In light of your classloader revelation, I'm afraid I'm stumped. JBoss does some funky stuff with

RE: [JBoss-user] unsatisfiedLinkError / jboss mbean unable to cal l native method in c++ .dll through JNI

2004-07-01 Thread Jeff Kramer
Title: Message Thanks for your response.   I do indeed have the static initializer block wrapping the call to loadLibrary() in my class that has native method.  Perhaps one piece of additional usefull info would be the .dll i'm calling actually calls another .dll.     You mentioned this pr

[JBoss-user] [Installation & Configuration] - JMX-Console Session Timeout Configuration

2004-07-01 Thread jojopaderes
Hi, I just successfully implemented the JMX-Console security login and would like to configure a session timeout to prevent user's session from hanging around the browser. Is there a way to do this? I am using JBoss 3.2.4. Thanks! regards, jOjO View the original post : http://www.jboss.or

[JBoss-user] [HTTPD, Servlets & JSP] - JSP Compilation problem in JBoss3.2.5

2004-07-01 Thread crazypalm
Hi, All I just updated my JBoss from 3.2.3 to 3.2.5, and the JSP can't be compiled. here is the exceptions: | org.apache.jasper.JasperException: Unable to compile class for JSP | | An error occurred at line: 38 in the jsp file: /process.jsp | Generated servlet error: | C:\j2ee\jboss

  1   2   >