[JBoss-user] [Javassist user questions] - Re: use n times a class created

2004-10-27 Thread tar
First, are you sure that you need to re construct a new class each time ? Your code seems always do the same things... In absolute you cannot load two class with the same name (1). Try to use different class name each time you create and execute your class. hope this can help (1) article about

[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB QL Parsing problem

2004-10-27 Thread Raist_Majere
Is "location" a CMP field of ControlLogix? Can you provide the ejb-jar.xml file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853027#3853027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853027

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0: can't get CMP and Oracle JDBC working

2004-10-27 Thread Raist_Majere
You should have restarted JBoss after placing Oracle-ds.xml on the deploy dir. But before that, have you already copied the jdbc Oracle drivers to the jboss/server/< instance >/lib directory? Try this and tell us your results. View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Beginners Corner] - Re: JNDI Binding error

2004-10-27 Thread Raist_Majere
You have to put the correct JNDI name of the Datasource on jboss-web.xml. In your case, your jboss-web.xml file should be: | | | | jdbc/SampleDS | javax.sql.DataSource | java:/jdbc/SampleDS | | | View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Security & JAAS/JBoss] - Re: SSL via HTTPS Standardport 443 / Redirect to 8443

2004-10-27 Thread nehring
I generally run some varient of RedHat Fedora, but it's still using iptables. I don't like the way iptables is setup on RedHat, so I generally replace the RC script at /etc/init.d/iptables with my own script/firewall rules. You'll need to load the "iptable_nat" kernel module to get the Network

[JBoss-user] [JCA/JBoss] - Re: Using UserTransaction from a Mbean doesn't commit agains

2004-10-27 Thread Raist_Majere
I've never used what you're trying to do, but in a book I have says that you get access to JTA looking up "java:comp/UserTransaction", not "UserTransaction" as you have in your code. Try it, but don't know if this is the problem you have... View the original post : http://www.jboss.org/index.h

[JBoss-user] [Beginners Corner] - JNDI Binding error

2004-10-27 Thread mtembene
Hi all It's been a long time since I worked with java and I have never worked with JBoss or JNDI before so please bear with me. I am trying to configure oracle-ds.xml, web.xml and jboss-web.xml so that I can use JNDI to get a datasource object. (Note that I am not using EJB's just servlets and

[JBoss-user] [Installation & Configuration] - Help required in Configuring Jboss in server/all mode

2004-10-27 Thread cheenu78
Hi all, I am facing problems while starting server in server/all mode C:\jboss-3.2.2RC3\bin\run.bat -c all I am not sure whether i have done some setting wrongly, can any one explain what are the step required in starting jboss in run.bat -c all Thanks and Regards srinivas I am getting the foll

[JBoss-user] [HTTPD, Servlets & JSP] - Re: WebService Work, Servlet deploys, but can't locate

2004-10-27 Thread Raist_Majere
Can you provide your web.xml, jboss-web.xml and/or application.xml? If you deployed it as a WAR and have no jboss-web.xml, provide de WAR file name, please. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853019#3853019 Reply to the post : http://www.jboss.o

[JBoss-user] [Security & JAAS/JBoss] - how to implement a change of user password?

2004-10-27 Thread ereze
Hi, (I am running with JBoss 3.2.5.) In my application the user can change his password. The change should take effect immediately. But unfortunately the JBoss keep the user older credentials in the cache for the amount of time specified where the default is 1800 seconds (30 min.). First I

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with remove()

2004-10-27 Thread Raist_Majere
Can you provide the stack trace of this exception, as well as the source code of ejbRemove of the implied beans and the ejb-jar.xml file, please? That could help... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853017#3853017 Reply to the post : http://www

[JBoss-user] [EJB/JBoss] - Re: CMP - failed to retrieve data from database - but NO exc

2004-10-27 Thread Raist_Majere
I think I've found where your problem really is, but I'm not sure at all... In your bean, you have this tag: | * @jboss.persistence | * datasource="java:/jdbc/dev01" | * datasource-mapping="mySQL" | * create-table="False" | * remove-table="False" | * table-name="GROUPS" | Note

[JBoss-user] [Installation & Configuration] - Re: Is there any way to config max user using JBoss?

