[JBoss-user] [Beginners Corner] - Yet another Class Loader problem - Please Help

2005-09-06 Thread jboss05
Hi All, For the first time, i wrote the MBean service. I'm using Commons Digester and run into class loader problem. My problem disappears if i remove $JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar/commons-diggest.jar. But as soon as i remove, the tomcat throws the following exception.

[JBoss-user] [Beginners Corner] - Re: What does no classloaders found mean ?

2005-09-06 Thread andrewi
"gulaplaarajasekhar" wrote : The container is not able to load com.meerkat.jfr.par.Address class and so the ClassNotFound Exception | It might be due to various reasons. Few which I know are | | 1. If we user more than 1 container, then there should be mapping in one container saying the

[JBoss-user] [Installation, Configuration & Deployment] - Re: NPE on deploying .har in JBoss 3.2.6

2005-09-06 Thread [EMAIL PROTECTED]
Got my deployment problem resolved after looking at below link: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and jboss-hibernate.jar from above link. I also moved hbm files out of metainf directory. rem

[JBoss-user] [Beginners Corner] - Re: NPE on deploying .har in JBoss 3.2.6

2005-09-06 Thread [EMAIL PROTECTED]
Got my deployment problem resolved after looking at below link: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and jboss-hibernate.jar from above link. I also moved hbm files out of metainf directory. rem

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: NPE on deploying .har in JBoss 3.2.6

2005-09-06 Thread [EMAIL PROTECTED]
Got my deployment problem resolved after looking at below link: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate-old As I am using jboss 3.2.6, Ihad to downlod jboss-hernate-deployer-service and jboss-hibernate.jar from above link. I also moved hbm files out of metainf directory. removed

[JBoss-user] [Javassist user questions] - 3.1 RC2.

2005-09-06 Thread chiba
I have released 3.1 RC2 including bug fixes reported these days. It was released mainly for an administrative reason but I hope it is also convenient for you all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893315#3893315 Reply to the post : http://www.jbo

[JBoss-user] [Beginners Corner] - Web Service Client

2005-09-06 Thread timander
I get the following error when running the sample web services client: run-ws: [java] log4j:WARN No appenders could be found for logger (org.jboss.webservice.EngineConfigurationFinder). [java] log4j:WARN Please initialize the log4j system properly. [java] Exception in thread "main"

[JBoss-user] [Javassist user questions] - Re: annotation bug?

2005-09-06 Thread chiba
Thank you for a bug report. I have fixed this bug. Please download the latest snapshot from CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893312#3893312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893312 ---

[JBoss-user] [JBoss.NET] - Re: JBoss.Net ClassNotFoundException in JBoss 4.0.2

