[JBoss-user] [Installation & Configuration] - Loading resources that are not part of the J2EE application

2005-02-08 Thread karink
Hi, I try to load property files and other resources from a directory that is not part of my J2EE application. Resources are not packaged inside a jar file I did the following configuration: Deployment is made via JMX by means of addUrl of the DeploymentScanner. The deployed directory looks like

[JBoss-user] [JBossWS] - Re: Creating Webservice from WSDL

2005-02-08 Thread Andy_Wagg
I used wscompile to create the jaxrpc-mapping.xml using the following option to wscompile, -mapping ${src.dir}/WEB-INF/jaxrpc-mapping.xml My wsdl was also a .NET document literal and had multiple parameters to the operations, so i also had to use the following wscompile option, -f:wsi The fin

[JBoss-user] [JBoss.NET] - Re: javax.naming.NameNotFoundException

2005-02-08 Thread wolfc
The jndi-name from web-service.xml doesn't match the jndi-name from the SessionBean xdoclet tags. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865843#3865843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865843 --

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread [EMAIL PROTECTED]
Go to the j2eetutorial14 directory and unzip jbossj2ee-src.zip INSIDE that directory. As in: | [EMAIL PROTECTED] orb]$ cd /tmp/j2eetutorial14/ | [EMAIL PROTECTED] j2eetutorial14]$ unzip /tmp/jbossj2ee-src.zip | ... lots of output deleted ... | [EMAIL PROTECTED] j2eetutorial14]$ # edit

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS and httpsession

2005-02-08 Thread leeson1125
"sj_bennett" wrote : Actually, I don't think that this is a JAAS issue at all. I think that the 2 IE windows share the session information on a single user computer. The 2nd window should not require a login at all. | steve Not exactly: If there is one username "Admin", and one user login as

[JBoss-user] [Beginners Corner] - Re: jUDDI part of JBoss 4.0?

2005-02-08 Thread mackenna
Hi Anil I have used UDDI4J successfully to register organizations in the directory. Will get back to the Scout implementation once I am done with the UDDI4J client implementation. Thank you for the tips. Mackenna View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [Security & JAAS/JBoss] - Re: Security Propagation between JVM's

2005-02-08 Thread mklaver
After hours and hours of evaluating the differences between the two applications I found the difference that caused the problem. To use the ClientLoginModule of JBoss in Tomcat you need to add the jbossall-client.jar in your classpath. I did that, but I also had this library in WEB-INF/lib of my

[JBoss-user] [Beginners Corner] - JBoss 4.0 and struts 1.0

2005-02-08 Thread pittupgd
Hi All, I am using JBoss 4.0 and struts1.0. My ear is getting deployed properly but when I give the following url http://localhost:8080/userLogin.jsp it gives me the following error org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread khoa
"[EMAIL PROTECTED]" wrote : To use the getting started guide, try: | | jboss-4.0.1 | Sun J2EE tutorial update 4 | Getting Started Guide release 3 | | First install JBoss then unpack the J2EE tutorial. Next, go to j2eetutorial directory and unpack the jbossj2ee-src.zip file. Then th

[JBoss-user] [Installation & Configuration] - "Error reading descriptors" is shown starting "all" server

2005-02-08 Thread anil007
Problem: "Error reading descriptors" is shown starting "all" server jboss4.0.1. Steps: 1. Go to command prompt & type: run -c all 2. it gives the exception "Error reading descriptors" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865835#3865835 Reply to th

[JBoss-user] [Installation & Configuration] - Error reading descriptors

2005-02-08 Thread anil007
11:26:31,343 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.1/server/all/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/ 11:26:32,656 ERROR [MbeansDescriptorsIntrospectionSource] Error reading descriptors java.lang.NullPointerException at org.apache.commons.modeler.modules.M

[JBoss-user] [EJB/JBoss] - query

2005-02-08 Thread prashanthkumar
I am using jboss-4.0.0. ejbLoad() method is called every time when i called remote method from client. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865832#3865832 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865832

[JBoss-user] [Management, JMX/JBoss] - Re: Help cannot datasource from Schedulable

