[jboss-user] [JBossCache] - Re: Problems migrating from JBCache 1.3.0.GA to JBCache 1.4.

2006-08-13 Thread lior.dra
Hey, I had this problem also. its a linux/ipv6/Jgroup issue. try adding this java VM option java -Djava.net.preferIPv4Stack=true you can also check this web site http://weblogs.java.net/blog/dcengija/archive/2006/04/jgroups_demos_o_1.html View the original post :

[jboss-user] [EJB 3.0] - Re: Displaying EJBs within JavaScript: what about the Entity

2006-08-13 Thread SmokingAPipe
By the way, it seems like ideally this is something that would be handled within the Servlet container itself. You should be able to register some kind of listener for the creation of a Request object and then another for when it is finished, which should be able to handle things like

[jboss-user] [JBoss jBPM] - how to retrieve task instance/process instances in a specifi

2006-08-13 Thread yxyang
Hi I went through the APIs. And i find there is no direct API to help getting (1)task instances which is in waiting status in a specific TaskNode. (2)process instances which is in waiting status in a specific TaskNode. Please advice? yang View the original post :

[jboss-user] [JBoss jBPM] - Re: how to retrieve task instance/process instances in a spe

2006-08-13 Thread kukeltje
If you looked through the api, the next thing you should do is to look trough the sourcecode ( it is such a good part of documentation) to see how comparable methods have implemented this. You'll be surprised how simple it is. Just learn HQL. View the original post :

[jboss-user] [JBoss jBPM] - Re: how to retrieve task instance/process instances in a spe

2006-08-13 Thread yxyang
kukeltje, i feel a bit strange why cannot post the simple answer here instead of going through the source code. never mind, if no direct answer, of course, i will looking the source code. yang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964821#3964821

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Application Client JNDI lookup returns null for Hibernate Se

2006-08-13 Thread senthilid14
Hi, I am using JBoss 4.0.4, and Hibernate3. I used hibernate-service.xml and I put my mapping files and classes in a utility jar. From a JSP page my JNDI lookup for hibernate SessionFactory is working perfectly. But from a application client, my JNDI lookup returns null, so if i am trying

[jboss-user] [Beginners Corner] - Re: How to cofigure JBoss in a machine where already Tomcat

2006-08-13 Thread shabosssha
Hi Raj! Thank u very much... we did the same and its working. Thanks Regards, Sha View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964823#3964823 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964823

[jboss-user] [EJB 3.0] - Re: Displaying EJBs within JavaScript: what about the Entity

2006-08-13 Thread raja05
SmokingAPipe wrote : | Solution 1: Use a Filter that keeps an EntityManager hanging around for the duration of the request. Seems like an ugly way to do it, but I guess that would be PHP-style, where it automatically frees DB connections when the request is finished. | This is how the

[jboss-user] [JBoss jBPM] - Re: The process class loader issue

2006-08-13 Thread yxyang
I already achieve what i want to do. Actually, there is no problem for the jboss software itself. THe problem is more on the confusion of how to use the jboss components when classloader involves. TO make the classes in .par file be able to access the class in ejbs, make sure the two parts

[jboss-user] [EJB 3.0] - Re: Can't find branch for FD8 release, posted documentation

2006-08-13 Thread raja05
Welcome to frustration while searching code. Ive tried this before and am still not very comfortable at locating branches and source codes to attach to Idea. Anyway , here are some answers that might help. gcomnz wrote : | 1. The EJB 3.0 releases don't contain source, making it difficult to

[jboss-user] [JBoss jBPM] - Re: how to retrieve task instance/process instances in a spe

2006-08-13 Thread yxyang
got it. hibernate.queries.hbm.xml file Although it is not difficult, if i want to use only EJBs 2 and not the hibernate code in my application code (i prefer to keep the hibernate stuff under the cover of the jbpm api)., it is no direct way. View the original post :

[jboss-user] [EJB 3.0] - Re: Persistence unit scoping across multiple jars in a singl

