[JBoss-user] [EJB 3.0] - Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2

2006-04-04 Thread AstroNox
This set of instructions was written originally for the manual install, because 
it did not come with the EJB 3.0 module. If you tried this on the installer 
version, I have no guarantee of what will happen.

Honestly, I have tested the default server configuration together with the EJB 
3.0 RC5 module and it works fine for me, even up to now. No problems at all. I 
admit I did not really test the one for the all configuration but I can give 
you my guarantee that the instructions for the default configuration works. In 
fact, I had followed that set of instructions and deployed the EJB3Trail.ear 
successfully without any exceptions before posting this. In general you do not 
need the all configuration unless you are doing clustering.

You cannot use the installer in Bash because it has no windowing system unless 
you install X. Well, unless the jar is smart enough to provide a console 
install if there is no windowing system. This I wouldn't know because I did not 
try the installer myself in Bash.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934873#3934873

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934873


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JSPs with JDK5.0 features do not compile

2006-04-03 Thread AstroNox
Thanks for your reply Mr. Stark. I appreciate it.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934538#3934538

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934538


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JSPs with JDK5.0 features do not compile

2006-04-03 Thread AstroNox
No one here seemed to reply so I decided not to bother and use JBoss AS 
4.0.4.CR2.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934251#3934251

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934251


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: where to put context.xml in JBoss?

2006-04-02 Thread AstroNox
I do not know about Tomcat 5.0.x, but I know for Tomcat 5.5.x you can place 
your application specific context.xml file in your WAR's WEB-INF directory. 
Tomcat will read and parse that file. Note that not all of the configuration 
parameters present in Tomcat's original specification of the context.xml file 
will work, because they are superseded by JBoss' configuration. One such 
parameter is the context path; you can set it in the jboss-web.xml file.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934193#3934193

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934193


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2

2006-04-01 Thread AstroNox
Nothing. You don't get the installer running on Bash though.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934166#3934166

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934166


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2

2006-04-01 Thread AstroNox
As the manual, self-install JBoss AS 4.0.4.CR2 package does not come with 
EJB3.0 in any of the three server configurations, this tutorial serves as a 
quick guide to integrate EJB3.0 into a server configuration.

* Download the EJB3.0 manual package:
  | http://www.jboss.com/products/list/downloads.
  | * Extract all the files within the package.
  | * Go to the lib folder of the extracted files. You should see these files 
and folders:
  | * ejb3.deployer
  |   | * jboss-aop-jdk50.deployer
  |   | * jboss-j2ee.jar
  |   | * jboss-remoting.jar
  |   | * jboss-serialization.jar
  |   | * ejb3-clustered-sfsbcache-service.xml
  |   | * ejb3-entity-cache-service.xml
  |   | * ejb3-interceptors-aop.xml
  | * Determine the server configuration that you would like to integrate with 
EJB3.0.
  | * If you would like to install EJB3.0 into the all configuration:
  | * In your server/all/deploy folder:
  |   | * Copy ejb3.deployer over
  |   |   | * Copy jboss-aop-jdk50.deployer over
  |   |   | * Copy ejb3-clustered-sfsbcache-service.xml over
  |   |   | * Copy ejb3-entity-cache-service.xml over
  |   |   | * Copy ejb3-interceptors-aop.xml over
  |   |   | * Remove jboss-aop.deployer
  |   | * In your server/all/lib folder:
  |   | * Remove ejb3-persistence.jar
  |   |   | * Remove hibernate3.jar
  |   |   | * Remove hibernate-annotations.jar
  |   |   | * Remove hibernate-entitymanager.jar
  | * If you would like to install EJB3.0 into the default configuration:
  | * In your server/default/deploy folder:
  |   | * Copy ejb3.deployer over
  |   |   | * Copy jboss-aop-jdk50.deployer over
  |   |   | * Copy ejb3-clustered-sfsbcache-service.xml over
  |   |   | * Remove jboss-aop.deployer
  |   | * In your server/default/lib folder:
  |   | * Remove ejb3-persistence.jar
  |   |   | * Remove hibernate3.jar
  |   |   | * Remove hibernate-annotations.jar
  |   |   | * Remove hibernate-entitymanager.jar
  | * Your server configuration now supports EJB3!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934164#3934164

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934164


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Tutorial: Integrating EJB3.0 into JBoss AS 4.0.4.CR2

