[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message redelivery count and redelivery interval...

2005-07-20 Thread schrouf
You can configure this within your destination definition e.g. | | | | | jboss.mq:service=DestinationManager | jboss.mq:service=SecurityManager | | 1 | | -1 | | | Regards Ulf View the original post : http://www.jboss.org/inde

[JBoss-user] [JNDI/Naming/Network] - Re: Problem in porting of Swing/ jboss app from Jboss-3.2.2

2005-07-20 Thread Biswojit
Hi darranl, Thanks for your reply. Here is the stack trace javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID = 3289509836244263718, local class serialVersionUID = 692642194650

[JBoss-user] [Beginners Corner] - Directory Path Mapping in JBoss

2005-07-20 Thread techie_techie
I am porting an exisiting web application to J2EE. I have a HTML file which has a JS/Images/CSS file includes (/dir/css/)something like below : In existing system which runs on WindWeb Web server, I ha

[JBoss-user] [Installation, Configuration & Deployment] - cannot use mssql-get-generated-keys

2005-07-20 Thread harappa75
Hi, I have sqlserver 2000 so I need to use "mssql-get-generated-keys" I added the following to standardjbosscmp-jdbc.xml and in my beans I added * @ejb:pk class="java.lang.Integer" *generate="false" * @jboss.unknown-pk class="java.lang.Integer" * auto-increment="true" * * @jboss.

[JBoss-user] [Messaging, JMS & JBossMQ] - Message redelivery count and redelivery interval...

2005-07-20 Thread koganty
We are using JMS for intra server communication. How can I control the number of times the message is redelivered and the interval between those redelivery times ? Thank You, Raju View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885810#3885810 Reply to the po

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - PostgreSQL 8.0 + EJB2.1, bizarre NumberFormatException

2005-07-20 Thread Caidence
I have this weird exceptional problem where I do something really simple and I get a strange NumberFormatException. Can you help explain it? The Cast of Actors: SessionBean: ConfigurationManager EntityBean: Configuration EntityBean: ConfigurationParameter Configuration to ConfigurationManage

[JBoss-user] [Management, JMX/JBoss] - Custom MBean Deployment order

2005-07-20 Thread pmore
I have deployed my multithreaded application as a mBean and want to monitor it using JMX console. I started with JBoss minimal server with just my application.sar, tomcat sar and jmx-console.war. How do I make JBoss deployer go about deploying in the following order - 1)Deploy Tomcat service,

[JBoss-user] [Beginners Corner] - use "normal" class (POJP) that inherits from an external cla

2005-07-20 Thread dan-b
Heya! Imagine the following structure: net.danb.example.src SessionBean.java Pojo.java de.dtnet.example Abstract.java SessionBean creates an instance of Pojo (a normal java class) which extends Abstract, also a normal java class. My ant task compiles everything under net.danb.example.

[JBoss-user] [Installation, Configuration & Deployment] - Re: why to use jboss.xml ?????

2005-07-20 Thread paulofe
dear darranl,,, you sad "The jboss.xml deployment descriptor is for setting JBoss specific configuration for your deployments" but what "specific configuration " you refer thanks a lot for your help!!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38857

[JBoss-user] [JBoss Portal] - Re: Document management functionality?

2005-07-20 Thread [EMAIL PROTECTED]
http://jboss.org/jbossBlog/blog/rrusso/?permalink=89437546793992884735F2695A62E529.txt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885780#3885780 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885780 --

[JBoss-user] [JBossCache] - Re: My two nodes won't stop arguing.

2005-07-20 Thread [EMAIL PROTECTED]
The members don't find each other. I suggest download JGroups and follow the instructions in INSTALL.html for troubleshooting. Use ViewDemo or Draw to see whether they find each other and form a group. Only after this is successful would I suggest to try JBossCache View the original post : http

[JBoss-user] [JBossCache] - Re: Clustered TreeCache as Hibernate second level cache - I