2006-08-13 Thread raja05
From the EJB Spec, anonymous wrote : | A persistence unit must have a name. Only one persistence unit of any given name may be defined within a single EJB-JAR file, within a single WAR file, within a single application client jar, or within an EAR (in the EAR root or lib directory). | And

[jboss-user] [JBoss jBPM] - Re: how to retrieve task instance/process instances in a spe

2006-08-13 Thread yxyang
Is the following code the correct way to retrieve the taskinstances for the specific tasknode name and task name? | private java.util.List getTaskInstance(String tasknodename, String taskname) throws Exception { | log.debug(getTaskInstance() is called); |

[jboss-user] [EJB 3.0] - Re: Persistence unit scoping across multiple jars in a singl

2006-08-13 Thread raja05
That said, the above dint work for a trivial example for me. Can you verify this as well? (Or am i reading the spec wrong ?) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964830#3964830 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: how to retrieve task instance/process instances in a spe

2006-08-13 Thread kukeltje
yxyang wrote : kukeltje, | | i feel a bit strange why cannot post the simple answer here instead of going through the source code. since it is good documentation, you learn from it, I do not know everything (e.g. forgot that the queries were moved to the hibernate file instead of code),

[jboss-user] [Beginners Corner] - how get the datasource

2006-08-13 Thread joy_wind
Hi,I have config a datasource like the following: local-tx-datasource jndi-namePostgresDS/jndi-name connection-urljdbc:postgresql://localhost:5432/eai/connection-url driver-classorg.postgresql.Driver/driver-class user-namepostgres/user-name postgres

[jboss-user] [EJB 3.0] - Re: Can't find branch for FD8 release, posted documentation

2006-08-13 Thread gcomnz
Thanks, Raja. Very much appreciate the info! And hurray for subversion. I should have realized they switched. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964833#3964833 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: The process class loader issue

2006-08-13 Thread kukeltje
would you mind sharing what you did, so others can learn from it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964834#3964834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964834

[jboss-user] [JBossWS] - NPE while deploying a Web service

2006-08-13 Thread sw79
here ist the stack trace: | 13:07:29,826 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.0.4.CR2/server/all/deploy/myear.ear/mywar.war/ | java.lang.NullPointerException | at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortType(WSDL11Reader.java:427) | at

[jboss-user] [Beginners Corner] - Re: Installing JBoss application server

2006-08-13 Thread satimis
Hi ashishjain, OS - Ubuntu-6.06-amd64 (Linux) Tks for your advice. Download jboss-4.0.4.GA.zip and confirmed md5sum $ sudo unzip /path/to/jboss-4.0.4.GA.zip $ sudo /jboss-4.0.4.GA/bin/run.bat password | sudo: jboss-4.0.4.GA/bin/run.bat: command not found $ sudo jboss-4.0.4.GA/bin/run.sh

[jboss-user] [Beginners Corner] - Problems with XDoclet and JBoss Eclipse IDE Tutorial

2006-08-13 Thread stojkovic
I installed the 1.6 version of the JBoss IDE using the 'JBoss Eclipse IDE Installation Guide' over the 3.1.2 of Eclipse without problems. I tried the JBoss Eclipse IDE Tutorial and I created the project without problems. But when I execute the 'Run XDoclet' function I received and error:

[jboss-user] [JCA/JBoss] - How to access the configured datasource

2006-08-13 Thread joy_wind
Hi,I have config a datasource like the following: local-tx-datasource jndi-namePostgresDS/jndi-name connection-urljdbc:postgresql://localhost:5432/eai/connection-url driver-classorg.postgresql.Driver/driver-class user-namepostgres/user-name postgres min-pool-size5/min-pool-size

[jboss-user] [EJB 3.0] - EJB3 - load Sql Query From Xml Deployment Descriptor

2006-08-13 Thread grdzeli_kaci
hi all, i'm trying working with ejb3 using xml eployment Descriptor. here is my small example: Table in Oracle DB | CREATE TABLE TEST.PERSON |(ID NUMBER NOT NULL ENABLE, | NAME VARCHAR2(255), | SURNAME VARCHAR2(255), | AGE NUMBER, | CONSTRAINT PK_ID

[jboss-user] [EJB 3.0] - Re: MDB and EJB3--Newbie Question

2006-08-13 Thread grdzeli_kaci
i think u didn't configure your jboss for Message Drive Bean. look at this : http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMDB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964840#3964840 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Installing JBoss application server

2006-08-13 Thread satimis
Hi ashishjain, Now I have jrockit-R26.4.0-jdk1.5.0_06 installed. $ ls jrockit-R26.4.0-jdk1.5.0_06/ | bin console demo include jra jre lib LICENSE memleak mercuryprofiler README.TXT sample src.zip $ ls jrockit-R26.4.0-jdk1.5.0_06/bin/ | appletviewer extcheck jarsigner javadoc

[jboss-user] [JBoss jBPM] - Re: taken end and task instance end

2006-08-13 Thread yxyang
cpob wrote : Depends on how you're having the token move. Are you doing a token.signal, or a taskInstance.end? any difference? i am using token.signal yang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964842#3964842 Reply to the post :

[jboss-user] [JBossWS] - Re: Reading cookies in a web service

2006-08-13 Thread perrucci
On jsr181 ws you can implement javax.xml.rpc.server.ServiceLifecycle and use this code in init(Object object) method: context = (ServletEndpointContext) object; httpSession = context.getHttpSession(); httpServletRequest = (HttpServletRequest)

[jboss-user] [EJB 3.0] - JSF and EJB 3.0

2006-08-13 Thread urswag
Hello I am looking for a JSF without Seam and EJB 3.0 for JBoss appliaction template. Has anyone a such file containing all build files? Thanks Urs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964844#3964844 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with decrementing dates

2006-08-13 Thread iga3k
right now i'm cunfrunted with this issue. did you get an elegant implementation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964845#3964845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964845

[jboss-user] [JBoss Seam] - Seam method binding almost right, Seam and value binding

2006-08-13 Thread wsollers
Using JBOSS 4.0.4 from the jems installer, Seam nightly build. Working on a project for the US Air Force using Seam. Seam will invoke the el method binding from a HTTP-POST but explodes on resolving the @destroy method after doing the business interface method invocation with this stack trace:

[jboss-user] [EJB 3.0] - Re: Persistence unit scoping across multiple jars in a singl

2006-08-13 Thread raja05
Sorry scratch my previous comment, it does work well if you put the persistence.xml in a jar file and make it a part of your archive. Note that you would have to enter the jar file containing the managed classes in the persistence.xml file. View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Accessing DB2 with PHP

2006-08-13 Thread dvohra09
Accessing a database such as DB2 with PHP is simpler than accessing with J2EE/JDBC as explained in following tutorial. http://www.regdeveloper.co.uk/2006/08/09/db2_udb_part2/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964848#3964848 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Persistence unit scoping across multiple jars in a singl

2006-08-13 Thread grdzeli_kaci
hi all, i had already problem like this and my mistake was that i hadn't unitname in the persistance.xml file i think if u must add this in u your persistance.xml | persistence-unit name=Blah1 transaction-type=JTA | jta-data-sourcejava:/XAOracleDS/jta-data-source |

[jboss-user] [EJB 3.0] - Re: Displaying EJBs within JavaScript: what about the Entity

2006-08-13 Thread SmokingAPipe
Thanks Raja. This problem seems quite absurd, because there's not much use to EJBs if there isn't an easy and reliable way to render them in JSP. There really should be some part of the Request object that makes it possible to manage request-scoped resources. I think I'll take the plunge and

[jboss-user] [JBoss Seam] - Starting with Seam: build files, jars, paths?

2006-08-13 Thread SmokingAPipe
Sometimes the hardest part is just setting up the build environment and the framework. I have downloaded the Seam dist and gotten the hotel reservation app to work in JBoss. Easy. Now I want to make my own Seam application. This is turning out to be HARD. The hotel reservation app's

[jboss-user] [Beginners Corner] - Re: how get the datasource

2006-08-13 Thread PeterJ
1 2) You should get the data source via JNDI, as follows: InitialContext ctx = new InitialContext(); | DataSource ds = (DataSource)ctx.lookup(PostgresDS); | Connection conn = ds.getConnection(); | -- do stuff with the connection -- | conn.close(); 3) Yes. The close() method, above,