2006-04-01 Thread AstroNox
Actually, I just checked and the error that was in 4.0.4RC1 is still present:

07:27:53,750 WARN  [EJBTimerServiceImpl] Cannot obtain TransactionManager from 
JNDI, using TxManager.getInstance(): javax.naming.NameNotFoundException: 
TransactionManager not bound

It was also recommended to use the manual, self-install package to avoid this 
problem (it worked for me):

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78114

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934167#3934167

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934167


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - JSPs with JDK5.0 features do not compile

2006-04-01 Thread AstroNox
Hello everyone,

I'm currently having a problem; in essence, as in the title, is about JSPs with 
JDK5.0 features that do not compile.

I'm running JBoss 4.0.3 SP1 with the default integrated Tomcat 5.5, with JDK5.0.

I wrote a very simple JSP in Eclipse 3.1.2 with the JBoss IDE 1.5.1 GA, 
packaged and deployed into JBoss. There is no problem with starting JBoss or 
deploying the WAR. This is the JSP:


  | <%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8"%>
  | <%
  | java.util.Vector v = new java.util.Vector();
  | %>

It's just the declaration and definition of a Vector using JDK5.0's generics 
feature.

However, when I tried to access this JSP through the browser, I get this error:

02:14:15,000 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
  | org.apache.jasper.JasperException: Unable to compile class for JSP
  | 
  | An error occurred at line: 3 in the jsp file: /index.jsp
  | Generated servlet error:
  | Syntax error on token "<", invalid AssignmentOperator
  | 
  | An error occurred at line: 3 in the jsp file: /index.jsp
  | Generated servlet error:
  | Syntax error on token "=", != expected
  | 
  | An error occurred at line: 3 in the jsp file: /index.jsp
  | Generated servlet error:
  | Syntax error on token "<", ( expected
  | 
  | An error occurred at line: 3 in the jsp file: /index.jsp
  | Generated servlet error:
  | Syntax error on token "(", invalid Expression
  | 
  | 
  | at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
  | at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
  | at 
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
  | ... etc

Ok, this basically means that the compiler did not recognize the JDK5.0 
features. I had already set the following options in Tomcat's conf/web.xml file:

   
  |   jsp
  |   org.apache.jasper.servlet.JspServlet
  |   
  |  fork
  |  false
  |   
  |   
  |  xpoweredBy
  |  false
  |   
  |   
  |  compilerSourceVM
  |  1.5
  |   
  |   
  |  compilerTargetVM
  |  1.5
  |   
  |   ...
  |

It still does not work, it does not compile.

I did search Google for any possible solutions but to no avail. For some reason 
it seems as if no one encountered it before; either I'm not searching properly 
or there are no articles on this issue. I did find a thing about Tomcat 
versions prior to 5.5.16 (this issue was fixed in 5.5.16):

http://issues.apache.org/bugzilla/show_bug.cgi?id=38389

The problem was regarding the compilerSourceVM and compilerTargetVM as 
mentioned above.

However, I'm very sure that the version of Tomcat that came with JBoss 4.0.3 
SP1 is not 5.5.16, although I was unable to find which version was it.

I believe if I were to integrate Tomcat 5.5.16 into JBoss, the issue might be 
resolved. However I'm unable to find any such tutorial or resource to 
accomplish this on Google.

Another note is that I'm unwilling to use JBoss 4.0.4 RC1 because there is a 
bug with EJB3's TransactionManager (yes, I'm using EJB3; RC5 integrated into 
default server configuration):

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78114

Basically I'm stumped. Tried all I can. Can anyone please tell me how to 
resolve this issue in JBoss 4.0.3 SP1? Please direct me to any existing 
resolutions, if any. I would also appreciate links to articles that describe 
how to integrate Tomcat 5.5.x into JBoss. Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934154#3934154

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934154


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user