[jboss-user] [Beginners Corner] - Re: MyFaces JSF implementation found! This version of JBoss

2008-06-15 Thread JGF1
Does anyone know what you'd need to do to get this to work for JBoss AS4.2.2GA? Example can be downloaded from http://www.horstmann.com/corejsf/corejsf2-examples.zip Example is in folder ch12\seam You need to add commons-el to web\WEB-INF\lib folder. You can get that from http://commons.apache.or

[jboss-user] [Beginners Corner] - Re: MyFaces JSF implementation found! This version of JBoss

2008-06-15 Thread JGF1
Drat this gives a slew of messages in log similar to posting here http://forum.java.sun.com/thread.jspa?messageID=10296408? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158196#4158196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[jboss-user] [Beginners Corner] - Re: MyFaces JSF implementation found! This version of JBoss

2008-06-15 Thread JGF1
Any ideas on how to work around this, so I can get Seam example to work in JBoss AS4.2.2GA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158199#4158199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158199 __

[jboss-user] [Beginners Corner] - Re: MyFaces JSF implementation found! This version of JBoss

2008-06-15 Thread JGF1
Dog gone it. JBoss forums are messing with my post http://forum.java.sun.com/thread.jspa?messageID=10296408� View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158198#4158198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [Beginners Corner] - Re: MyFaces JSF implementation found! This version of JBoss

2008-06-15 Thread JGF1
Let's try that url again! http://forum.java.sun.com/thread.jspa?messageID=10296408� View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158197#4158197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158197 ___

[jboss-user] [Beginners Corner] - Re: MyFaces JSF implementation found! This version of JBoss

2008-06-15 Thread JGF1
This may be the answer.. http://jira.jboss.org/jira/browse/JBAS-4383 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158195#4158195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158195 __

[jboss-user] [Beginners Corner] - Re: MyFaces JSF implementation found! This version of JBoss

2008-06-15 Thread JGF1
Myfaces versus java.net JSF.. Have been Googling, and apparently MyFaces is same as JSF with the addition of some extra components. See http://forum.java.sun.com/thread.jspa?threadID=701840&messageID=4071382 and http://today.java.net/pub/n/MyFacesJSF Are there other gotchas based on the JBoss A

[jboss-user] [Beginners Corner] - MyFaces JSF implementation found! This version of JBoss AS

2008-06-15 Thread JGF1
Hi folks. •I've been trying to deploy a war for the Seam example that comes with source download for Core JSF 2nd edition in JBoss AS4.2.2GA. In their book they talk about using JBoss Embedded server with Tomcat 5.5. •As I see it, I've got a couple of options open to me. Try and use embedded serv

[jboss-user] [EJB 3.0] - Re: ERROR AbstractKernelController:440 - Error installing to

2008-05-18 Thread JGF1
Don't know if I made that clear. One less character in replacement actually (your original). Could have been some sort of EOF marker too that Wordpad inserted, when I did copy/paste originally... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151623#4151623

[jboss-user] [EJB 3.0] - ERROR AbstractKernelController:440 - Error installing to Sta

2008-05-18 Thread JGF1
Because I had a version that worked that I could use as a baseline, I systematically did a windiff on the two directories. Windiff said only difference was spaces. I though nothing of it, but as soon as I swapped jndi.properties over it worked a treat. I don't know if its to do with CRLF character

[jboss-user] [EJB 3.0] - Re: JMX conflict when embedding

2008-05-18 Thread JGF1
ello Jun | k\helloworldEJB\bin | [java] JGF1 null | [java] 11:15:30,468 ERROR AbstractKernelController:440 - Error installing t | o Start: name=UserTransaction state=Create | [java] java.lang.RuntimeException: Unable to lookup TransactionManager | [java] at org.jboss.ejb3

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools/App Server/Eclipse/Java versions. Getting t

2008-05-16 Thread JGF1
"[EMAIL PROTECTED]" wrote : | I went and update those 3.2.0 to 3.2.x - happy? ,) | Ecstatic :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151421#4151421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151421 __

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools/App Server/Eclipse/Java versions. Getting t

2008-05-16 Thread JGF1
"JGF1" wrote : "[EMAIL PROTECTED]" wrote : "JGF1" wrote : | | | In conjunction with manifest here: | | | http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=242269&release_id=560787 | | | | I dont understand why t

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools/App Server/Eclipse/Java versions. Getting t

2008-05-16 Thread JGF1
"[EMAIL PROTECTED]" wrote : "JGF1" wrote : | | In conjunction with manifest here: | | http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=242269&release_id=560787 | | I dont understand why the list of versions inside JBoss Tools 2.0.0

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools/App Server/Eclipse/Java versions. Getting t