[jboss-user] [JBoss Eclipse IDE (users)] - Re: Which version of JBoss are you using with JBossIDE?

2006-08-13 Thread ashishjain
I am using JBOSS 4.0 SERVER with JBossIDE 2.0. I have just started configuring and working on session bean (EJB). Right now I am facing problems in packging EJB's. When select Debug... option, I am not getting any JBOSS4.x option in that as mentioned in the Help Contents of JBOSS IDE. However

[jboss-user] [Beginners Corner] - Re: Can't reach the site

2006-08-13 Thread PeterJ
What operating system are you using? If you are running on Linux, are you running as root? Do you have a firewall, and if so, is port 81 open? When JBoss comes up, what port does it say it opened? You should see a line that looks like this: anonymous wrote : 13:42:56,437 INFO

[jboss-user] [Beginners Corner] - Re: Installing JBoss application server

2006-08-13 Thread PeterJ
You are still running the JVM that comes with Ubuntu. Look at the output that says: anonymous wrote : 19:56:19,034 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, Inc. | 19:56:19,034 INFO [ServerInfo] Java VM: GNU libgcj 4.1.0 (Ubuntu 4.1.0-1ubuntu8),Free Software

[jboss-user] [JBoss Eclipse IDE (users)] - Facing problem in packaging while working with EJB using JBO