2005-02-08 Thread frenchmb
Ignore forgot the java: prefix brain dead. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865831#3865831 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865831 --- S

[JBoss-user] [Management, JMX/JBoss] - Help cannot datasource from Schedulable

2005-02-08 Thread frenchmb
Hi, I have written a schedulable class which requires a database connection but everytime I try to get it via JNDI with jdbc/Smd4 a naming exception is thrown. Do i need a resource ref in the jboss-service.xml? Cheers Mark View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread [EMAIL PROTECTED]
You don't need to configure the build.xml file. You need to use the jboss-build.xml file in the getting started guide code. It really does work and there is no magic to making it work. Put the JBoss with the sun code and follow the instructions in the getting started guide. View the origina

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread khoa
"[EMAIL PROTECTED]" wrote : To use the getting started guide, try: | | jboss-4.0.1 | Sun J2EE tutorial update 4 | Getting Started Guide release 3 | | You suggested following the Getting Started Guide release 3 tutorial. Am I using the correct one then? Or is it worthwhile for me to

[JBoss-user] [Beginners Corner] - Re: Where do you put .jar files?

2005-02-08 Thread ramjav
Thank you, darranl. That's very helpful. However, what I am asking is that say you have THAT jar file in the correct directory and say you have another .jar file that you've previously created that you want to call from the bean implementation where do you put it? In the lib directory of jb

[JBoss-user] [Installation & Configuration] - How to map external files outside jboss folder

2005-02-08 Thread holyhail
Hi guys, How can i map external files outside jboss? For example, the files I want to access is in C:/External_Files/. So if i am testing it in my localhost, the url would still be http://localhost:8080/project/file.pdf and not C:/External_Files/file.pdf. Many thanks. View the original post

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread [EMAIL PROTECTED]
Obviously the 3.2 getting started guide is not the correct choice. The getting started guide explains how to build, and you'll notice that every ant command has "-f jboss-build.xml". The jboss build targets are all in jboss-build.xml. View the original post : http://www.jboss.org/index.h

[JBoss-user] [Security & JAAS/JBoss] - Re: Basic problem with HTTPS

2005-02-08 Thread sj_bennett
Mine works and this is what is in my server.xml file. | Then I don't use the ':8443' on the URL string. I do this because using port 8443 didn't work through our firewall. steve View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865824#3865824 Reply

[JBoss-user] [Security & JAAS/JBoss] - Re: Basic problem with HTTPS

2005-02-08 Thread pemorob
I tried that but with no success. Rob View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865823#3865823 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865823 --- SF em

[JBoss-user] [Security & JAAS/JBoss] - Re: Basic problem with HTTPS

2005-02-08 Thread sj_bennett
Try this: The keystore should go in D:\jboss-3.2.3\server\default\conf Then your path to the keystore file should be keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore" steve View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865822#3865822 Reply to th

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS and httpsession

2005-02-08 Thread sj_bennett
Actually, I don't think that this is a JAAS issue at all. I think that the 2 IE windows share the session information on a single user computer. The 2nd window should not require a login at all. steve View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865821#38

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread khoa
"[EMAIL PROTECTED]" wrote : To use the getting started guide, try: | | jboss-4.0.1 | Sun J2EE tutorial update 4 | Getting Started Guide release 3 | | I obtained JBoss Getting Started Guide 3.2.x from http://www.jboss.org/docs/index However, it does not seem to correspond to Sun J2E

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Help needed creating an MDB Container for WebSphere MQ X

2005-02-08 Thread [EMAIL PROTECTED]
It would be helpful to know which WIKI post you are talking about? i.e. post the link The mdb works in the following fashion: ConnectionConsumer (WSMQ) -> ServerSessionPool (org.jboss.jms.asf) -> JMSContainerInvoker (org.jboss.ejb.plugins.jms) -> MDB instance (your code here) You could instead

[JBoss-user] [JCA/JBoss] - Re: DataSource cannot be found by JNDI-Name

2005-02-08 Thread [EMAIL PROTECTED]
Moderated: FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865813#3865813 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865813 --- SF email is sponsored by - The