2008-05-16 Thread JGF1
Do you have: 1) a Jira URL 2) any advice on whether I should upgrade Server to latest 5 Beta? BTW: Your advice on making App Server work in Eclipse worked a treat. I can now stop and start the server successfully. Cheers again Jeremy View the original post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools/App Server/Eclipse/Java versions. Getting t

2008-05-16 Thread JGF1
"JGF1" wrote : "[EMAIL PROTECTED]" wrote : Maybe what i'm missing is where you find things is wrongly stated ? e.g. why you think a 0.0.1 update of a version number should break this and why you are pointing to JBoss Tools 2.0.0.GA ? | | Once again. Se

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools/App Server/Eclipse/Java versions. Getting t

2008-05-16 Thread JGF1
"[EMAIL PROTECTED]" wrote : Maybe what i'm missing is where you find things is wrongly stated ? e.g. why you think a 0.0.1 update of a version number should break this and why you are pointing to JBoss Tools 2.0.0.GA ? Once again. See below: "jgf1" wrote :

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools/App Server/Eclipse/Java versions. Getting t

2008-05-16 Thread JGF1
"[EMAIL PROTECTED]" wrote : | I actually never used the search functionallity i in WTP and that also explains why we haven't implmented it ...we should. Please report that in jboss tools jira. | Url please. And I'll be happy to comply. "[EMAIL PROTECTED]" wrote : | Anyhow - the way how

[jboss-user] [JBoss Tools (users)] - JBoss Tools/App Server/Eclipse/Java versions. Getting thing

2008-05-16 Thread JGF1
Hi folks. I'm interested in learning more about Hibernate and JBoss Tools. I'm in the process of reading Christian & Gavins excellent Java Persistence with Hibernate and trying to set up JBoss Tools in Eclipse.. In the past I've installed Eclipse Europa edition file: eclipse-jee-europa-winter-w

[jboss-user] [JBossWS] - Re: WebService response problem

2008-03-25 Thread JGF1
"PeterJ" wrote : (From what I recall when I researched this in depth many months ago, the web services libraries included in JBossAS 4.2.x were newer than what is included in JDK 6.). Many thanks for reply. I am beginning to appreciate the complexities of what's going on better now. Out of inter

[jboss-user] [JBossWS] - Re: WebService response problem

2008-03-24 Thread JGF1
"omatzura" wrote : Hi, | | hmm... maybe this is happening because you are using jdk 1.6.. can you try running jboss under jdk 1.5 instead? | | regards again, | | /Ole | eviware.com This begs the question.. What is it about jdk 1.6 & Soap versus jdk1.5. What has changed to make jd

[jboss-user] [JBossWS] - Re: JBoss & JAX-WS. Beginners Guide

2008-03-11 Thread JGF1
I noticed in a PDF by Radim Marek over at BSG that @PortComponent is not supported in and @WebContext is now used instead. Also @WebContext has been moved to org.jboss.wsf.spi.annotation Is there an online guide for JBoss's implementation of Webservices using JAX-WS that someone can point me too

[jboss-user] [JBossWS] - Re: JBoss & JAX-WS. Beginners Guide

2008-03-11 Thread JGF1
"JGF1" wrote : warning: [path] bad path element "c:\apps\jboss-4.2.2.ga\client\jsr173_1.0_api.jar": no such file or directory | warning: [path] bad path element "c:\apps\jboss-4.2.2.ga\client\jaxb1-impl.jar": no such file or directory | | 1) Wondered if so

[jboss-user] [JBossWS] - Re: JBoss & JAX-WS. Beginners Guide

2008-03-11 Thread JGF1
BTW: Should an 'i' enclosed in square brackets [ ] change output to italic when it's embedded in a code block. It's debatable I suppose. But not what I wanted :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135759#4135759 Reply to the post : http://www.jb

[jboss-user] [JBossWS] - JBoss & JAX-WS. Beginners Guide

2008-03-11 Thread JGF1
Hi folks. I've recently been finished reading a book called Beginning Java EE 5 Platform from Novice to Professional. It contained an example using JAX-WS. When I tried to locate one of the jars, I couldn't find it: ie:jbossws.jar. According to book it's in jbossws.sar folder.. Tried compiling

[jboss-user] [EJB 3.0] - Re: ClassCastException: EJB3 CMP using EJB QL. Client using

2008-03-08 Thread JGF1
I feel a fool for asking this one. Server side error messages pointed me to answer. len stubstitution var has to be Long. So changed interfaces/class to use long instead and everything worked fine literal 3 changed to 3L.. inclient View the original post : http://www.jboss.com/index.html?module

[jboss-user] [EJB 3.0] - ClassCastException: EJB3 CMP using EJB QL. Client using Stat