2004-10-27 Thread duylt
it's max user logged on to web app I found that config that in tomcat Manager->MaxActiveSession. But I don't know how to do that in jboss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853015#3853015 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Beginners Corner] - Re: running servlet with JBoss Please Help

2004-10-27 Thread Raist_Majere
Hi. I haven't used JBuilder X, but I'll try to figure out with the answers to these questions: - Do you use an EAR file to package your web-app or just a WAR one? If it's the second option, can you tell us the name of that file (like .war)? - Is this file properly deployed? You should look fo

[JBoss-user] [Jobs@JBoss] - JBoss Development Manager - Admin Console

2004-10-27 Thread ivelin
Come join a rapidly growing enterprise software and services company and the home of Professional Open Source. JBoss, Inc. has immediate opening for a Development Manager to join our team in Atlanta, Georgia or Austin, Texas. This is a tremendous opportunity to be a part of a fast-paced, leading

[JBoss-user] [Installation & Configuration] - checksum error extractiving jboss-4.0.0.tar file

2004-10-27 Thread vidyesh
Hi, I downloaded jboss-4.0.0.tar.gz file to XP box. FTPed (Binary) to AIX box. gunzip jboss-4.0.0.tar.gz to jboss-4.0.0.tar file. tar -xvf jboss-4.0.0.tar throws checksum error as follows x jboss-4.0.0/server/all/deploy-ha

[JBoss-user] [HTTPD, Servlets & JSP] - Re: WebService Work, Servlet deploys, but can't locate

2004-10-27 Thread cballew
Sorry left out a couple of things, first yes I remembered the :8080 when calling the Servlet. Second, I'm using JBoss 4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853007#3853007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Clustering/JBoss] - HAJNDI Access Error via HTTPS from internal VM

2004-10-27 Thread ahahamyan
Hello, Using Jboss 3.2.6 I am setting up a cluster of 3 jboss boxes behind a apache load balancer box (via mod_jk2) talking to the coyote AJP connectors on the jboss boxes. I am using the clustering doc (Edition 6). Just to get things started I am only using one of the jboss boxes and the load

[JBoss-user] [Clustering/JBoss] - Re: Clustered HASingleton How-To

2004-10-27 Thread lokki
Thanks for all of you work deciphering how to make HASingletons work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853004#3853004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853004 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem with remove() URGENT!!!

2004-10-27 Thread optimusprime
Could someone please help me. I really need help on this Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853003#3853003 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853003

[JBoss-user] [HTTPD, Servlets & JSP] - WebService Work, Servlet deploys, but can't locate

2004-10-27 Thread cballew
I have a webservice I deployed and can access at http://localhost:8080/ws4ee/services/WebServiceSourceService?wsdl and it works like a champ. I deployed a Servlet and it deploys just fine, but I can't figure out how to access it. in my web.xml I have /servlet/ConfigUpdater I go to http://loc

[JBoss-user] [Jobs@JBoss] - JBoss Community Manager

2004-10-27 Thread ivelin
Come join a rapidly growing enterprise software and services company and the home of Professional Open Source. JBoss, Inc. has immediate opening for Proactive Support Specialists to join our team in Atlanta, Georgia or Austin, Texas. This is a tremendous opportunity to be a part of a fast-paced

[JBoss-user] [Javassist user questions] - synchronized

2004-10-27 Thread Bill Burke
hey, can javassist support synchronized blocks? Is it too hard to implement? Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852999#3852999 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852999

[JBoss-user] [Installation & Configuration] - cannot get server to run on boot...

2004-10-27 Thread zambizzi
I'm trying to get jboss to run on startup but I just can't figure out what's going wrong... I can start it manually and it works just fine, however, jboss constantly writes to the console so I'm "locked" into it until I shut it down, when it is started manually, so I need the startup script to

[JBoss-user] [EJB/JBoss] - EJB Remote interfaces and Caching

2004-10-27 Thread sudhadoesnotexist
Hello, I am rather new to this, so please excude my ignorance. I am developing an application that needs frequent read access to data in a database and infrequent write access. Hence I am using entity beans to access this data. For performance reasons, I will be using session beans as a wrapper

[JBoss-user] [Persistence & CMP/JBoss] - EJB QL Parsing problem

2004-10-27 Thread derekbotfield
Can anyone point out what must be quite obvious: This is an error message from the console concerning the failure to parse a query. What's wrong with the query? Note that there is a CMP field called 'location'. with a getter and a setter. The problem seems to be syntactic..? ... Caused by: org.jb