[JBoss-user] [JCA/JBoss] - Re: No suitable driver

2005-02-08 Thread [EMAIL PROTECTED]
And your connection-url is pants (a technical term meaning broken :-). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865812#3865812 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865812 --

[JBoss-user] [Beginners Corner] - How do I define JNDI in order to call the session bean from

2005-02-08 Thread ngoclongy2k
hi, How should I define the JNDI name in descriptor file ? And which file should I modify the JNDI name ? Thank you very much for your help. ngoclongy2k View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865811#3865811 Reply to the post : http://www.jboss.o

[JBoss-user] [JCA/JBoss] - Re: How to get the native Oracle Connection

2005-02-08 Thread [EMAIL PROTECTED]
Moderated: FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865810#3865810 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865810 --- SF email is sponsored by - The

[JBoss-user] [Beginners Corner] - How can a Servlet call an session bean ?

2005-02-08 Thread ngoclongy2k
hi, I am new in JBoss. And I wonder how can I call an session bean from a servlet ? If you can post the description XML, that will be really great. Do you have any website to show example codes ? Thank you very much in advance and your time. ngoclongy2k View the original post : http://www

[JBoss-user] [JCA/JBoss] - Re: INSERT never rolls back

2005-02-08 Thread [EMAIL PROTECTED]
Moderated FAQ: Use a database/table implementation that actually supports transactions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865808#3865808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865808

[JBoss-user] [JCA/JBoss] - Re: Secure DataSource connection informations

2005-02-08 Thread [EMAIL PROTECTED]
Moderated: RTFM View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865807#3865807 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865807 --- SF email is sponsored by - Th

[JBoss-user] [JCA/JBoss] - Re: Cursor and Jboss-?????

2005-02-08 Thread [EMAIL PROTECTED]
This is NOT the Oracle jdbc driver support forum. Google is your friend: http://www.google.com/search?hl=en&lr=lang_en&safe=off&q=SQL+Types.OTHER+oracle+%22Invalid+column+type%22&btnG=Search Why you haven't already done this is beyond me. View the original post : http://www.jboss.org/index.html

[JBoss-user] [JCA/JBoss] - Re: multiple inbound resource adapter instances

2005-02-08 Thread [EMAIL PROTECTED]
Moderated: Ignored due to lack of information. Logging, config files, etc. Please anything except "IT DOES NOT WORK". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865804#3865804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

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

2005-02-08 Thread Praline
I just find velocity: http://jakarta.apache.org/velocity/ If there are some other it will be great but Velocity seems to be very nice. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865801#3865801 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Beginners Corner] - Re: Where do you put .jar files?

2005-02-08 Thread darranl
Assuming your jar file contains: - The bean implementation. The remote interface (And / Or possible local interface). The home interface (And / Or possible the local home interface) And the ejb-jar.xml in the META-INF folder. If you started JBoss with the run script with no arguments. Put the ja

[JBoss-user] [HTTPD, Servlets & JSP] - Template engine

2005-02-08 Thread Praline
Hello, I'm new in servlet. Before I was used to use PHP with a template engine named SMARTY. I just want to know if there are some template engine like SMARTY but for servlet. It can help to manage multi design web site. Thank a lot. View the original post : http://www.jboss.org/index.html?mo

[JBoss-user] [Installation & Configuration] - Re: no META-INF/application.xml found on new deployment

2005-02-08 Thread darranl
Gemerally if you are copying a large file (Even on the same partition), every byte needs to be copied to the new file - the file appears before the copy is complete which is why JBoss is raising an error. If instead you move the file to a different location on the same partition, there is no ne

[JBoss-user] [Beginners Corner] - Re: Where do you put .jar files?

2005-02-08 Thread ramjav
I guess what I am trying to do is write a simple session ejb where the implementation (bean part) calls a framework that I made (jar file). I just want to know where to put this jar file. Does that make sense? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-user] [Management, JMX/JBoss] - possible to tell JBoss when it's ok to accept client connect

2005-02-08 Thread khohl
My application contains a servlet with an init() method that can take quite a while (could be minutes) to complete. I want to prevent JBoss from being used by clients until it is complete. The rest of my application consists of a set of stateless session EJBs and I don't want clients to be abl

