Returned 5 Results for "jboss" Ordered By Relevance

java.sql.SQLException: User not found: SA [SOLVED] [relevance: 4.68]


2008-03-05 Digg! icurtain Delcious icurtain Technorati icurtain


WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=Hypersonic,database=localDB
java.sql.SQLException: User not found: SA

It's possible that your jboss deployment has gone a bit squiffy.. try deleting the following:
jboss/server/default/tmp
jboss/server/default/data
jboss/server/default/work


Jboss Seam PermGen space crash [relevance: 3.92]


2007-09-10 Digg! icurtain Delcious icurtain Technorati icurtain


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:393)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.OutOfMemoryError: PermGen space

note The full stack trace of the root cause is available in the JBossWeb/2.0.0.GA logs.

--------------------------------------------------------------------------------

JBossWeb/2.0.0.GA

This can be rectified by modifying run.sh to include a MaxPermSize parameter for JVM memory allocation

# Execute the JVM in the background
add # Setup JBoss sepecific properties
JAVA_OPTS="-XX:MaxPermSize=128M -Dprogram.name=$PROGNAME $JAVA_OPTS"

or

"$JAVA" $JAVA_OPTS \
-XX:MaxPermSize="128M" -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \
-classpath "$JBOSS_CLASSPATH" \
org.jboss.Main "$@" &


mod_jk - exclude sub-dirs from tomcat with no-jk [relevance: 2.83]


2007-09-10 Digg! icurtain Delcious icurtain Technorati icurtain


excluding sub-directories from mod_jk and allowing apache to execute them natively can be done with with SetEnvIf no-jk. simply add the following code to either the httpd.conf or the mod-jk.conf


DocumentRoot /var/www/html/
SetEnvIf Request_URI "/munin/*" no-jk
JkMount /* ajp13

In this case we are running munin with jboss/tomcat and want to run the perl code in the apache httpd environment at the same time forwarding all other requests to the root /* to the jboss/tomcat server


Setting up JBOSS Seam [relevance: 2.71]


2007-11-30 Digg! icurtain Delcious icurtain Technorati icurtain


from a command prompt/shell within the jboss-seam directory type the following:

seam new-project

seam generate-entities


Installing Java on Linux [relevance: 2.27]


2007-08-31 Digg! icurtain Delcious icurtain Technorati icurtain


Install:

chmod +x jdk-6u2-linux-i586-rpm.bin

./jdk-6u2-linux-i586-rpm.bin

Follow prompts [yes]/[no] etc

If it gives the error message

error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Then you have to download

compat-libstdc++-33-3.2.3-47.fc4.i386.rpm

which can be found

ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/

or by googling it

rpm -i compat-libstdc++-33-3.2.3-47.fc4.i386.rpm
or # yum install libstdc++.so.5

The SDK installed in /usr/java/jdk/

add path to $HOME/.bash_profile

PATH=/usr/java/jdk/bin:$PATH:$HOME/bin:./

export PATH

export JAVA_HOME=/usr/java/jdk

export CLASSPATH=/usr/java/jdk/lib/tools.jar:/usr/java/jdk/jre/lib/rt.jar:./

Possible Issues

When installing Jboss 4.2.1.GA it throws a fit if you have anything less than Java 1.6 JRE and the 1.5 JDK installed - Centos installs it's own version of Java 1.4 to fulfil install dependencies and this seems to conflict with the Sun versions - make sure you uninstall GNU Java 1.4 from the package manager or any other way you fancy and then install first the 1.6 JRE followed by the 1.5 JDK. After that you can just drag a copy of Jboss onto the linux box and start it with /bin/./run.sh & (to spawn a process)