2005-09-06 Thread vbatista
Hi! Have you solved your problem? I am having exactly the same error. I am exposing a SLSB as a web service with jboss.net on JBoss 4.0.2 (patched). I am trying to expose a VO on my web service, and I am getting the error below at deploy time: 2005-09-07 02:18:25,554 ERROR [org.jboss.axis.

[JBoss-user] [News & Announcements] - JBoss Microcontainer standalone release 1.0.0

2005-09-06 Thread [EMAIL PROTECTED]
The JBoss Microcontainer has been released under its own distribution: It is currently used in the following ways: * Standalone EJB3 * The POJO/bean deployer to be included in JBoss-4.0.3 * Soon to be the core of JBoss5 Release Notes: http://sourceforge.net/project/shownotes.php?release_id=286951

[JBoss-user] [Installation, Configuration & Deployment] - Re: Default JBoss Security problem

2005-09-06 Thread mburke1963
Hi, I am using 4.0. I just unzipped it. Where is the installer? I could not find any way to configure the server. The only other thing I have installed is Oracle 10g Database, listening on 1521. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893302#3893302 R

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-09-06 Thread joff
i've also just added in Clustered Stateless SessionBean for my EJB DDs, but still no joy :-/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893301#3893301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893301 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Issues rolesQuery with a hashed username from Datab

2005-09-06 Thread msly
Enabling trace helped me find the problem. Here is the return of the getUserRoles during the problem: Principal: Roles(members:safetyAppUser,HttpInvoker ) Notice the white space after the role name. The database column that I was pulling these from was a char(30) column, so I cha

[JBoss-user] [Beginners Corner] - strting jboss issue

2005-09-06 Thread aamonten
when I start my jboss server I got an error message, I believe this is the cause that when I test my applicatio they can't find the DefaultDS here is the error: | ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding | state: CONFIGURED | I Depend On: jboss.jca:name=DefaultDS,s

[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB

2005-09-06 Thread joff
Hi - the next version of my app is about to go into production, but this issue is still unresolved, and it runs jobs that can take up to a couple of hours to run - being able to balance the load of these jobs across my app servers will be a major help. can anyone shed any light as to why the

[JBoss-user] [Messaging, JMS & JBossMQ] - Temporary queue & JAAS Security

2005-09-06 Thread ushirshah
Hi, I am using Jboss and have configured JAAS authentication. When I try to create a Receiver for the temporary queue I am getting follwoing exception: anonymous wrote : javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination: JMS_TQ8 When I try to create queue an

[JBoss-user] [Beginners Corner] - Compile Warnings

2005-09-06 Thread dhunter21
When I compile using the latest JBoss I link against ${jboss.home}/lib and ${jboss.home}/server/all/lib and I get the warnings below. These jar files certainly do not exist in the directories, and I think they are being generated from the classpath's defined in some of the manifest files. I'm I

[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO

2005-09-06 Thread [EMAIL PROTECTED]
I should be able to run through your test wars in the next day to get an exact idea of what's going on. I definitely appreciate your good inputs on this. Getting a test case so quickly is not the norm with most forum questions :-) . View the original post : http://www.jboss.com/index.html?mod

[JBoss-user] [Installation, Configuration & Deployment] - Re: RemoteAddrValve Problems

2005-09-06 Thread kkleist
Ouch. My bad. In my original post I should have written "context" and not "host". Sorry for the confusion. The context file I've been using to test/prove is very simple. It contents is (IPs and names changed to protect the innocent): | | | View the original post : http://ww

[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO

2005-09-06 Thread CptnKirk
Thanks for the response Brian. I know you're under time pressures. What you say makes sense. What it feels like JBoss is doing in SSO is that upon authentication with one app the principal gets propagated to the other webapp's context and the credentials are cached. Or there is some security

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

2005-09-06 Thread ushirshah
Hi, I am using Jboss and have configured JAAS authentication. When I try to create a Receiver for the temporary queue I am getting follwoing exception: anonymous wrote : javax.jms.JMSSecurityException: Connection not authorized to subscribe to destination: JMS_TQ8 When I try to create queue an

[JBoss-user] [Messaging, JMS & JBossMQ] - stop message-delivery

2005-09-06 Thread schachi
i try to stop "message-delivery from a queue". DocImportProcessorEJB: | onMessage(Message m) { |if (...) { | ObjectName objectName = | new ObjectName("jboss.j2ee:binding=message-driven-bean, | jndiName=local/DocImpor

[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-06 Thread DashV
Doh... I can't upload an image so here is a copy paste of the debug tree. PublisherSequence this= PublisherSequence (id=27) | String intendedServerIP= "jnp://x.x.155:1099" | PublisherSequenceSecurityProxyRemote pubSeq= $Proxy3 (id=40) | InvocationHandler h= ClientContai

[JBoss-user] [Installation, Configuration & Deployment] - Re: RemoteAddrValve Problems

2005-09-06 Thread anguyen
Now I'm confused. anonymous wrote : I'm having some trouble getting RemoteAddrValve/RemoteHostValve working at the host level. anonymous wrote : Please don't tell me in WEB-INF of each of the protected resources. This is supposed to be a host level deal; If you want to protect different contexts

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Missing class VariableResolver for ant task JSPC

2005-09-06 Thread johnt131
Using ant task jspc in JBoss version 3.25. Upgraded to JBoss 4.0.2 and tried to run the same task and got an error ClassNotFound for VariableResolver. Does anyone know what's missing? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893274#3893274 Re

[JBoss-user] [EJB/JBoss] - Re: Single Client. Multiple Initial contexts not working.

2005-09-06 Thread DashV
Loading up my client in the Eclipse debugger I can see that its the InvocationContext that is getting confused. So my lookups are indeed being performed correctly but at some point that I haven't pinned down just yet the InvocationContect is getting changed internally. Attached is a screenshot

[JBoss-user] [JCA/JBoss] - Re: Is there a way to timeout active connections (instead of

2005-09-06 Thread kalyan120
Did you mean to timeout on a statement execution (within a connection)? If so, you can use Statement.setQueryTimeOut(int seconds). I don't think there is any configurable way to set it on a statement via the -ds.xml or any other way. Thanks, Kalyan. View the original post : http://www.jboss.

[JBoss-user] [Installation, Configuration & Deployment] - deploy-hasingleton and loader-repository's

2005-09-06 Thread pshrimpton
Hi, Reposted from Clustering/JBoss - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=66344 (sorry, but after 570 views and 8 weeks, without a reply I thought I would risk it :-)) I have a MBean (in a .sar) that uses a custom loader repository ( in jboss-service.xml). This works fine i

[JBoss-user] [Javassist user questions] - Re: Can we avoid

2005-09-06 Thread gpothier
Thanks, it works now! I am indeed using Eclipse to compile classes. g View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893269#3893269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893269 ---

[JBoss-user] [Installation, Configuration & Deployment] - Re: RemoteAddrValve Problems

2005-09-06 Thread kkleist
So maybe we're not discussing the valve at the same level. I need to leave some app open to the world and secure others. The docs describe doing this using a context. I have tried everything the docs have suggested and I come to the conclusion that: 1) the docs are wrong or intentionally ambiguo

[JBoss-user] [Installation, Configuration & Deployment] - Re: Default JBoss Security problem

2005-09-06 Thread darranl
Which version of JBoss have you installed (There are loads of releases that start with 4!)? How did you install it? Did you unzip an archive or did you use the installer? Have you installed any other application servers recently? The majority of times I have seen users with this problem they

[JBoss-user] [Installation, Configuration & Deployment] - Re: RemoteAddrValve Problems

2005-09-06 Thread anguyen
I'm not suggesting you place context elements in server.xml. Follow the example at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html to add the valve at the host level. This way, you don't need to mess with context.xml at all. In server.xml, you would have something like this:

[JBoss-user] [Installation, Configuration & Deployment] - Default JBoss Security problem

2005-09-06 Thread mburke1963
I installed JBoss 4 & it appears to be working, but I can't get to any pages because it prompts for a user-password. How do I shut this off? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893258#3893258 Reply to the post : http://www.jboss.com/index.html?mod

[JBoss-user] [Installation, Configuration & Deployment] - Re: RemoteAddrValve Problems

2005-09-06 Thread kkleist
Thanks Andy, but your recommendation runs contrary to the Tomcat documentation. Please see the following page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html I've also tried dropping 'context.xml' into different directories including the one you recommend but it still doesn

[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO

2005-09-06 Thread [EMAIL PROTECTED]
Jim, Sorry for the slow response. If this is important for your organization and you need someone from JBoss to help get answers on this quickly, you should contact our support group. Please understand the forums are a form of free support and don't necessarily get the attention we would lik

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - deploying jsf apps

2005-09-06 Thread JohnHaze
I have jboss 4.0.3 RC2 running on XP Prof. SP2 and JDK 5.0 update 4. For deploying a simple jsf appication from Java studio creator (only 1 outputext on one page) I followed instructions on the following sites: -http://www.jboss.org/wiki/Wiki.jsp?page=JBossFaces -http://wiki.jboss.org/wiki/Wiki.j

[JBoss-user] [EJB/JBoss] - Re: Home Interface and Context Thread Safety

2005-09-06 Thread treespace
I think therefore I can safely cache the context used for lookups. The other issue is overlapping create calls from multiple threads on an EJB home. That it's stateless is promising but you never know if it's scribbling on class values that preclude overlapping calls. Unless it's stipulated it

[JBoss-user] [Installation, Configuration & Deployment] - Oracle Proxy Authentication in JBoss

2005-09-06 Thread mstguy01
What do I need to do to configure JBoss so that it connects to Oracle with proxy authentication? I have taken over support of our business logic running on JBoss 4.0.2. We currently connect to an Oracle 10g database and JBoss connects to the database as each individual user so each user has to

[JBoss-user] [JBossCache] - Re: Treecache Lock Error

2005-09-06 Thread rino_salvade
I added the comment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893245#3893245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893245 --- SF.Net email is Sponsore

[JBoss-user] [Installation, Configuration & Deployment] - JBoss as Service - HSQL Database Manager not working. Works

2005-09-06 Thread zooxmusic
Hi all, If I run JBoss in a command window on a Windows XP machine I can get the HSQL Database Manager to work through invoking the MBean method. If I install JBoss as a Windows Service using JavaService the HSQL Database Manager never starts. My service command to install jboss is as follows

[JBoss-user] [JCA/JBoss] - getPoolStatus, getMaxSize and Pooling

2005-09-06 Thread dcarraher
I've been tasked with updating JBOSS 2.4.4 to 4.0.2. In our current Java code for our Java Servlets, we use JBOSS 2.4.4 libraries to view connection pool information, as such: | Object obj = fJNDIContext.lookup("java:/" + fstrPoolName); | fDataSource = (DataSource) obj; | fXA

[JBoss-user] [Clustering/JBoss] - Re: Clustered SSO not following the semantics of local SSO

2005-09-06 Thread CptnKirk
Any verification of this? Another person within my organization has been able to reproduce the problem. It'll be important for us to know: A) That this is a bug B) What the timeframe for resolution will be Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bb&op=view

[JBoss-user] [JBossWS] - webservice client using junit

2005-09-06 Thread bw
any one have an ideas for why I'm getting this error, Thanks [junit] null; nested exception is: [junit] java.lang.reflect.UndeclaredThrowableException [junit] java.rmi.RemoteException: null; nested exception is: [junit] java.lang.reflect.UndeclaredThrowableException [junit] at org

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: browsing messages in queue

2005-09-06 Thread tomerbd2
Hi What is this QueueFactory is it from jacorb.jar ? (in that jar there was such a class with no getInstance() method...) Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893237#3893237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[JBoss-user] [Javassist user questions] - Re: Can we avoid

2005-09-06 Thread chiba
Are you using Eclipse for compiling a class? I have fixed this problem (I don't call it a bug :-) Can you try the latest snapshot available from CVS HEAD? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893235#3893235 Reply to the post : http://www.

[JBoss-user] [Installation, Configuration & Deployment] - Re: Newbie: JBoss 4.0.2: Deployment Problem

2005-09-06 Thread fbiaggi
sorry... | true | true | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893233#3893233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893233 --

[JBoss-user] [Installation, Configuration & Deployment] - Re: Newbie: JBoss 4.0.2: Deployment Problem

2005-09-06 Thread fbiaggi
... should be: ...\jboss\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml true true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893232#3893232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[JBoss-user] [Installation, Configuration & Deployment] - Re: Newbie: JBoss 4.0.2: Deployment Problem

2005-09-06 Thread fbiaggi
Hello, you sould disable the J2EE 4.0 class loading (not remeber exaclty in which file) ciao. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893231#3893231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893231 --

[JBoss-user] [EJB/JBoss] - Ejb over HTTP and connection timed out

2005-09-06 Thread lordnedox
Hello, i'm using ejbs over http in our application. Users connect to the server using a VPN, then access jboss on port 8080. Working fine for most of them, but some have the following errors: anonymous wrote : | java.net.ConnectException: Connection timed out: connect | -- Connection timed

[JBoss-user] [JBoss.NET] - rpc/literal in jboss.net?

2005-09-06 Thread be082032
Hello there, I am using jboss 3.2.6 and I exposed a session bean as a web service, using the @jboss-net tags. Although it works well it is exposed as a service running in rpc/encoded style. I have read many topics in this forum saying that they have webservices running in rpc/literal or docume

[JBoss-user] [JBoss Portal] - Server Load

2005-09-06 Thread ajg057
I would like to know whether implementing portal in Jboss can cause major load to the server. For example, If you implement weblogic using portal the server needs to much memory. In the case of Jboss is the same? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: browsing messages in queue

2005-09-06 Thread chinnu76
Try this code it will work: public void browseQ() throws JMSException { QueueConnection queueConnection = null; QueueSession queueSession = null; QueueBrowser queueBrowser=null; queueConnection = QueueConnectionFactory.getInstance()

[JBoss-user] [Installation, Configuration & Deployment] - Re: Defining datasources in webapp config files?

2005-09-06 Thread sbalmos
darran: I realized that after the fact. The point was to include the service definitions with the app, instead of having them outside on their own in the deploy dir. Just keeps things neater, IMO. Andy: THANKS!!! That works perfectly. Personally, the libdir thing doesn't matter to me, since I w

[JBoss-user] [JBossCache] - Re: TreeCacheAop Aspectize Exception

2005-09-06 Thread [EMAIL PROTECTED]
THe easiest way to run TreeCacheAop under AS is to pre-compile the pojo using aopc. That way, you don't need jboss-aop.xml anymore once it is done. But if you need to do loadtime instrumentation, you will need to consult the JBossAop documentation: http://docs.jboss.com/aop/1.3/aspect-framework

[JBoss-user] [JBossWS] - Re: JAX-RPC Mapping DD, what metadata is used by JBoss?

2005-09-06 Thread boehme
We observer a similary problem. The MetaData in the generated WSDD file are mostly ignored by the Serializer. The follwoing web service: | | | http://www.asg-platform.org/scenarios/attractionbooking/services/MobtelPhoneLocationService"; | xmlns:tns="http://www.asg-platform.org

[JBoss-user] [EJB/JBoss] - Re: Startup servlet invoking Secured EJB

2005-09-06 Thread jaikiran
And here's an extract from the web.xml file: | AppStartupServlet | com.app.servlet.StartupServlet | 1 | | | | | | My app | /jsp/* | *.do | *.jsp | /servlet/* | /servlet/DisplayChart | GET | POST | | | dev

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Startup servlet invoking Secured EJB

2005-09-06 Thread jaikiran
And here's an extract from the web.xml file: | AppStartupServlet | com.app.servlet.StartupServlet | 1 | | | | | | My app | /jsp/* | *.do | *.jsp | /servlet/* | /servlet/DisplayChart | GET | POST | | | dev

[JBoss-user] [Messaging, JMS & JBossMQ] - setRollBackOnly question

2005-09-06 Thread optimusprime
Hello there! This is a basic question, it's more related to ejb-spec I guess, but since JBoss is my default AS, I hope you guys could help me out here ;) Ok, I have an MDB with CMT. This MDB calls an ApplicationService (just a POJO) that performs our business logic. In case something bad happens

[JBoss-user] [Beginners Corner] - Re: NPE on deploying .har in JBoss 3.2.6

2005-09-06 Thread [EMAIL PROTECTED]
BTW, I am running JBoss 3.2.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893211#3893211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893211 --- SF.Net email is

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: NPE on deploying .har in JBoss 3.2.6

2005-09-06 Thread [EMAIL PROTECTED]
BTW, I am running JBoss 3.2.6. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893212#3893212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893212 --- SF.Net email i

[JBoss-user] [Installation, Configuration & Deployment] - Re: NPE on deploying .har in JBoss 3.2.6

2005-09-06 Thread [EMAIL PROTECTED]
BTW, I am running JBoss 3.2.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893210#3893210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893210 --- SF.Net email

[JBoss-user] [Installation, Configuration & Deployment] - NPE on deploying .har in JBoss 3.2.6

2005-09-06 Thread [EMAIL PROTECTED]
I am a newbie to using HarDeployers in Jboss. I am deploying my .har file using .EAR package. I am getting below exception on deploying: --- 2005-09-02 18:22:02,868 WARN [ServiceController] ( ) Problem starting

[JBoss-user] [Beginners Corner] - NPE on deploying .har in JBoss 3.2.6

2005-09-06 Thread [EMAIL PROTECTED]
I am a newbie to using HarDeployers in Jboss. I am deploying my .har file using .EAR package. I am getting below exception on deploying: --- 2005-09-02 18:22:02,868 WARN [ServiceController] ( ) Problem starting

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMSExpection: Invalid transaction id.

2005-09-06 Thread jaikiran
Instead of the following, use "Required" as the transaction type @ejb.transaction | * type="Supports" Instead, use: @ejb.transaction | * type="Required" I think this might work. Try it out View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893205#3893205

[JBoss-user] [Installation, Configuration & Deployment] - Re: Defining datasources in webapp config files?

2005-09-06 Thread anguyen
I place mydb-ds.xml in the root of my ear. My ear/META-INF/jboss-app.xml looks like this: | | http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";> | | | | mydb-ds.xml | | | I still have to copy the JDBC driver jar to the server's lib directory. Anyone know if it'

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ClassCastException on Queue JNDI lookup

2005-09-06 Thread darranl
Yes the fact the ClassCastException mentions javax.naming.Reference is enough information to realise you had jars missing on your classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893203#3893203 Reply to the post : http://www.jboss.com/index.html?mod

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMSExpection: Invalid transaction id.

2005-09-06 Thread bnadesan
Here is the code snippet package movie.ejb; import java.rmi.*; import javax.ejb.*; import javax.jms.*; import javax.naming.*; /** * @ejb.bean * name="MessageController" * extends="javax.ejb.MovieSessionBean" * view-type="remote" * jndi-name="movie.ejb.MessageControllerHome" * descript

[JBoss-user] [EJB/JBoss] - Re: Startup servlet invoking Secured EJB

2005-09-06 Thread jaikiran
After debugging the jboss code, i found that the reason why the servlet is able to invoke the method on bean is because, somehow it is able to get the right role, which is required by the bean. I put a breakpoint in the OILServerILService at the following line: | case OILConstants.AUTHENTICA

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Startup servlet invoking Secured EJB

2005-09-06 Thread jaikiran
After debugging the jboss code, i found that the reason why the servlet is able to invoke the method on bean is because, somehow it is able to get the right role, which is required by the bean. I put a breakpoint in the OILServerILService at the following line: | case OILConstants.AUTHENTICA

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ClassCastException on Queue JNDI lookup

2005-09-06 Thread anand.g.verma
I found the reason for this. It has nothing to do with ClassCastException actually. The JMS client was not able to connect to JBoss server hence I was not getting the Queue type object and thus the ClassCastException. Putting jbossall-client.jar in the classpath solved the problem. View the or

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Unknown Problem, need help tracking it down.

2005-09-06 Thread jameselliot
(Not sure if this is right forum, doesn't really fit in any). When trying to access a page on my web application, the page will never load. The browser just sits there trying to connect. Other web applications are fine, can access web-console without problem. Can also access some of my other

[JBoss-user] [JBoss Portal] - Re: Deployment sequence

2005-09-06 Thread patrickdalla
thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893183#3893183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893183 --- SF.Net email is Sponsored by the Bette

[JBoss-user] [Beginners Corner] - Re: What does no classloaders found mean ?

2005-09-06 Thread gulaplaarajasekhar
The container is not able to load com.meerkat.jfr.par.Address class and so the ClassNotFound Exception It might be due to various reasons. Few which I know are 1. If we user more than 1 container, then there should be mapping in one container saying the path of the other container. 2. If usin

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ClassCastException on Queue JNDI lookup

2005-09-06 Thread anand.g.verma
Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference at QClient.main(QClient.java:33) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893172#3893172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mod

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: restart and java.lang.NoClassDefFoundError

2005-09-06 Thread tarikp
thanks joachim it works fine best regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893169#3893169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893169 --- SF

[JBoss-user] [JBossCache] - TreeCacheAop Aspectize Exception

2005-09-06 Thread airmalak
Hi, I'm trying to get the TreeCacheAop running inside JBoss. TreeCache was no problem but I'm stuck with this exception. java.lang.IllegalArgumentException: TreeCacheAop.putObject(): Object type is neither aspectized nor Serializable Meanging that my object isn't aspectized, ok. How can i ach

[JBoss-user] [JBossCache] - Re: Problems with persistent cache

2005-09-06 Thread Motormind
Anyone have any insights about this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893166#3893166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893166 --- SF.Net e

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ClassCastException on Queue JNDI lookup

2005-09-06 Thread darranl
If you are getting a ClassCastException post the Exception stack trace and message. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893164#3893164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893164

[JBoss-user] [Installation, Configuration & Deployment] - Re: Defining datasources in webapp config files?

2005-09-06 Thread darranl
You could put all of your datasource definitions in a single -ds.xml instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893162#3893162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893162 ---

[JBoss-user] [JBoss Portal] - Re: JavaScript & jsp: can't load external script

2005-09-06 Thread Hannes
It is a bug in the javascript from activewidgets. I am not allowed to have anonymous wrote : http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> in my html-page. I am trying to remove the line from the index.jsp. But why I can access only files from the root folder is still confusing... V

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: AbstractPersistetCollection local class incompatible

2005-09-06 Thread vbagiatis
Finally, I noticed that the hibernate3.jar that was in my classpath was slightly different than that in the server/default/deploy/jboss-hibernate.deployer/ folder. So I replaced the classpath with the latter and it works fine. Hope this works for you too. View the original post : http://www.jb

[JBoss-user] [JBoss Portal] - Re: JavaScript & jsp: can't load external script

2005-09-06 Thread Hannes
Thank you for your reply :) "diondodgen" wrote : Hi Hannes, | | Well looking at this I would check to see what the application context name of my portlet is. This should provide a bit of information of your path to your war file resources. hmm, what do you exactly mean? I can retrieve only

[JBoss-user] [Security & JAAS/JBoss] - Re: Problem with PrincipalRoles=null; for create method..

2005-09-06 Thread shankarniyer
Hi Siva, I am of the view that you are missing something in your ejb-jar.xml. your method permissions are not proprly set. Administrator Math Remote MultiTwoNumber Add something like this and see

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: restart and java.lang.NoClassDefFoundError

2005-09-06 Thread triathlon98
If you don't have X installed on your system, then you may have to pass -Djava.awt.headless=true to your java runtime. This can be added in jboss-dir/bin/run.conf Joachim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893154#3893154 Reply to the post : htt

[JBoss-user] [Beginners Corner] - servlet depends on MBean!

2005-09-06 Thread vikas0506
Just playing around with jboss,axis. I created a servlet that makes use of a certain mbean. I want the mbean to be registered first and then the servlet class to be initialized. The Mbean is part of a different sar and the servlet in question is in a different war file. Can any one help me w

[JBoss-user] [Messaging, JMS & JBossMQ] - browsing messages in queue

2005-09-06 Thread tomerbd2
Why isn't the following code browsing the messages in my queue? what is my mistake? public Enumeration listMessages() { | QueueSession session = null; | QueueBrowser browser = null; | Enumeration queueContents = null; | try { | session = _queueConnection.create

[JBoss-user] [JNDI/Naming/Network] - ClassCastException at $Proxy2.getTables()

2005-09-06 Thread asinezhang
I've configed JBoss Connection Pool and the database is Oracle9i. But I met some error when I use getTables() method,there was an error. The code is as followed: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env.put(Cont

[JBoss-user] [JBoss Getting Started Documentation] - JBoss Connection Pool & Oracle problem:getTables()

2005-09-06 Thread asinezhang
I've configed JBoss Connection Pool and the database is Oracle9i. But I met some error when I use getTables() method,there was an error. The code is as follow: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");

[JBoss-user] [EJB/JBoss] - restart and java.lang.NoClassDefFoundError

2005-09-06 Thread tarikp
our problem occurs after restart report server.. Report server works normally. But when i restart the server (without any variety) , our server is giving java.lang errors. first --Can't connect to X11 window server using 'localhost:1.0' as the value of the DISPLAY variable.-- error is on report

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - restart and java.lang.NoClassDefFoundError

2005-09-06 Thread tarikp
hi our problem occurs after restart report server.. Report server works normally. But when i restart the server (without any variety) , our server is giving java.lang errors. first --Can't connect to X11 window server using 'localhost:1.0' as the value of the DISPLAY variable.-- error is on rep

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMSExpection: Invalid transaction id.

2005-09-06 Thread jaikiran
Please post the code in which you are sending the message View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893145#3893145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893145 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ClassCastException on Queue JNDI lookup

2005-09-06 Thread anand.g.verma
Hi I am also facing the same problem. I am using samples given in the JBoss distribution as per the JBossMQWiki. However when I use testQueue then I get ClassCastException and if I use queue A then I get Queue not bound exception. == Here is my code:

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Session Invalidate + isUserInRole Issue

2005-09-06 Thread hoth256
Thanks Scott! I have to say you are really on top of things, I see your posts all over these forums. I am able to reproduce the intended behavior in 4.0.2 - the same as 4.0.1sp1. Is this behavior specified in the newer servlet spec? Just wondering why the results were different in JBoss 3.2.5?