2005-07-20 Thread [EMAIL PROTECTED]
Why the RpcDelegatingCacheLoader ? I have just added it, and we don;t occifially support it yet ! Use a simple JDBCCacheLoader, similar to the tutorial (http://docs.jboss.com/jbcache/current/tutorial/html/, section 10.3). View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [EJB/JBoss] - Re: jboss.xml seems to be ignored in EJB 3?

2005-07-20 Thread platinumdragon
Thank you Darran, proxy.ejb3: | META-INF/ | META-INF/MANIFEST.MF | com/ | com/mycompany/ | com/mycompany/proxy/ | META-INF/jboss.xml | com/mycompany/proxy/DefaultProxy.class | The actual proxy interface is in a jar next to proxy.ejb3, called util.jar: | META-INF/ | META-IN

[JBoss-user] [JNDI/Naming/Network] - Re: NameNotFoundException: ejb local not found

2005-07-20 Thread harappa75
Hi, I shall cast it directly, I am getting a namenotfoundexception. I am trying to create a ear file now, so that I can remove the interfaces from my war file and have my ejb jar and war file in one ear file. Hoping that will solve my problem. The exception I get now is 13:05:20,331 INFO

[JBoss-user] [JNDI/Naming/Network] - Re: NameNotFoundException: ejb local not found

2005-07-20 Thread darranl
Ok, yes you can access the local interface from the web application. You will have to remote the PortableRemoteObject.narrow as you are not using a portable remote object, you are using a local object. Just cast the looked up object to the local home interface type. What is the error you get

[JBoss-user] [JNDI/Naming/Network] - Re: NameNotFoundException: ejb local not found

2005-07-20 Thread harappa75
Hi, My client is a java file in a webapp running on the same JBoss server, I thought I can use local interfaces if the server is same. Thats the way it works in weblogic so I assumed its the same here. Can you confirm that it is not the case and I do need to use remote interfaces. Rajesh J V

[JBoss-user] [JNDI/Naming/Network] - Re: classCastException while casting ejb Home's proxy.

2005-07-20 Thread darranl
Yes with JBoss 4.0.2 and onwards having the interfaces in the lib folder of the war will cause you problems. If you deploy your war packaged within an ear that also contains the jar of the beans, your web application will have access to the interfaces in the jar. View the original post : http:

[JBoss-user] [JNDI/Naming/Network] - Re: classCastException while casting ejb Home's proxy.

2005-07-20 Thread harappa75
I have my local and remote interface as jar in my web-inf/lib folder in my war file, will this still cause me problems. So If I remove the local and remote from my war file, how do I reference it? Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&

[JBoss-user] [JNDI/Naming/Network] - Re: NameNotFoundException: ejb local not found

2005-07-20 Thread darranl
When posting problems can you please make sure you post the correct error for the code you are showing. Local interfaces are for use localy within the application server JVM, you can not make use of them from remote clients. You will need to give your bean a home and remote interface and use t

[JBoss-user] [Installation, Configuration & Deployment] - Re: why to use jboss.xml ?????

2005-07-20 Thread darranl
The jboss.xml deployment descriptor is for setting JBoss specific configuration for your deployments, for the values in the jboss.xml JBoss assumes default values if nothing is set. You are not taking advantage of any JBoss specific configuration so you do not need the jboss.xml file so you can

[JBoss-user] [JNDI/Naming/Network] - NameNotFoundException: ejb local not found

2005-07-20 Thread harappa75
Hi, I have a session bean MRManagerBean and a few other beans.. in a mrejbs.jar when deploying I get .jca:name=EtsDataSource,service=DataSourceBinding to JNDI name 'java:EtsDataSource' [EjbModule] Deploying MarketingRequestItemShipments [EjbModule] Deploying MarketingRequests [EjbModule] Dep

[JBoss-user] [Installation, Configuration & Deployment] - why to use jboss.xml ?????

2005-07-20 Thread paulofe
hello everbody!! in my app i have web.xml: ... ejb/Funcionario_Session Session br.com.funcionario.session.FuncionarioHome br.com.funcionario.session.Funcionario Funcionario_Session my ejb-jar: Funcionario_Session br.com.funcionario.session.Funcionario

[JBoss-user] [EJB/JBoss] - Deployment error

2005-07-20 Thread [EMAIL PROTECTED]
Hello, I can't deploy beans (session or entity), I always get following error: java.lang.ClassNotFoundException: No ClassLoaders found for: at.bean.Person Here is a sample bean, I don't know what's wrong ... | import javax.persistence.Entity; | import javax.persistence.Id; | | @Entity

[JBoss-user] [EJB/JBoss] - Re: jboss.xml seems to be ignored in EJB 3?

2005-07-20 Thread darranl
Can you execute the command 'jar -tf proxy.ejb3' an post the output here. http://docs.jboss.org/ejb3/tutorial/index.html The tutorials above should confirm for you how JNDI bindings can be set. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885764#3885764 Re

[JBoss-user] [Beginners Corner] - Re: JBoss Service vs. EJB Application?

2005-07-20 Thread darranl
Can you explain what you mean by 'But EJBs can also be MBeans', EJBs and MBeans are two completely different things. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885763#3885763 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [EJB/JBoss] - found in jboss.xml but not in ejb-jar.xml

2005-07-20 Thread [EMAIL PROTECTED]
Okay, I am no novice, so I must be blind. I have the following simple jboss.jar http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> MDS6ClaimValidation jdbc/BankDB java:/DefaultDS com.carescience.ods.ejb.MDS6ClaimV

[JBoss-user] [Performance Tuning] - Re: Performance Tools

2005-07-20 Thread darranl
http://wiki.jboss.org/wiki/Wiki.jsp?page=MonitoringManagementAndProfilingTools View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885760#3885760 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885760 --

[JBoss-user] [JBoss Portal] - Login Name and Password

2005-07-20 Thread asif_technical
Hi ALL, I am new too Jboss Portal.I am doing customization where i need to know login name.How to get that. I used org.jboss.portal.server.impl.user.UserContextImpl.But I could not get this. Any Help? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885759#3

[JBoss-user] [Clustering/JBoss] - HA JNDI Configuration

2005-07-20 Thread dhunter21
Currently I have HA JNDI working in a cluster by hardcoding the properties, i.e.: | publicstatic InitialContext getHAInitialContext() throws NamingException { | if (props == null) { | props = new Properties(); | props.put(InitialContext.PROVIDER_URL, "jnp:/

[JBoss-user] [EJB/JBoss] - Re: jboss.xml seems to be ignored in EJB 3?

2005-07-20 Thread platinumdragon
Hmm.. Disappointing View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885755#3885755 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885755 --- SF.Net email is sponsored

[JBoss-user] [Beginners Corner] - Re: JBoss Service vs. EJB Application?

2005-07-20 Thread platinumdragon
But EJBs can also be MBeans. So, I guess what I'm asking is, what does an application get from being a JBoss service as opposed to just an EJB application? Thanks, Mike View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885754#3885754 Reply to the post : http

[JBoss-user] [Clustering/JBoss] - Re: Mixed OS Cluster.

2005-07-20 Thread DashV
I am also using a WindowsXP/Linux hybrid cluster... No problems whatsoever. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885747#3885747 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885747 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Dynamic Topic Creation

2005-07-20 Thread mcaughey
My Appologies. thanks for the direction. -Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885745#3885745 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885745 -

[JBoss-user] [JBossCache] - Re: Clustered Transactional Replicated TreeCache with single

2005-07-20 Thread swami_venkat
Hi Guys, I used JOTM and it works fine. Also considering that I used it in a web services context with Jetty being the HTTP Server We have synchronous replication...and no problems till now... I assume you are still on with the JDBCCacheLoader and there is always going to be one node w

[JBoss-user] [JBossWS] - Re: Axis getVersion webservice not working

2005-07-20 Thread Humperdink
I get this as welldoes anybody know what the problem is? - R View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885742#3885742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885742 ---

[JBoss-user] [Performance Tuning] - Performance Tools

2005-07-20 Thread tfdias
Hi , I'd like to know if exist any tools where I could measure the performance of my applications on JBOSS. tks Thiago. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885741#3885741 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to get a pooled JMS connection from Remote JBoss Con

2005-07-20 Thread umeshs79
Thanks for quick response. Can we access the remote JMS connection using java:/JmsXA.? I read somewhere that this is for in VM. please reply if we can use that I will use it. Thanks & Regards, Umesh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885739#3885

[JBoss-user] [Installation, Configuration & Deployment] - Unable to deploy ejb in ear file with classloading isolation

2005-07-20 Thread umeshs79
Hi, I want to deploy my war and ejb jar in a ear file with class loading isolation. It works fine if I do not specify class loading isolation in my jboss-app.xml. But If I specify classloading isolation it throws below exception. And I have onMessage method in my mdb. anonymous wrote : | 20

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS LoginModule NoClassDefFoundError

2005-07-20 Thread jaikiran
Check out the contents of your jar file using: jar -tf yourJar.jar Post the output View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885732#3885732 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885732

[JBoss-user] [Clustering/JBoss] - Re: No fail-Safe nor Load-Balancing

2005-07-20 Thread pkles
Well guysfinally I found the solution: The jboss.xml was on another folder than META-INF. Cheers! Pablo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885731#3885731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-20 Thread binario
Thanks James, if you could also post up the relevant section of your JBossService.xml file - ie, the transaction section, and if you could tell us if you get it working that would be great. Ps - is it for the hibernate second level cache? If so - watch out for having to turn on the querycache.

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Declarative Security does not work

2005-07-20 Thread kirillp
Yep, Andrea. That was it. Thanks for your help! Kirill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885728#3885728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885728 -

[JBoss-user] [EJB/JBoss] - Re: EJB QL Problem

2005-07-20 Thread fbiaggi
Hi, principalsSchema must be your EJB class name, not the table name. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885727#3885727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885727 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Old JMS out of threads error back again in 4.02??

2005-07-20 Thread kjetilod
I'm having this problem with 4.0.0, so I really would like to know if it's fixed before I upgrade. I couldn't find JBAS-1369 in any of the changelogs. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885726#3885726 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Clustering/JBoss] - Re: Caused by: javax.naming.CommunicationException: Failed t

2005-07-20 Thread vignesh76
Yup, I have added it there. Future JBoss versions could probably include that jar file in the "default" configuration. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885725#3885725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Security & JAAS/JBoss] - JAAS LoginModule NoClassDefFoundError

2005-07-20 Thread maniarkm
Hi, I have created a custom LoginModule called PasswordLoginModule and I have entered it in the login-config.xml I have added the policy file to the commandline options when starting JBoss in the run.bat. I am using the below code to authenticate a user. public boolean

[JBoss-user] [JBoss Portal] - Portal crashes when invoked

2005-07-20 Thread ssharman
Hi, I've tried to install Jbp 2.0 on a Powerbook (Mac OS X 10.4.2, JVM 1.4.2_07). I've tried using both the integrated download (AS4.0.2 and JBP 2.0), and also downloading AS4.0.2 and JP2.0 seperately. Each time, the server seems to start and the application seems to deploy without any problems

[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-20 Thread jameselliot
Binario, please see my latest post for config file, this however does not yet work. -James. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885721#3885721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885721 ---

[JBoss-user] [JBossCache] - My two nodes won't stop arguing.

2005-07-20 Thread jameselliot
I now have two servers running TreeCache as a hibernate 2nd level cache. The final aim is to have a synchronous replicated cache, each server has its own database and I hope to be able to write all data to both databases using TreeCache. Currently my two cache setups refuse to talk to each oth

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Declarative Security does not work

2005-07-20 Thread adellechiaie
Are you sure that you added the tag in the jboss.xml descriptor in you ejb layer deployment It seems that you didn't and so it will explain the behaviour you described. Let us know. Ciao Andrea View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885717#3885717

[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-20 Thread binario
Hi James, I'm currently trying to setup a replicated clustered cache across two jboss nodes aswell. I'm trying to use it for the second level cache in Hibernate. I'm getting a fair few problems as my post on this forum today shows. Can you tell me, have you been successful with this? If you cou

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Securing mod_jk1.2

2005-07-20 Thread Camron
I'm trying to determine if there is a way to secure the communication between Apache and JBoss. Apache is configured to handle https traffic to the servlets using mod_jk1.2 but I can't find any information on securing the ajp13 traffic. Does the ajp13 protocol even handle this? Is it at all poss

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Declarative Security does not work

2005-07-20 Thread jaikiran
Please post your roles.properties and user.properties file. Also, please explain the exact scenario View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885713#3885713 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885713 -

[JBoss-user] [JBossWS] - Help!Error: org.uddi4j.transport.TransportException

2005-07-20 Thread Christy
Hello, I wanted to publish a business in IBM Test Registry, I used uddi4j. But I have such error: TransportFactory: Using transport name:org.uddi4j.transport.ApacheSOAPTransport Request body: org.uddi4j.transport.TransportException: Unsupported response content type "text/html", must be: "tex

[JBoss-user] [Beginners Corner] - Securing ajp13

2005-07-20 Thread Camron
I'm trying to determine if there is a way to secure the communication between Apache and JBoss. Apache is configured to handle https traffic to the servlets using mod_jk1.2 but I can't find any information on securing the ajp13 traffic. Does the ajp13 protocol even handle this? Is it at all poss

[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-20 Thread jameselliot
Upgraded to latest version and the cache now starts up. Thanks, James. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885710#3885710 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885710

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Declarative Security does not work

2005-07-20 Thread kirillp
"no in the ejb-jar" should read "No unchecked in the ejb-jar" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885709#3885709 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885709 ---

[JBoss-user] [Security & JAAS/JBoss] - EJB Declarative Security does not work

2005-07-20 Thread kirillp
hello, I'm using JBoss-4.0.1RS1 The EJB declarative security does not work... I have the following entries in the ejb-jar file: | User | | MyEJBHome | * |

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

2005-07-20 Thread nguyenht
I've same problem. I tried with *4 and *5. The same pro exists. Some one help me ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885703#3885703 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885703 -

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-20 Thread Cinimod
it works...i typed WiseSessionLocalHome instead of WiseSessionHomeLocal. Thanks for your good advices! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885701#3885701 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885701

[JBoss-user] [Management, JMX/JBoss] - Re: Unable to execute methods on MBean proxy

2005-07-20 Thread eldiosyeldiablo
Changing the name of the service in the jboss-service.xml file was the solution to my problem. Though I don't know why that was the problem. When I did the ObjectName lookup I tried both "com.relevant:service=E3Settings" and also "com.relevant:name=E3Settings" Thanks for the help, David View

[JBoss-user] [Management, JMX/JBoss] - Re: Problem with SAR file

2005-07-20 Thread fredatwork
Hello, I understood what the problem was. Sorry for the disturbance. For future readers : The 'defaut' config contains file jbossjca-service.xml which declares the CachedConnectionManager MBean. Furthermore, JBoss deploys sar files BEFORE *-service.xml files. See Wiki. This fully explains why

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-20 Thread Cinimod
ok, here are all the relevant deployment descriptors - updated: part of ejb-jar.xml | |WiseSessionBean |beans.session.WiseSessionHomeLocal |beans.session.WiseSessionLocal |beans.session.WiseSessionBean |Stateful |Container | | | jboss.xml:

[JBoss-user] [JNDI/Naming/Network] - Re: JNDI Look up returns null on Hibernate session factory

2005-07-20 Thread [EMAIL PROTECTED]
Ah, just looked at the source code that is attached on that Wiki page and it is wrong. Specifically, two things you need to change in the org.jboss.hibernate.jmx.Hibernate class: 1) in the getProperties() method, remove the line: setUnlessNull(props, Environment.SESSION_FACTORY_NAME, sess

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-20 Thread Cinimod
is the name of my jar where i put the bean classes in, of importance? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885694#3885694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885694 -

[JBoss-user] [EJB/JBoss] - Re: Can not find javax.ejb.Stateless anywhere in Jboss

2005-07-20 Thread e_arizon_benito
(Answering myself) Not easy to find but it really was there in $JBOSS_HOME/server/default/deploy/ejb3.deployer/jboss-ejb3x.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885693#3885693 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Javassist user questions] - Re: Generating source code in adition to class files

2005-07-20 Thread hlovatt
@genman, Thanks for the tip - I will give jode a try View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885692#3885692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885692 ---

[JBoss-user] [JBossCache] - Clustered TreeCache as Hibernate second level cache - I give

2005-07-20 Thread binario
Hi all (especially Bela :-) ), I've spent the following week trying to get TreeCache setup across a two node cluster on JBoss. The two nodes are setup to access a single oracle database. We are using hibernate 2.1 on the two nodes and we wanted to use TreeCache as the second level cache in hibe

[JBoss-user] [EJB/JBoss] - Can not find javax.ejb.Stateless anywhere in Jboss

2005-07-20 Thread e_arizon_benito
My first try on an Stateless EJB3 Session Bean: | @Stateless public class MyStatelessClassBean implements MyStatelessClass { | ... | } | But when trying to import javax.ejb.Stateless I can't find it in $JBOSS_HOME/server/default/lib or anywhere around.(I'm using jboss_4.0.3RC1.)

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss->Tomcat->servlet & ejb compilation

2005-07-20 Thread darranl
Add the file {jboss.home}/client/jbossall-client.jar to the classpath that is used by the javac target in your ant build script. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885684#3885684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [JNDI/Naming/Network] - Re: classCastException while casting ejb Home's proxy.

2005-07-20 Thread sengupta.surajit
Thanx a lot Darranl. U identified the problem rightly. The problem was with packaging. As per the document I packaged the interface classes with the war of the servlet. But that was wrong. Now that I removed the interfaces from the war it is running fine. View the original post : http://www.jb

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss->Tomcat->servlet & ejb compilation

2005-07-20 Thread deepak.novell
hi, i am deepak mishra. i am working on java technology.now i am using JBoss server for j2ee deployment. i already set the path from jboss for j2ee class file for servlet and ejb compilation.when i am going to "ANT".lot of compilation error comes like import java.ejb.EJBHome not found. javac co

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-20 Thread darranl
If you are using and the jar and war are in the same ear you do not need to add the to the jboss-web.xml - Just leave this out and the name of the bean will be used to locate it. Are you getting any other errors on deployment, I have just noticed that you have a number of CMP specific element

[JBoss-user] [Management, JMX/JBoss] - Problem with SAR file

2005-07-20 Thread fredatwork
Hello, I have trouble setting up a sar file. Please note that I'm not too familiar with these king of deployment file yet. My sar file contains a META-INF/jboss-service.xml file as well as an scheduler_ejb.jar file. The jboss-service.xml file starts a Quartz scheduler (allowing my applications

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dike's Bank example - build failed

2005-07-20 Thread nguyenht
Great ! i've same problem. Some one add this comment to Getting Start for JBoss AS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885678#3885678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885678

[JBoss-user] [JNDI/Naming/Network] - Port 1098 is taken

2005-07-20 Thread kannaiyanbalaji
Hi, JBoss while starting looks for this rmi port. But in netstat it shows that 1098 connection is already established? Because of this server is not starting up at all... The exact message I get is: java.rmi.server.ExportException: Port already in use: 1098; nested exception is: java.

[JBoss-user] [JBossWS] - Re: where is JbossWS???

2005-07-20 Thread Christy
Hi, I have JBoss 4.0.1 and JbossWS is there. Try to download it. About wscompile: you must download jwsdp-1.6 and in jaxrpc -> bin you'll find wscompile.bat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885676#3885676 Reply to the post : http://www.jboss

[JBoss-user] [JBossWS] - Please Help!Error publishing business in JUDDI

2005-07-20 Thread Christy
Hi, I have jUDDI in JBoss4.0.1 configured the same manner as in WIKI JAXR.I have a small simple Java client and I'm trying to publish a business to the jUDDI. But I'm getting an error: The AXIS engine could not find a target service to invoke! targetService is null at org.uddi4j.UDDIElement.(U

[JBoss-user] [EJB/JBoss] - Re: EJB2.0 and JBoss4.0.2

2005-07-20 Thread coca
Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885673#3885673 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885673 --- SF.Net email is sponsored by: Discover

[JBoss-user] [JBossCache] - Re: Clustered Transactional Replicated TreeCache with single

2005-07-20 Thread binario
Hi Bela, sorry for not getting back to you sooner on this. We have been busy figuring out what's going on. Firstly, the application we ran is on a two node JBoss cluster where each node has an Updater task and a Reader task which both "update" or "read" the same 1000 entries in the same databa

[JBoss-user] [JNDI/Naming/Network] - Re: classCastException while casting ejb Home's proxy.

2005-07-20 Thread darranl
Have you packaged the interface classes of your session bean within the war of the servlet? If so these need to be removed as that will be the cause of the error. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885670#3885670 Reply to the post : http://www

[JBoss-user] [JNDI/Naming/Network] - Re: Problem in porting of Swing/ jboss app from Jboss-3.2.2

2005-07-20 Thread darranl
Have you made sure that the Swing application is configured to use the jars from JBoss 4.0.2 instead of the jars from JBoss 3.2.2. If this is not the problem could you please post the exception (including stack trace) here. View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-20 Thread darranl
What are you using to create your jar file? I use Ant to create all of my archives to the project structure is not too important, the jar ant target can be configured to pull contents from different locations correctly. View the original post : http://www.jboss.org/index.html?module=bb&op=view

[JBoss-user] [EJB/JBoss] - Re: Error in accessing application metadata

2005-07-20 Thread darranl
Yes that is a known issue, it no longer exists in the 4.0.3RC1 release so when the final release is made the problem will be resolved. http://jira.jboss.com/jira/browse/JBAS-1262 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885667#3885667 Reply to the post

[JBoss-user] [EJB/JBoss] - Re: EJB2.0 and JBoss4.0.2

2005-07-20 Thread darranl
Yes JBoss 4.0.2 still supports EJB2.1 the EJB3.0 is in addition to the current functionality not a replacement. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885666#3885666 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [JBoss Portal] - Re: Configuration of NODESK layout/theme?

2005-07-20 Thread gruenewa
An additional point is that NODESK layout is somewhat hardwired in the portal core. If I do configure the layout by editing the stylesheet I lose it I install a new Version of JBP. In contrast: A plugable layout/theme like 'demoLayout' can be deployed to the new JBP2 installation and all is fine

[JBoss-user] [EJB/JBoss] - EJB2.0 and JBoss4.0.2

2005-07-20 Thread coca
Hello I read JBoss 4.0.2 support EJB3.0, but i would like to know if i can use it to make EJB2.0. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885658#3885658 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [EJB/JBoss] - EJB2.0 and JBoss4.0.2

2005-07-20 Thread coca
Hello I read JBoss 4.0.2 support EJB3.0, but i would like to know if i can use it to make EJB2.0. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885657#3885657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Management, JMX/JBoss] - Re: Unable to execute methods on MBean proxy

2005-07-20 Thread [EMAIL PROTECTED]
| ... | // MBeanServer server = MBeanServerLocator.locateJBoss(); | MBeanServer server = ManagementFactory.getPlatformMBeanServer(); | You probably look in the wrong MBeanServer. Use the MBeanServerLocator, it's commented out in your code. View the original post : http://www.jboss.org

[JBoss-user] [JBoss Portal] - Re: how to customize User portlet

2005-07-20 Thread javatwo
Hi Julien, Can I plugin something(a module) to make the UserPortlet support both personal and business account? The current UserPortlet is for personal account. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885653#3885653 Reply to the post : http:/

[JBoss-user] [Installation, Configuration & Deployment] - Sockets not serviced properly on app side (mod_jk used)

2005-07-20 Thread zapruder11
I'm new to this forum. So if I should be posting elsewhere just let me know. We're experiencing timeouts in our web apps. We're using apache with mod_jk to front JBoss. Many of the mod_jk connections get "stuck". Issuing netstat on the JBoss server shows dozens of port 8009 ajp13 connections

[JBoss-user] [JNDI/Naming/Network] - classCastException while casting ejb Home's proxy.

2005-07-20 Thread sengupta.surajit
Hi All, I'm getting a classCastException when I'm casting a ejb Proxy to a home. Please help me out, I'm stuck badly. The details are given below: I am using the following versions of the softwares JDK : j2sdk1.4.2_04 JBOSS: jboss-4.0.2 Eclipse: 3.0.1 JBossIDE eclipse Plugin: 1.4.1.e30

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-20 Thread acardeiradias
I solve my problem. I find how to do that. I leave here my solution, because this could help other people. 1- Create a session bean that implements Schedulable. 2- Implements the method "perform" and put there the code to be executed by Scheduler 3- create a jboss-service.xml and put this file i

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: n:m is not used

2005-07-20 Thread Smilidon
this topic is similar but dont solve my problem: http://www.jbossgroup.com/index.html?module=bb&op=viewtopic&t=50729 some more code: roles in my ejb-jar.xml | | | Report-Role | | | Report-has-Roles | Many | |

[JBoss-user] [Installation, Configuration & Deployment] - Re: accessing a web app in jboss

2005-07-20 Thread BI-Chris
By default, this should be server-name:8080/ServletName For Example localhost:8080/Fibo/ for the Tutorial But I think you can change that with some config Files, which I assume you haven't done. You can also see what the web-console tells you. Try localhost:8080/web-console/ and have a look at

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

2005-07-20 Thread vashistvishal
I'm not sure about eclispe as u might be using some plugin like wtp or JBoss IDE. You will have to check what settings/configurations needed for that. In JBoss you can deploy remotely. What you have to do is to goto anonymous wrote : conf/jboss-service.xml file Look for... | org.jboss.deploym