[JBoss-user] [JBossWS] - Creating Webservice from WSDL

2005-02-08 Thread ranaaich
Hello All, I have read several threads in this forum (JBossWS). Previously I wrote web-service using JBoss.net. However we have decided to rewrite it using JBossWS. Previously I was using WSDL2Java tool from Axis - Now as recomended by JBOSSWS I intend to use wscompile to generate the service'

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSPs not compiling with JBOSS 3.2.5(Tomcat5.0) on Solari

2005-02-08 Thread dsbernie
Also, I am using JDK 1.4.2 and the Solaris box is an Old Sparc Ultra 5. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865792#3865792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865792 --

[JBoss-user] [EJB/JBoss] - remote call from jboss 4.0.1 (client) to jboss 3.2.3 (server

2005-02-08 Thread madeonmoon
hello all, i have a session bean deployed under jboss 3.2.3 and i am trying to call it remotely from a session bean deployed under jboss 4.0.1. i am getting javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: s

[JBoss-user] [HTTPD, Servlets & JSP] - JSPs not compiling with JBOSS 3.2.5(Tomcat5.0) on Solaris 8

2005-02-08 Thread dsbernie
When JBoss is launched everything starts fine but when I hit my first .jsp page I just see the white page before the .jsp is compiled and then rendered to the browser. The jsp never is compiled by jasper. I have checked the work directory and a _jsp.java file is created but it is size of 0.

[JBoss-user] [EJB/JBoss] - Jboss/Hibernate accessed from Coldfusion

2005-02-08 Thread tlh1005
Hi, I have JBoss 4.0.1RC1 sitting on one machine and ColdfusionMX7 sitting on another. I have a har deployed on Jboss as well as a session ejb to act as a DAO. Now all of these things work fine when I access the har or the DAO from a java client. I can access the DAOejb from a ColdFusion page,

[JBoss-user] [Management, JMX/JBoss] - Initial Start Date for startup class

2005-02-08 Thread kongdy
Hi, I am trying to write a MBean startup class to startup my ejb scheduler when deploy. In my MBean class, I have protected void startService() throws Exception { ... timer.initializeTimer(getFirstDate(), getInterval(), getName()); } My question is, what value do I put for the attribu

[JBoss-user] [EJB/JBoss] - Reagrding Custom Container Interceptors

2005-02-08 Thread vainq
Hi, I have written a custom client interceptor and have included that in the interceptor stack in the jboss configuration for CMP entity bean related container Configuration. I was thinking that the interceptor would be instantiated only once in a container. However, the create() method of the

[JBoss-user] [Clustering/JBoss] - Re: state replication of non-serializable fields

2005-02-08 Thread keyurva
Thanks for your reply... I'll try the interceptor approach... Do you have thoughts into what the workflow of this interceptor should be like? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865785#3865785 Reply to the post : http://www.jboss.org/index.html?mo

[JBoss-user] [Security & JAAS/JBoss] - Best Practices

2005-02-08 Thread john_anderson_ii
I'm writing an application that I plan on securing with JAAS. The application's user will be authenticating/authorizing against a SQL database. I need a bit more functionality than provided by org.jboss.security.auth.spi.DatabaseServerLoginModule. Is it workable to extend DatabaseServerLogin

[JBoss-user] [EJB/JBoss] - Tomcat & JBoss EJB question

2005-02-08 Thread [EMAIL PROTECTED]
CAN SOMEBODY TELL ME WHY objRef IS NULL? Configuration Tomcat 5.0.28 single instance running outside of JBOSS on 8080 + Web application running on this instance + This is the EJB client JBoss 4.0.1 running with Tomcat on 9090 | InitialContext ic = new InitialContext(); | Object objRef = ic.l

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss and struts

2005-02-08 Thread bamajob.nl
I searched everywhere and I still don't found how to solve the problem. Does somebody know if it is a bug? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865777#3865777 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=386

[JBoss-user] [Javassist user questions] - Re: Get a private final static field

2005-02-08 Thread dechamps
Thanks you Chiba, I'll do my best with the low-level API I have tried the solution you give. My field private final static String JDEdoc was created thru javassist using a static initializer. Here under the output I obtain trying to get the value of JDEdoc in the class bytecode. According

[JBoss-user] [Security & JAAS/JBoss] - Re: principal=null even if request.getUserPrincipal() does n

2005-02-08 Thread bamajob.nl
I think it is a bug in Jboss. I have the someproblem. After authentication IsUserInRole always returns false. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865774#3865774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[JBoss-user] [Installation & Configuration] - Re: no META-INF/application.xml found on new deployment

2005-02-08 Thread [EMAIL PROTECTED]
Deployment has to be an atomic operation. If your copying large files then copy it to an ignored name (x.ear.bak) and then move it to the deployable name (x.ear). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865772#3865772 Reply to the post : http://www.j

[JBoss-user] [Advanced Documentation] - Server/all - Server/default - Server/minimal

2005-02-08 Thread cberrouard
Hi, I am a junior with JBoss. First, I want to know, if we can use others directories Server/all - default - minimal. If yes, how do I prodeed to make and use my own drectories. Second, it is possible to have his own application directory to deploy many applications. I means, I want to deploy

[JBoss-user] [Installation & Configuration] - Re: no META-INF/application.xml found on new deployment

2005-02-08 Thread dhill
The ear is 22mb and if we copy over then it deploys correctly, any thought ? don View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865767#3865767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865767 ---

[JBoss-user] [Management, JMX/JBoss] - Re: Getting attribute change notifications

2005-02-08 Thread [EMAIL PROTECTED]
The easiest way to do it, is write an MBean that extends ListenerServiceMBeanSupport: http://www.jboss.org/wiki/Wiki.jsp?page=ListenerServiceMBeanSupport And configure it's subscription list to receive the notifications you are interested in: http://www.jboss.org/wiki/Wiki.jsp?page=Subscriptio

[JBoss-user] [JBoss Getting Started Documentation] - restarting a specific EAR file

2005-02-08 Thread caesarkim
i have been reading documentation, but i am just wondering if I can restart a specific EAR file without deploying EAR file. it would be great if someone can tell me how to do it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865759#3865759 Reply to the post

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

2005-02-08 Thread sguy_yugs
Thank a lot. Works great now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865757#3865757 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865757 --- SF email is sp

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HAJMS and Oracle TAF

2005-02-08 Thread [EMAIL PROTECTED]
I don't want to know what you "*think* is going on". I want to see what *is* going on from the logging. "JBoss console is dead" . If you mean the jmx console, this is just Tomcat with no interaction on the database. If I understand you correctly, this probably means your JVM has crashed (assumi

[JBoss-user] [Beginners Corner] - how to config to make the transaction work?

2005-02-08 Thread yetang
hi, i am using jboss 3.2.5, mysql 4.0, Eclipse 2.1, lomboz 2.1, xdoclet i dont know why the operation(insertUser) does not roll back even i call setRollbackOnly(). /** * @ejb.interface-method * @ejb.transaction type="Required" */ public void processPass (Hashtable order) throws Exception {

[JBoss-user] [Beginners Corner] - Re: Faster EJB Development without redeploying ?

2005-02-08 Thread danconde
Have you ever tried JBoss IDE for Eclipse ? Using it, your EJBs are updated when you save the methods (well, sometimes it doesn't work...), without redeployment... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865749#3865749 Reply to the post : http://w

[JBoss-user] [EJB/JBoss] - Re: problem deploying IIOP entity bean

2005-02-08 Thread danconde
I never tried to set entity beans to use IIOP invoker, only session beans. And, as happened to you, it worked. I don't have any clue of what you have to do to make them work, but, can't you use a session faƃade for you entity beans ? View the original post : http://www.jboss.org/index.html?mod

[JBoss-user] [Persistence & CMP/JBoss] - Re: Auto generating keys in MsSQL Server

2005-02-08 Thread sbrytskyy
Your jbosscmp-jdbc.xml file must look like: java:/MsSQLDataSource MS SQLSERVER2000 Customer CUSTOMER id lastName firstName java.lang.Long id

[JBoss-user] [EJB/JBoss] - Re: Transaction Manager

2005-02-08 Thread danconde
> Doesn't this problem make the default TM unusable > in a production environment??? The default TM is unusable (or, at least, is not safely usable) when you have a transaction that must be propagated to other servers, or a transaction that uses more than one XA resource. View the original po

[JBoss-user] [JBossWS] - Re: Collections as return types

2005-02-08 Thread javajedi
Grr. "Returns Collection < CustomType > " View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865742#3865742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865742 --- SF

[JBoss-user] [JBossWS] - Re: Collections as return types

2005-02-08 Thread javajedi
Sorry, that should have read "returns Collection" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865741#3865741 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865741 ---

[JBoss-user] [JBossWS] - Collections as return types

2005-02-08 Thread javajedi
I have an EJB that I'm working on exposing as a web service. One of my methods returns Collection, where CustomType is a POJO JavaBean. When I run this through wscompile, it complains: Collection types are not supported in literal mode - Type: "java.util.Collection" I'll admit I'm a newbie t

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss

2005-02-08 Thread [EMAIL PROTECTED]
To use the getting started guide, try: jboss-4.0.1 Sun J2EE tutorial update 4 Getting Started Guide release 3 First install JBoss then unpack the J2EE tutorial. Next, go to j2eetutorial directory and unpack the jbossj2ee-src.zip file. Then things should be in sync. I wish we could make the p

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

2005-02-08 Thread [EMAIL PROTECTED]
Good catch. I didn't get client code checked back into CVS. The JNDI names changed. In addition, since the EJBs now have a security domain enabled by default, I added the necessary code to make allow the client application to preperly authenticate to the server. I've refreshed the code. Let

[JBoss-user] [JCA/JBoss] - multiple inbound resource adapter instances

2005-02-08 Thread jj_ht
Hi, Does anyone know how to make multiple instances of an inbound resource adapter work in JBOSS? I have one resource adapter inbound package (RAR), and has four endpoints (MDB) and each has its own activation properties defined, which means I want to have four resource adapter INSTANCES runni

[JBoss-user] [HTTPD, Servlets & JSP] - Re: configuring virtual hosts in jboss 4.0.1

2005-02-08 Thread madeonmoon
sorry about that. i saw that page but the jboss version ( JBoss3.2.4) threw me off. another question qhich i could not find teh answer for: how to configure different virtual hosts to run on different ports. i tried doing what worked in jboss 3.2.3 (my previous installation): creating my-serv

[JBoss-user] [Beginners Corner] - Re: Unable to load .properties file

2005-02-08 Thread fbiaggi
Hi, try: PropertyResourceBundle prs = new PropertyResourceBundle( Thread.currentThread( ).getContextClassLoader( ).getResourceAsStream( "my.properties" ) ); or add a / on the file name if it is on the files system (bin directory). View the original post : htt

[JBoss-user] [Beginners Corner] - Re: Missing conf directory?

2005-02-08 Thread [EMAIL PROTECTED]
I downloaded 3.2.6, started the script, and everything worked fine View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865730#3865730 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865730 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Help needed creating an MDB Container for WebSphere MQ XA Co

2005-02-08 Thread llivings
Hi, I've implemented the WebSphere MQ JMS provider as per the wiki and yes, as the wiki states, MDB's using an XA connection factory never receive messages from WSMQ. Unfortunately for me, I can't stop here. So I've begun the task of creating a MDB container invoker which will solve this prob

[JBoss-user] [Installation & Configuration] - Re: JSP compile with deprecation turned on

2005-02-08 Thread tool
Everyone, This one was all our fault. We had some conflicting JARs due to a recent integration with another product. The core JBoss JARs were replicated in multiple areas within the deploy directory. We removed these offending duplicate JARs and everything is back to operating as normal. For t

[JBoss-user] [Beginners Corner] - Missing conf directory?

2005-02-08 Thread [EMAIL PROTECTED]
Just downloaded jboss-3.2.7_jdk13.tar.gz; ran with "sudo sh ./run.sh -c all" and the server died with the message: Failed to boot JBoss: org.jboss.deployment.DeploymentException: url file:/var/opt/jboss-3.2.7/server/all/conf/jboss-service.xml could not be opened, does it exist? Checking ./serv

[JBoss-user] [Security & JAAS/JBoss] - Token generation on login

2005-02-08 Thread rworsnop
I would like to generate a token on successful password login, and then be able to use that token to access EJBs. I found this relatively straightforward to implement for a fat client: the client uses a LoginModule that generates a token, and then shares that token with ClientLoginModule, which

[JBoss-user] [JBoss Getting Started Documentation] - "MyCustomerController not bound" error with ant target "run-

2005-02-08 Thread sguy_yugs
I have successfully deployed the DukesBanking application. It works fine via the web interface. When I try to run the swing client, it fails to properly find the ejbs in the client's jndi space. I looked in the jmx-console and everything looks like it is registered. The server log looks fine

[JBoss-user] [JBossWS] - Re: My web services work in 4.0.0 but not in 4.0.1

2005-02-08 Thread Joel.Rosi-Schwartz
Thomas, I see via Jira that you have been working on this issue, thanks. I am not sure, though, whether or not the work arounds that you added are going to resolve the issue I reported in the first place. I appears to me that by leaving the checks in Mapping.java that I will still be getting th

[JBoss-user] [HTTPD, Servlets & JSP] - Re: configuring virtual hosts in jboss 4.0.1

2005-02-08 Thread [EMAIL PROTECTED]
Maybe a google search would have got u this. This question has been answered in the forums many times. http://www.jboss.org/wiki/Wiki.jsp?page=VirtualHosts It will work in 4.0.x View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865721#3865721 Reply to the pos

[JBoss-user] [Management, JMX/JBoss] - Re: Getting attribute change notifications

2005-02-08 Thread yaronz
Dimitris, What I'm trying to do should be pretty straigt forward: I'm trying to get notification for attribute changes for an existing MBean. The idea is to be able to react to changes in MBean attribute values without having to use pooling. An example would be: The MBean - BasicThreadPoolMB

[JBoss-user] [The Lizzard's corner] - Packages waiting for a deployer ???

2005-02-08 Thread chitkara
Hie Experts, I get the following error message when I try to deploy an application to JBoss Application Server from within Eclipse IDE: --- 09:47:58,923 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a

[JBoss-user] [HTTPD, Servlets & JSP] - configuring virtual hosts in jboss 4.0.1

2005-02-08 Thread madeonmoon
hi all does anyone have any examples configuring virtual hosts in jboss 4.0.1? thanks a lot james View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865717#3865717 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865717

[JBoss-user] [Jobs@JBoss] - Web Infrastructure Developer

2005-02-08 Thread [EMAIL PROTECTED]
Come join one of the fastest growing enterprise software and services companies and the home of Professional Open Source?. This opportunity is a tremendous chance to become part of a fast-paced, leading edge company that is changing the way middleware is developed, sold, supported and marketed.

[JBoss-user] [EJB/JBoss] - Hibernate and JBoss 4.0

2005-02-08 Thread aamir75
Following exception is thrown when I try to deploy my EJB Jar bundle. It includes hiberanate jars in lib folder and all are listed in META-INF. hibernate.cfg.xml is in root of jar file. and contained specifically these entries: | net.sf.hibernate.transaction.JTATransa

[JBoss-user] [JBossWS] - cannot access com.sun.xml.rpc.client.BasicService

2005-02-08 Thread Guest
I'm building a web service client from a wsdl. I have used wscompile to generate the client stubs etc. However, when compiling the client it seems to have missing classes for BasicService and StubBase. I have included all the client jars. I tried the wiki example for hello world, in that case t

[JBoss-user] [Beginners Corner] - Re: Why should we use 4.0.1 (vs 3.2.1)?

2005-02-08 Thread dfoulser
There's a serious memory leak related to DB connections in 3.2.1. I think you must move to at least 3.2.4 to avoid it. When we were running 3.2.1 we had to restart app servers every couple weeks to avoid crashes. /Dave View the original post : http://www.jboss.org/index.html?module=bb&op=vi

[JBoss-user] [Beginners Corner] - Re: Where do you put .jar files?

2005-02-08 Thread monocongo
Give some more detailed info and exception messages so we can better help you. For example do you have the ejb-jar.xml in your JAR ? What are the specific exceptions ("it blows up" is rather vague) ? etc. --James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Beginners Corner] - Unable to load .properties file

2005-02-08 Thread monocongo
I have a JBoss application which is deployed in its own directory, for example JBOSS_HOME/server/myapp/deploy/myapp.sar. In this directory is a myapp.properties file. I have been unsuccessful at loading the Properties contained in this file, and I can't figure out why. First I tried a simple

[JBoss-user] [JBossWS] - Re: ERROR org.jboss.webservice.client.PortProxy

2005-02-08 Thread msargent
I am experiencing an error when running the "Duke's Bank" tutorial. at first I thought that it might just be lack of knowledge (and it still may be) but I have now tried this on two different machines and once using startup guide 4.0 (version 2) and once, this morning, with version 3 and it's n

[JBoss-user] [JCA/JBoss] - Cursor and Jboss-?????

2005-02-08 Thread svdath
Hi , I have the following piece of code: cstmt.registerOutParameter(4, java.sql.Types.OTHER); This is used to call a package on Oracle8.1.7. When i run this code, it gives the below error. The package is returning a result set. Also i have noticied a lot of place where if i use .setObject()

[JBoss-user] [Security & JAAS/JBoss] - Re: principal=null for JMS invoked call, have a valid princi

2005-02-08 Thread pytaghoras
I have the some problem. The IsUserInRole always returns false. try { SecurityAssociationHandler handler = new SecurityAssociationHandler(); Principal user = new SimplePrincipal(userName); handler.setSecurityI

[JBoss-user] [Persistence & CMP/JBoss] - Re: org.jboss.ejb.plugins.LogInterceptor not printing SQLExc

2005-02-08 Thread frankgrimes
Any chance of finding out if/when this issue will be addressed? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865705#3865705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865705 -

[JBoss-user] [Security & JAAS/JBoss] - Re: principal=null even if request.getUserPrincipal() does n

2005-02-08 Thread pytaghoras
Hello j_ri, I use jboss-4.0.1RC1. I still have the some problem. Do you know how i can solve the problem? Regards, Pyta. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865704#3865704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [EJB/JBoss] - Re: Stop Displaying Exception PrintStackTRace in Server Cons

2005-02-08 Thread amii_2009
Remove the CONSOLE appender reference from tag from \conf\log4j.xml. Beware this will stop all your logging messages from displaying on Console. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865702#3865702 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Beginners Corner] - Why should we use 4.0.1 (vs 3.2.1)?

2005-02-08 Thread ecantori
Hello: We are migrating an app from a commercial AS to JBOSS. The corporate (defacto) standard is v3.2.1. The app is a run of the mill J2ee app : we won't be using hibernate, AOP or any other non-J2EE package other than struts. As developers, we would prefer to work with the latest and greatest

[JBoss-user] [HTTPD, Servlets & JSP] - init method

2005-02-08 Thread alessandro.zambonelli
can i call a method just after jboss start ? i must load some data BEFORE calling any JSP or SERVLET, i can not use the init() method of a servlet thank you Zambo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865700#3865700 Reply to the post : http://www.j

[JBoss-user] [Installation & Configuration] - Re: mysql-ds.xml setting

2005-02-08 Thread max_ten
Finally i solved the problem by using the other way. | datasources> | | MySqlDS | jdbc:mysql://localhost:3306/myApp?zeroDateTimeBehavior=convertToNull | com.mysql.jdbc.Driver | user | password | | mySQL | | |

[JBoss-user] [EJB/JBoss] - Re: Remote client and EJB

2005-02-08 Thread amii_2009
Guys please use different threads for different questions/problems. To address "Anybody know the code for remote client if using JBoss 4? " There shouldn't be any change on client code to access EJB while migrating from 3.2.x to 4.x. I did it my self and didn't had any problems. Can you post yo

  1   2   >