[JBoss-user] [Security & JAAS/JBoss] - Username passed to LoginModule from Web tier

2004-10-27 Thread MLipp
I'm using my own login module since 2.x. One special feature of this module is that the principal returned after successful authentication is not the user name. It is a special id associated with the user name (yes, this does make sense, actually it is common practice: think of Unix, your user i

[JBoss-user] [Installation & Configuration] - Re: NamingContext and HA discovery

2004-10-27 Thread kalyan120
I **guess** this feature is provided to faciliate the creation of NamingContext in clustering scenarios. Looks like HA JNDI is used as the JNDI provider in clusters and hence, even if you do not provide PROVIDER_URL value, it will try to obtain a NamingContext, if it could find any server in the

[JBoss-user] [JCA/JBoss] - Using UserTransaction from a Mbean doesn't commit against XA

2004-10-27 Thread alexOscar
I am not sure if I post this to JMX forum or here, hoping this is the right place. I've defined an Xa Oracle Datasource and I'm using UserTransaction to commit, but it is not happening (I am not getting any error or something) Here's the simplified code below (the actual code involves a distribu

[JBoss-user] [Persistence & CMP/JBoss] - Re: Image Retrieved from DB, doeesnt get displayed correctly

2004-10-27 Thread craigdberry
Rather than embedding a reference to the image data, you need to return a properly formed response containing the correct http headers, then the image data. Here's an excerpted example from one of my servlets that does this: | ImageDTO imageValue = | ResourceFac

[JBoss-user] [Persistence & CMP/JBoss] - CachedRowSet.getBlob() throws Datatype mismatch while retrie

2004-10-27 Thread robinbajaj
My Servlet code is using a CachedRowSet to get a blob datatype from mySQL4 database using getBlob() function,from the table uploads(uploadid int(10),filename varchar(20),BINARYFILE BLOB); using the following code. CachedRowSet rs; rs =new CachedRowSetImp

[JBoss-user] [Persistence & CMP/JBoss] - Image Retrieved from DB, doeesnt get displayed correctly in

2004-10-27 Thread robinbajaj
Summary :: Why is my browser not showing my constructed image Retrieved image from DB , constructed using ImageIcon Details My Servlet code is retrieving image using resultset.getBlob() method and then constructs an ImageIcon from it using the following code. But when i display it usinghtml

[JBoss-user] [Persistence & CMP/JBoss] - Re: Why an ejbLoad() call for each get* method?

2004-10-27 Thread ricardovm
"dannyb23" wrote : You probably need to update to commit option A etc... | in the default commit option, you application server does not assume he is the only one touching the database therefore with every "get" you perform your app server refreshes itself from the database in case anyone else

[JBoss-user] [Persistence & CMP/JBoss] - Re: Why an ejbLoad() call for each get* method?

2004-10-27 Thread dannyb23
You probably need to update to commit option A etc... in the default commit option, you application server does not assume he is the only one touching the database therefore with every "get" you perform your app server refreshes itself from the database in case anyone else updated the database.

[JBoss-user] [Clustering/JBoss] - Re: Manually emtying the CMP beans cache

2004-10-27 Thread nickman
Your question is really more an issue of understanding EJB and not JBoss specifically. When using commit option A, the container assumes exclusive "ownership" of the database so it can cache the data very aggresively. However, at no time does the cache contain incomplete writes to the database

[JBoss-user] [Security & JAAS/JBoss] - Re: SSL via HTTPS Standardport 443 / Redirect to 8443

2004-10-27 Thread begemotic
Hi, currently I'm using SuSe 8.2, but I will switch to Debian30. Because I'm new to managing the firewall with iptables (I use the SuSe yast tool), it would be nice to have an initial help to build the filter tables for NAT. Regards, Roland View the original post : http://www.jboss.org/in

[JBoss-user] [Beginners Corner] - JBoss ANT tasks?

2004-10-27 Thread ronchalant
Are there any ant tasks similar to those available for Tomcat to restart a context within JBoss? If not, how can I configure the Tomcat bundled with JBoss to be able to use the ant tasks for it? You need to deploy the Tomcat Administration Tool to the installation, but I'm unsure of how to do