2006-08-13 Thread ashishjain
I had JBOSSIDE-2.0.0.Alpha and JBOSS Server 4.0. From JBOSSIDE I defined the JBOSS server 4.0 going to FileNewOtherServer and started it from Servers view. While Building session bean I am facing problem in packaging. Problem: When select Debug... option, I am not getting any JBOSS4.x option

[jboss-user] [JBoss Seam] - error Target Unreachable, identifier 'user' resolved to null

2006-08-13 Thread [EMAIL PROTECTED]
Hi Thank you for reading my post I played a bit with registration sample and now i get an error when i press register button in REGISTER.jsp page I dont know where i changed in the code , can some one please take a look at exception trace and tell me what is wrong , where i should lok for my

[jboss-user] [Beginners Corner] - Re: Can't reach the site

2006-08-13 Thread Ento
I am using SUSE 9.3 and there is no errors. When I change the default port to 80 it works. I have no firewall between server and internet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964859#3964859 Reply to the post :

[jboss-user] [Beginners Corner] - Can't run JEMS installer

2006-08-13 Thread Ento
Hi I'm trying to run JEMS installer for JBoss AS 4.0.4 but i will have this meassage. No X11 DISPLAY variable was set, but this program performed an operation which requires it. Can I run it under ssh or do i need to run in graphic mode? View the original post :

[jboss-user] [JBoss Seam] - Re: Starting with Seam: build files, jars, paths?

2006-08-13 Thread RedHatDude
Try http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMGen (seam-gen) Follow the instructions on the page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964862#3964862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964862

[jboss-user] [JBoss Seam] - Re: Starting with Seam: build files, jars, paths?

2006-08-13 Thread SmokingAPipe
Ah, thank you. I'll try that. One other approach that I have is to build the app and take apart the EAR file. Often it's easier to go from that direction than it is to try to understand a complicated build.xml. View the original post :

[jboss-user] [Beginners Corner] - Re: Installing JBoss application server

2006-08-13 Thread satimis
Hi PeterJ, JRockit was installed automatically on; $ ls /home/satimis/jrockit-R26.4.0-jdk1.5.0_06/ | bin demo jra lib memleak README.TXT src.zip | console include jre LICENSE mercuryprofiler sample $ ls /home/satimis/jrockit-R26.4.0-jdk1.5.0_06/bin |

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Http Server start error

2006-08-13 Thread cimatch
I am Shimada. It is likely to fail in the start of the http server by the environment of OS AIX5.2 / JBoss4.0.1sp1, and generating unusual Error registering contexts. Isn't there knowing someone ..the solution..? The following are output by the trace when starting.