2008-03-08 Thread JGF1
Hi folks. I've got a weird ClassCastException occurring in my code Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long... It happens with an event listener for stateChanged on a JCheckbox It calls into a method defined with ab int via an interface. Can't fig

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
"JGF1" wrote : "JGF1" wrote : | | I'm hoping the typo in the DTD for application was the reason JNDI lookup wasn't working. | | | I am afraid things still aren't working. | | Still saying beans_2x.Stock not bound arising from call to getSto

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 deployment:Newbie question

2008-03-07 Thread JGF1
"JGF1" wrote : No EJB's in sight. I meant entity beans, which is where I take it most of your xml is coming from? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135011#4135011 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 deployment:Newbie question

2008-03-07 Thread JGF1
"nishroop" wrote : Hi, | I have a similar kind of issue. But I am using EJB1.x. | You have mentioned that you changed the lookup string..So, have u changed the JNDI value in the xmls too? This example was just using session beans. No EJB's in sight. With EJB3, there's a whole lot less XML to d

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
"JGF1" wrote : | I'm hoping the typo in the DTD for application was the reason JNDI lookup wasn't working. | I am afraid things still aren't working. Still saying beans_2x.Stock not bound arising from call to getStockHome() in StockListBean... 1) Should JNDI entri

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
"ALRubinger" wrote : I'm not familiar with this book, but I'm not sure about it's aims for you. :) | | Application 1.4 is for JEE1.4 == EJB2, Application 5 is for JEE5==EJB3. | | S, | ALR My aim is to become familar enough with Java EE to hopefully get a job at some point. In the book

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
"JGF1" wrote : | Application.xml: | | | | | http://java.sun.com/xml/ns/javaee"; | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/applicat

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
I'm in the dark here. | 19:14:34,265 INFO [EARDeployer] Init J2EE application: file:/C:/apps/jboss-4.2.2.GA/server/all/deploy/StockListBmpApp.e | ar | 19:14:34,828 INFO [EJB3Deployer] Deployed: file:/C:/apps/jboss-4.2.2.GA/server/all/tmp/deploy/tmp42858StockListBmpApp.e | ar-contents/S

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
Thanks for feedback. Looking at that list the only registered references with "Stock" in them were in the Global JNDI Namespace: | StockListBean (class: org.jnp.interfaces.NamingContext) | | +- remote (proxy: $Proxy94 implements interface beans.StockList,interface org.jboss.ejb3.JBossPro

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
Is there is a way to view the JBoss JNDI registry, so I can ascertain the syntax I need? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134938#4134938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134938 _

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
"JGF1" wrote : Following on from the pattern I used on StockClient... | 2) Do I just use Stock/remote? | Have also tried Object objref = initial.lookup("beans_2x.Stock/remote"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
In case anyone wants to build/run this here are commands to run from BMP folder: javac -d . beans_2x\*.java javac -d . beans\*.java javac -d . client\*.java jar vcf StockListApp.ejb3 beans/*.class jar vcf StockList2Bmp.jar META-INF/ejb-jar.xml META-INF/jboss.xml beans_2x/*.class jar vcf StockLis

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
"JGF1" wrote : Do I just use Stock/remote? | Alas this didn't work either. Just saying Stock not bound now instead! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134928#4134928 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
"JGF1" wrote : But I am not sure what to do because I am not sure out JBoss is interpretting ejb-jar.xml in the node | Should read "But I am not sure what to do because I am not sure of how JBoss is interpretting ejb-jar.xml in the node." View the original post :

[jboss-user] [EJB 3.0] - Re: Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
I have already had to modify the source of StockClient to conform to the JBoss way in the getStockList method. 1) I am really surprised JBoss doesn't use the method that is commented out because the current method could lead to class name conflicts if you don't use package prefix... | privat

[jboss-user] [EJB 3.0] - Doing BMP with EJB3. JNDI problems?

2008-03-07 Thread JGF1
Hi again. Stuck on what I think is an ideosyncrasy in the way JBoss implements JNDI lookups. I was wondering if someone could shed some light? Following along with Beginning Java EE 5 book again... I have an application with following directory structure: | BMP |+beans | 1 StockList.

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread JGF1
Many thanks for your assistance today Andrew. It was greatly appreciated. Everything now works perfectly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134710#4134710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread JGF1
Dar. As soon as I posted this I spotted missing opening chevron. first character of xml file!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134706#4134706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134706 __

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread JGF1
"ALRubinger" wrote : Nope...your exception is complaining about a lack of default persistence unit. Please take a look at http://trailblazer.demo.jboss.com/EJB3Trail/persistence | Have taken a look at this. But now I have a different problem: Here is my persistence.xml | persistence> |

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread JGF1
"JGF1" wrote : BTW: Have just taken a look at the code download from Apress website for this book. | It has defined an extra exception class and iused it in StockList interface, and as a consequence StockListBean. | Because the design pattern in the class that was found by JB

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread JGF1
BTW: Have just taken a look at the code download from Apress website for this book. It has defined an extra exception class and iused it in StockList interface, and as a consequence StockListBean. Because the design pattern in the class that was found by JBoss didn't match what it was expecting,

[jboss-user] [EJB 3.0] - Re: @PersistenceUnit on private javax.persistence.EntityMana

2008-03-06 Thread JGF1
"ALRubinger" wrote : There is no default persistence unit in this deployment. Do you have a "persistence.xml" in the META-INF of your JAR? | The answer to your question is no. Should I? >From what I read in the book, I thought JBoss was supposed to automatically >create the database back end w

[jboss-user] [EJB 3.0] - @PersistenceUnit on private javax.persistence.EntityManager.

2008-03-06 Thread JGF1
I've been following along with an example using EJB3/JBOSS from the book Beginning Java EE 5 Platform and don't know why JBoss is complaining about an annotated private instance of an Entity Manager. I was wondering if anyone can let me know where I am going wrong. Here is the code: | package

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 deployment:Newbie question

2008-03-06 Thread JGF1
In case anyone else is reading this same book, I managed to get this working in the end. I found a very useful article here: http://www.adam-bien.com/roller/abien/entry/ejb_3_portability_issue_why When I changed the JNDI lookup to use the string "SimpleSessionBean/remote". I finally got the JND

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 deployment:Newbie question

2008-03-05 Thread JGF1
Looking int the JMX extensions I see the following: jar=SimpleSessionApp.ejb3,name=SimpleSessionBean,service=EJB3 module=SimpleSessionApp.ejb3,service=EJB3 So should I use SimpleSessionApp.ejb3 as liternal to do JNDI lookup??? View the original post : http://www.jboss.com/index.html?module=bb

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 deployment:Newbie question

2008-03-05 Thread JGF1
Actually, I've confirmed ejb3 file did contain stuff. with jar -xf Also tried using *.* for jar command to pick up *.class & *.java. Also noticed status messages for JBoss 18:49:15,718 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=SimpleSessionApp.ejb3,name=SimpleSessionBean, servi

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: EJB3 deployment:Newbie question

2008-03-05 Thread JGF1
I am sceptical about the jar command. I can normally view a jar file with Winzip. SimpleSessionApp.ejb3 is only 1K. When I attempt to open it, it appears to be empty. If you used annotations in your code should jar be automatically creating a deployment descriptor? How does it know how to format i

[jboss-user] [Installation, Configuration & DEPLOYMENT] - EJB3 deployment:Newbie question

2008-03-05 Thread JGF1
Hi folks. I am in process of reading Beginning Java EE 5 Platform by Apress and can't seem to get my application to run. I was wondering if anyone can shed some light for me. It appears to be some sort of binding issue. Directory Structure is: SimpleSessionApp beans client Code was

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Install issue:Using different port to 8080 from jboss 4.

2008-02-21 Thread JGF1
Many thanks for solving my JBoss install issues. TCPView utility tracked down Java process using ports. So I have now gone into Services and made SunJavaSystemAppserver9PE start manually. This way I can start JBoss without the conflicts and it resolves everything satisfactorily for my needs, since

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Install issue:Using different port to 8080 from jboss 4.

2008-02-18 Thread JGF1
Hi Jaikiran Your a star. This has solved some but not all of the issues. (Out of interest does any of the online documentation tell you about this? I'd appreciate a URL if you've got one). Unfortunately there is still an issue with Port 1099: 14:18:58,468 ERROR [Naming] Could not start on port 1

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Install issue:Using different port to 8080 from jboss 4.

2008-02-18 Thread JGF1
Hi jaikiran I tried changing server.xml in server\all\deploy\jboss-web.deployer folder and renumbered all ports in 8000 range to 18000. But alas when I use run.bat it still is picking up port 8080.. Some of the top level messages are as follows: [Naming] Could not start on port 1099 java.net.BindE

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Install issue:Using different port to 8080 from jboss 4.

2008-02-17 Thread JGF1
Oops this was article. Didn't type url correctly. No way to reedit message http://lkamal.blogspot.com/2006/09/jboss-4-how-to-change-port-8080-in.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129993#4129993 Reply to the post : http://www.jboss.com/index.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Install issue:Using different port to 8080 from jboss 4.2.2.

2008-02-17 Thread JGF1
I already have port 8080 in use because of: Sun Java System Application Server 9.1_01 I am a newbie to JBoss Was hoping to be able to keep both JBoss & Suns Servers... Have done a Google search and most solutions mention modifying as per:here Problem is the version I installed doesn't have