[JBoss-user] [Security & JAAS/JBoss] - Re: SSL via HTTPS Standardport 443 / Redirect to 8443

2004-10-27 Thread nehring
What operating system are you running? With Linux I use iptables to redirect port 443 to 8443 and run JBoss as a non-privileged user.This involves setting up iptables for destination NAT. r, Lance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852979#

[JBoss-user] [Security & JAAS/JBoss] - SSL via HTTPS Standardport 443 / Redirect to 8443

2004-10-27 Thread begemotic
How can I configure JBoss 3.2.5, so I can access the SSL configured Tomcat container via Port 443, and have not to run JBoss as a system user with a userid below 1024? I must use the standard HTTPS port 443, because my external JBoss server is outside the company firewall and will run my browser

[JBoss-user] [JBoss Getting Started Documentation] - Duke's Bank: EJB security-domain doesn't work, gives Authent

2004-10-27 Thread alchemista
I tried enabling security for the Duke's Bank application as mentioned in the Getting Started guide. When I added the security-domain element for the jboss-web.xml file for the web application, the login does work. However, the Getting Started guide also says to add a security-domain element to

[JBoss-user] [JCA/JBoss] - Re: Problems under heavy production load

2004-10-27 Thread tsnoke
Hi- What this issue address in 3.2.6? We are running JBoss 3.2.6 under heavy load with 1.5GB for the JVM and finding that the JVM heap keeps growing and we are having to reboot the servers daily to keep from having JBoss generate out-of-memory errors. We have set the acccept count to 10 and the

[JBoss-user] [Clustering/JBoss] - Re: how to use singleton

2004-10-27 Thread monocongo
"monocongo" wrote : Once I finally have everything worked out I will post a forum message or Wiki entry outlining all of the steps I needed to take to get this working. Hopefully it will help other developers who want to use Singletons in a clustered JBoss application avoid the headaches I've g

[JBoss-user] [EJB/JBoss] - Why an ejbLoad() call for each get* method?

2004-10-27 Thread ricardovm
I'm writing an entity bean called from a session bean. For tests only, I do: ctx.getUserTransaction().begin(); TestLocal t = home.findByPrimaryKey(id); String str_field = t.getStringField(); Integer int_field = t.getIntegerField(); t.setStringField("New Value"); t.setIntegerField(new Integer(123

[JBoss-user] [Persistence & CMP/JBoss] - Why an ejbLoad() call for each get* method?

2004-10-27 Thread ricardovm
I'm writing an entity bean called from a session bean. For teste only, I do: ctx.getUserTransaction().begin(); TestLocal t = home.findByPrimaryKey(id); String str_field = t.getStringField(); Integer int_field = t.getIntegerField(); t.setStringField("New Value"); t.setIntegerFie

[JBoss-user] [JBoss Getting Started Documentation] - jBoss 4.0 charpter 5/ Web services deployment

2004-10-27 Thread wy_zhu
I followed the example in the book. However, I got the following exception when running deploy-ws command. What did go wrong in parsing Webservices.xml? 11:19:18,824 ERROR [ObjectModelBuilder] Failed to invoke method newChild java.lang.NoClassDefFoundError: javax/wsdl/WSDLException at org

[JBoss-user] [Nukes User] - How to Get Rid of "Modules" Title on Left menu?

2004-10-27 Thread mchinn
Is there a way within the Gui or JXM console to get rid of the "Modules" title/label on the default menu? I want the default user menu items to slam up against the Home link... Matt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852971#3852971 Reply to the

[JBoss-user] [Nukes User] - How To Restrict Users From Viewing Certain Items in Download

2004-10-27 Thread mchinn
I have a site with A LOT of groups, each wanting their own download view for their items. How can I either: -Restrict permissions to certain categories within the main downloads module screen. or -Add a downloads menu item for each group that will only list thier downloads? Matt View the orig