[jboss-user] [Beginners Corner] - trouble obtaining EJB reference in portlet

2006-08-13 Thread bernieb
I'm having trouble obtaining a reference to an EJB entity bean in a portlet. The entity bean has successfully deployed and I've confirmed the JNDI name in the jmx-console (PersonBean). I had first tried to obtain the reference through the EJB annotation, injecting it into the portlet as such:

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-13 Thread chuckadams
anonymous wrote : An EJB module must contain one or more enterprise beans. still remains.. That's a normal validation failure, since there actually aren't any beans yet. You can silence it by editing the EJB's META-INF/ejb-jar.xml file and taking the schema attribute off the opening ejb-jar

[jboss-user] [JBoss Seam] - Re: Seam method binding almost right, Seam and value bind

2006-08-13 Thread raja05
Your Interface(Query) should contain getJon, setJon and the destroy methods. You are calling methods on the interface from your view pages and they havent been defined there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964873#3964873 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-13 Thread chuckadams
Actually it looks like it's not that simple. If I take that shortcut, the sample fails to deploy: | :18:55,245 ERROR [MainDeployer] Could not create deployment: file:/pkg/jboss-4.0.4.GA/server/default/tmp/deploy/tmp3975sample.ear-contents/sampleEJB.jar |

[jboss-user] [Beginners Corner] - Re: Can't reach the site

2006-08-13 Thread PeterJ
Do you have a firewall, such as iptables, running on the server? If you have not opened port 81 in iptables, it will not work. Are you running SELinux? Can't recall if that is on SUSE (lately I am using Fedora) but SELinux can cause various issues if not properly configured. View the

[jboss-user] [Beginners Corner] - Re: Can't run JEMS installer

2006-08-13 Thread visolvejboss
Hello, For running the JEMS installer, You need a GUI. Follow the steps given below. 1. You have to set the DISPLAY environment variable. #export DISPLAY=Your Desktop system's ip-addr:0 2. Start the XWindow Manager. 3. Then, Run the JEMS installer. I hope, this will solve your problem.

[jboss-user] [JBoss Seam] - Re: UI Labels and displaying the hash sign #

2006-08-13 Thread raja05
I think thats a seam bug. Seam tries to interpolate any expressions in the message bundle values and since it found a # in there, it seems to be looking for characters next to it, which wont be there in your case. Here is the snippet from Interpolator.interpolate thats causing the bug |

[jboss-user] [JBoss Seam] - Frustrated and anxious

2006-08-13 Thread chuckadams
I'm really frustrated at how cumbersome getting started with Seam is. I've spent close to a week trying to find a skeleton app that is friendly to eclipse WTP. I have given up -- seamgen didn't work for me and fiddling with the sample apps doesn't give me a self-contained build.xml, let alone

[jboss-user] [Installation, Configuration Deployment] - Re: hi all...!

2006-08-13 Thread ravichandrakn
thanks for ur reply, its working now. i hope u will help me in future also. Thanks, Ravi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964883#3964883 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964883

[jboss-user] [Beginners Corner] - Re: Installing JBoss application server

2006-08-13 Thread satimis
Hi PeterJ, Tks for your advice. on firefox | JBoss Online Resources | | * JBoss Documentation | * JBoss Wiki | * JBoss JIRA | * JBoss Forums | | JBoss Management | | * Tomcat status (full) (XML) | * JMX Console | * JBoss Web Console | |

[jboss-user] [Beginners Corner] - Re: Installing JBoss application server

2006-08-13 Thread satimis
satimis wrote : Hi PeterJ, | | Tks for your advice. | | on firefox | | JBoss Online Resources | | | | * JBoss Documentation | | * JBoss Wiki | | * JBoss JIRA | | * JBoss Forums | | | | JBoss Management | | | | * Tomcat status

[jboss-user] [EJB 3.0] - Re: EJB3 - load Sql Query From Xml Deployment Descriptor

2006-08-13 Thread grdzeli_kaci
did anybody have problem like this ? :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964887#3964887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964887 ___ jboss-user mailing