[Installation, Configuration & DEPLOYMENT] - Problem with JBoss portal setup
by senenami
Hi,
I'm trying to setup JBoss portal in my machine.
Setup Details:
JDK installed - j2sdk1.4.2_15
MySQL 5 (ds copied to deployment directory)
JBoss AS - jboss-4.0.3SP1
JBoss Portal - jboss-portal-2.2.0
Env. Variables:
JAVA_HOME = C:\j2sdk1.4.2_15
JBOSS_HOME = C:\Program Files\jboss-4.0.3SP1
I can access the local JBoss server. When I tried accessing the portal page, I get the following error:
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\Program Files\jboss-4.0.3SP1\bin\\..
.
JAVA: C:\j2sdk1.4.2_15\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\j2sdk1.4.2_15\lib\tools.jar;C:\Program Files\jboss-4.0.3SP1\bin\
\run.jar
.
===============================================================================
.
17:16:28,332 INFO [Server] Starting JBoss (MX MicroKernel)...
17:16:28,363 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo
ss_4_0_3_SP1 date=200510231751)
17:16:28,363 INFO [Server] Home Dir: C:\Program Files\jboss-4.0.3SP1
17:16:28,363 INFO [Server] Home URL: file:/C:/Program Files/jboss-4.0.3SP1/
17:16:28,363 INFO [Server] Patch URL: null
17:16:28,363 INFO [Server] Server Name: default
17:16:28,363 INFO [Server] Server Home Dir: C:\Program Files\jboss-4.0.3SP1\ser
ver\default
17:16:28,363 INFO [Server] Server Home URL: file:/C:/Program Files/jboss-4.0.3S
P1/server/default/
17:16:28,363 INFO [Server] Server Temp Dir: C:\Program Files\jboss-4.0.3SP1\ser
ver\default\tmp
17:16:28,363 INFO [Server] Root Deployment Filename: jboss-service.xml
17:16:28,863 INFO [ServerInfo] Java version: 1.4.2_15,Sun Microsystems Inc.
17:16:28,863 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_15-b02
,Sun Microsystems Inc.
17:16:28,863 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
17:16:29,363 INFO [Server] Core system initialized
17:16:30,550 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
17:16:33,800 ERROR [MainDeployer] Could not create deployment: file:/C:/Program
Files/jboss-4.0.3SP1/server/default/deploy/jboss-portal.sar/
java.lang.NoClassDefFoundError: javax/activation/MimeTypeParseException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
Can somebody point what am I missing. Do I need to set any other environment varaibles?
Thanks for your time,
SD
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077970#4077970
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077970
18Â years, 8Â months
[JBoss Seam] - Re: Can action called from button avoid committing transacti
by matt.drees
For those more knowledgeable than me, please correct me if I'm wrong.
1) Yes, it's hibernate-specific. But, at some point (jpa 2, hopefully), I'm guessing it won't be.
2) I don't think you can live without a transaction. A transaction is needed even for reading from the db.
3) Actually, you can do
| <begin-conversation join="true" flush-mode="manual"/>
|
No, it isn't documented. Speaking of that, could you create a jira issue for that? That got me for a while, too.
To do this without an atomic persistence context, I think you'd need to make sure the list containing the new SomeEntity is not in the persistence context when it is flushed at commit time. It's hard to suggest how to do that without knowing more of your code.
Or maybe you could try changing cascadeType=All to cascadeType={Merge, Update, Delete} on the annotation for that relationship. I'm less confident about this solution.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077959#4077959
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077959
18Â years, 8Â months