[JBoss-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar

2004-10-27 Thread raja05
One thing you can try (if you are using jboss-3.2.5 or above) is set the isolated property on EARDeployer to true so that your EAR has a scoped classloader. If you are using a earlier version, then you can always set scoped class loading for your ear using jboss-app.xml. Check the jboss docs for

[JBoss-user] [JBoss Getting Started Documentation] - startDatabaseManager failing

2004-10-27 Thread TechWizard
I'm working my way through the getting started guide, and have created the DB, and data. I bring up the jmx-console and go to the Hypersonic service. But, when I invoke startDatabaseManager the console displays the following error: 12:18:59,979 ERROR [STDERR] java.lang.NoClassDefFoundError 12:1

[JBoss-user] [JCA/JBoss] - Re: afterCompletion() & database connection closing

2004-10-27 Thread natebowler
This is the exact same problem I am having, but this thread died without an explanation of the fix. What was the trick here? How did you modify the TopLink JTSSynchronizationListener to play nice with JBoss? Nate View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

[JBoss-user] [JCA/JBoss] - Re: TransactionManager - error in delist; already committed

2004-10-27 Thread natebowler
Could somebody please post what exactly was fixed here? I'm using 3.2.6 final and I'm getting the same error I've always been getting trying to integrate TopLink using JTS and JBoss 3.2.6. The problem is this: In the afterCompletion() event, TopLink closes the DB connections (returns them to th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Can not publish a MapMessage

2004-10-27 Thread gmand
Anyone? Ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852965#3852965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852965 --- This SF.Net email is sponsored

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss3.2.6-JNDI Over https not working

2004-10-27 Thread ss_jain
Here is the exception I am getting, please let me know how to fix this as soon as you can- Exception in thread "main" javax.naming.NamingException: Failed to retrieve Nami ng interface [Root exception is java.io.IOException] at org.jboss.naming.HttpNamingContextFactory.getInitialContext(H

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error after login on Duke“s Bank

2004-10-27 Thread alchemista
I'm having the same problem. I added the security domain information, and then login works (it rejects if I've used a bad password, and lets me in if I use a correct password). However, once I login with the correct password, I get the same error that the poster mentioned. The stacktrace from

[JBoss-user] [Clustering/JBoss] - Re: Manually emtying the CMP beans cache

2004-10-27 Thread bobjones
Will flush() write the contents of the cache to the data store (as the name suggests), or simply invalidate the contents of the cache? If running in commit option A, perhaps flush() knows that it is in control of the DB and therefore knows that it is in sync with the DB and there would be no need

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

2004-10-27 Thread alchemista
I went through the JBoss Getting Started tutorial, and was wondering how J2EE Application Clients worked with JBoss. I see that in the Duke's Bank example, the Ant target that launches run-client simply makes a normal Java call to the application client main class. However, there's no launch of

[JBoss-user] [Clustering/JBoss] - Clustered HASingleton How-To

2004-10-27 Thread monocongo
Here is an outline of the steps I took in order to use HASingletons in a clustered JBoss application. I hope it will be helpful to others who try to use HASingletons for the first time. The below is based on the approach explained by Ivelin Ivanov in the ONJava article found here: http://www.

[JBoss-user] [Persistence & CMP/JBoss] - Re: could not instantiate CacheProvider: net.sf.hibernate.ca

2004-10-27 Thread Furykid
... look inside the ehcache.jar file itself ! regards furykid View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852959#3852959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852959 --

[JBoss-user] [Installation & Configuration] - Re: apache commons-logging stopped working under jboss 4.0

2004-10-27 Thread mboulatian
Hi, I figured out myself. Here is the explanation if someone gets the same problem. There is a new package under deploy directory called ebxmlrr-service.sar. Apparently, this package contains commons-logging.properties file that specifies NoOpLog as an implementation for the logger that stops a

[JBoss-user] [Persistence & CMP/JBoss] - Re: could not instantiate CacheProvider: net.sf.hibernate.ca

2004-10-27 Thread beyarecords
I have changed the cache provider name to : net.sf.ehcache.hibernate.Provider but am now getting the following message: [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/Library/jboss-3.2.6/server/default/lib/ehcache-1.0.jar!

[JBoss-user] [Installation & Configuration] - NamingContext and HA discovery

2004-10-27 Thread Frito
Hi, today I was a bit surprised when I tried to lookup an object with the url jnp:/localhost:1099 finding an object with no JBoss running on my computer. Looking into the sources of NamingContext, I found the jnp.disableDiscovery property and the "feature" of this NamingContext to do some broadc

[JBoss-user] [Persistence & CMP/JBoss] - JBoss 4.0 + HAR archive = classloading hell.

2004-10-27 Thread destr0
I'm trying to deploy a har archive to jboss. When the session factory is bieng built, particularly when the mapping files are bieng mapped to classes, the class that corresponds to a found hmb.xml file is reported as not bieng found. These classes are most definitely in the archive, both the h

[JBoss-user] [Security & JAAS/JBoss] - Re: Principal=null.... please help me

2004-10-27 Thread craig1980
Hi again.. well i have changed my servlet code; now it's this one: import java.lang.reflect.InvocationTargetException; | import java.lang.reflect.Method; | import java.security.PrivilegedAction; | import java.security.PrivilegedActionException; | import java.security.PrivilegedExceptionAct

[JBoss-user] [Security & JAAS/JBoss] - Re: Does security work on jboss 4?

2004-10-27 Thread p_nevilleuk
BTW: The same project works in 3.2.5, so I would love to hear from anyone with similar experience. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852951#3852951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852951 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: TransactionRolledBackException, IllegalStateException, J

2004-10-27 Thread ivanlc
Hi all, error is due to a compilation of EJB-QL sentence. There must be a good reason why it doesn't compile but I can't see it (yet). 2004-10-27 14:23:21,484 ERROR [org.jboss.ejb.EntityContainer] Starting failed jboss.j2ee:jndiName=pdmV1-I1.EDestinLocalHome,service=EJB org.jboss.deployment.Dep

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Do I have to close QueueSession

2004-10-27 Thread adamrice32
Hi Adrian, I was experiencing something similar, where I was getting a SocketException after pumping a bunch of messages onto a queue. I added code to close the session and then close the connection, but I still see a single EOFException when the client shuts down. Any thoughts? Thanks, Adam

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

2004-10-27 Thread adamrice32
I am experiencing the exact same behavior. Did you figure out what was wrong? My first thought was that the queue connection was not closed, but explicitly calling queueConnection.close() did not make a difference. Any thoughts? Thanks, Adam Rice "hswen" wrote : Hi, | I have a stand alone

[JBoss-user] [Installation & Configuration] - apache commons-logging stopped working under jboss 4.0

2004-10-27 Thread mboulatian
We hava been using jboss 3.2.3 for some time. I tried to migrate to jboss 4.0. One thing I notice that logging does not work in jboss 4.0. I cannot get logging to work from our applications. All appenders are setup properly but things that worked in 3.2.3 don't work under jboss 4.0. We use jakar

[JBoss-user] [Security & JAAS/JBoss] - Re: UnsupportedCallbackException using TextInputCallback

2004-10-27 Thread leathurman
I know this thread is very old but I am trying to implement something very similar, I too need to capture the users organisation. However all I did was amend my customer and the ClientLoginModule to supply a TextInputCallback. Both my JAAS login and the filter which uses the Client-login modul

[JBoss-user] [Security & JAAS/JBoss] - Does security work on jboss 4?

2004-10-27 Thread p_nevilleuk
Hi, Thought I would as this as I have spent a day trying various configurations with little joy. I am simply trying to use basic authentication (configured in web.xml) and then use a policy for UsersRolesLoginModule. I have set up some secutiry on the EJB that the servlet is calling and get mix

[JBoss-user] [Beginners Corner] - Re: JBOSS start-up problem

2004-10-27 Thread kalyan120
Why can't a SAR be deployed with PrefixDeploymentSorter? I don't see any reason for not employing this technique. >From what you say (or from the comments in jboss-service.xml), it appears that, SARs >should get deployed first. But from the exception that's mentioned, it shows that the >SARs a

[JBoss-user] [Clustering/JBoss] - How to get failover with HASingletons ?

2004-10-27 Thread monocongo
I have created an application which uses "stateful" HASingletons. In the event of the master node going down these HASingletons are successfully started on the new master node, but they lose all state information. Once this occurs my application becomes confused and bad voodoo ensues. I had a

[JBoss-user] [Installation & Configuration] - Integration of JBoss/Tomcat and IIS on different servers?

2004-10-27 Thread osma
Hi, I'm trying to integrate IIS (IIS5) with JBoss/Tomcat (3.2.5/5.0.26) that are on different servers. Does anyone know any good guides or have any tips on how to set it up? All examples I have found uses a standalone tomcat, that's run on the same server as the IIS. View the original post :

[JBoss-user] [Security & JAAS/JBoss] - Re: Principal=null.... please help me

2004-10-27 Thread craig1980
Hi i haven't showed the de.danet.an.staffmgmt.jbossx.StaffMemberLoginModule, here it is: import java.security.acl.Group; | import java.util.Map; | import java.util.List; | import java.util.ArrayList; | import java.sql.Connection; | import java.sql.Statement; | import java.sql.Prepared

[JBoss-user] [Installation & Configuration] - Why is Xalan included in JBoss 3.2.6 distribution?

2004-10-27 Thread fredrik_is
Why is Xalan included in JBoss 3.2.6 distribution? The jars xml-apis.jar, xercesImpl.jar and xalan.jar are included in the directories jboss/lib and jboss/server/default/lib, respectively. They are also included in the JRE distribution. This would be reasonable if some startup config file states

[JBoss-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar

2004-10-27 Thread fredrik_is
I have already tried that. I put the three jars in my .ear file, and declared them as java modules in the ear's META-INF/application.xml, as I do with several other libraries used, but it does not work. I get the same error as I get when running with the old jars only. /Fredrik View the origina

[JBoss-user] [Installation & Configuration] - Re: 3.2.4 -> 4.0 migration guidance?

2004-10-27 Thread fengleit
I would like to see a migration guidance too. Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852921#3852921 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852921

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

2004-10-27 Thread ThReCa
Please delete this thread... http://jboss.org/index.html?module=bb&op=viewtopic&t=55767 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852920#3852920 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852920 -

[JBoss-user] [Persistence & CMP/JBoss] - could not instantiate CacheProvider: net.sf.hibernate.cache.

2004-10-27 Thread beyarecords
Hi, I get the above mentioned error when I try to use EhCache in Hibernate. I have placed ehcache-1.0.jar in: /default/deploy/lib/ Is this the correct place to put the jar file? regards Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852919#3852919

[JBoss-user] [Management, JMX/JBoss] - RMIAdaptor Call From JBoss 4.0.0 to JBoss 3.2.5 - InvalidCla

2004-10-27 Thread nickman
I am trying to make an RMIAdaptor call from JBoss 4.0.0 to JBoss 3.2.5. However, when I lookup the RMIAdaptor in 3.2.5 from 4.0.0 using JNDI, I get the following error: | Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: | java.io.InvalidClassEx

[JBoss-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar

2004-10-27 Thread wdfink
Hi, if you want save, the best way (IMO) is to put all in an EAR-File. So your application work with the necassary XSLT and JBoss and other applications in the same JBoss AS runs with different.. Wolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852916#3852

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-27 Thread poojac20
Actually, I have most of the business logic already available as EJBs. Hence J2ee as back end is already there. I need to use these EJBs and am trying to avoid RMI calls through another home-made server. And then I also thought IF JBoss can manage multiple sockets/threads/clients on its own

[JBoss-user] [Management, JMX/JBoss] - Re: Couldn't lookup

2004-10-27 Thread diripu
I could resolve the problem. The problem was because I didn't deploy the ejb-management.jar . And by default its not being deployed in version 3.2.5 and 4.0.0. But in the prev. version of JBoss ie (3.0.8, 3.0.4) this application was being deployed by default. Thanks View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: Couldn't lookup

2004-10-27 Thread robisz
What version of JBoss? ejb/mgmt/MEJB exist only in 4.0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852911#3852911 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852911 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: unknown pk beans - db2

2004-10-27 Thread jornik
Here is my jbosscmp-jdbc.xml java:/test DB2 false false false false 300 false true foreign-key Image false java.lang.Integer ID INTEG

[JBoss-user] [Clustering/JBoss] - Cache invalidation of all entities programatically - possibl

2004-10-27 Thread bobjones
This is not a clustering question, it's a cache invalidation question. And although the two usually go hand in hand, they do not necessarily do so. But this does seem to be a place where experienced Cache Invalidation Framework experts hang out. So, any CIF experts out there then please help!!!

[JBoss-user] [Beginners Corner] - Is it safe to update xalan, xercesImpl and xml-apis jar file

2004-10-27 Thread fredrik_is
Hi! I am writing an application that uses Xalans XSLTC package. When testing outside JBoss I am using the latest jars from Xalan's web site, put in the $JAVA_HOME/jre/lib/endorsed directory. This I do because the jars that comes along in the J2SDK 1.4.2_06 are not working correctly. Now I want

[JBoss-user] [Persistence & CMP/JBoss] - Cache invalidation of all entities programatically - possibl

2004-10-27 Thread bobjones
Any CIF experts out there then please help!!! I want to invalidate all instances of all entities from the container's cache programatically. In the deployment descriptor of all my entity beans I will set cache-invalidation to false. I will do this because I do not want to invalidate entities on

[JBoss-user] [Management, JMX/JBoss] - Re: Couldn't lookup

2004-10-27 Thread diripu
Thanks Will post this in beginners corner forum. But the program i have written is correct ? I couldn't see any errors on deployment. Also i couldn't find this JNDI name in the JNDI-view . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852905#3852905

[JBoss-user] [Persistence & CMP/JBoss] - Re: unknown pk beans - db2

2004-10-27 Thread robisz
You should try with get-generated-keys entity-command. Please post your jbosscmp-jbc.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852904#3852904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852904 ---

[JBoss-user] [Persistence & CMP/JBoss] - Re: Does data get flushed to the DB on commit when in Commit

2004-10-27 Thread tomerbd
http://www.jboss.org/wiki/Wiki.jsp?page=CMPCaching View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852902#3852902 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852902 --

[JBoss-user] [Management, JMX/JBoss] - Re: Couldn't lookup

2004-10-27 Thread darranl
Have a look at JNDI View from jmx-console to see what is bound. Were there any errors on deployment? Your question would be better in the beginners corner forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852901#3852901 Reply to the post : http://www

[JBoss-user] [Persistence & CMP/JBoss] - Re: unknown pk beans - db2

2004-10-27 Thread jornik
I took away the hypersonic one and tried with default key-generator without success I also added one myself into the standardjbosscmp-jdbc.xml which mapped to org.jboss.ejb.plugins.cmp.jdbc.DB2IdentityValLocalCreateCommand, which was mentioned in some posts about it being developed... (This

[JBoss-user] [Security & JAAS/JBoss] - Re: make a jsp runnin' on https

2004-10-27 Thread Lviz
hi yea i think you can do it without apache... http://www.jguru.com/faq/view.jsp?EID=748030 for redirect with no logon take a look... [url]http://struts.application-servers.com/[url] we use struts layout with all of our jsp's it will take some time to prepare an example... and i am busy right n

[JBoss-user] [Management, JMX/JBoss] - Couldn't lookup

2004-10-27 Thread diripu
Couldn't get ManagementHome and getting exception "ejb not bound"... My program is like the below. --- Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); props.put(Context.URL_PKG_PREFIXES,

[JBoss-user] [Installation & Configuration] - weird jar dependency loading problems

2004-10-27 Thread hany_bee
When I configure the Hibernate mbean service, I get a weird problem about missing dependency class. I added the following to $server/conf/jboss-service.xml: jboss.jca:service=RARDeployer jboss.jca:name=DefaultDS, service=LocalTxCM test/web/project/beans/Event

[JBoss-user] [Installation & Configuration] - Re: JDK5.0 JMX Agent conflit

2004-10-27 Thread Furykid
> Yes, this has been fixed for 4.0.1 and 3.2.7 could you please specify when it will be available for download ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852896#3852896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[JBoss-user] [Javassist user questions] - Re: dispatch algorithm limitation

2004-10-27 Thread tar
Sorry the layout may be a little confussing... here is the right layout. We can read this at the end of the tutorial : anonymous wrote : The compiler does not correctly implement the Java method dispatch algorithm. The compiler may confuse if methods defined in a class have the same name but t

[JBoss-user] [Javassist user questions] - dispatch algorithm limitation

2004-10-27 Thread tar
We can read this at the end of the tutorial : anonymous wrote : The compiler does not correctly implement the Java method dispatch algorithm. The compiler may confuse if methods defined in a class have the same name but take different parameter lists.anonymous wrote : | | | | what it re

[JBoss-user] [Javassist user questions] - Re: unable to locate the proper class - and some newbie ques

2004-10-27 Thread alvlim1982
Hi again, I have another problem (again...never ending problems). This time, I really really have no idea what is happening. As I've said earlier, I tried to use javassist to generate run-time Value Object (there's no physical file). Then after that, I will pass the instance of the newly genera

  1   2   >