Use this forum for questions regarding installation, upgrading and configuration of OpenEMM
Moderator: moderator
-
Chris
- Posts: 5
- Joined: Wed Aug 09, 2006 10:35 am
- Location: FF/M Germany
Post
by Chris » Wed Aug 09, 2006 10:44 am
hallo,
hoffe es ist ok wenn ich hier auf deutsch poste....
ich versuch mich zzt. an einer test installation von openemm in einer offline umgebung auf kubuntu 6.06.
ich bin soweit der anleitung gefolgt & verwende meine bereits installierte jdk
Code: Select all
export JAVA_HOME=/usr/lib/j2sdk1.5-sun/
beim start von openemm bekomme ich folgenden fehler
Code: Select all
Starting sendmails: listener client queue can not chdir(/var/spool/clientmqueue/): No such file or directory
admin queue mail queue done.
wenn ich dann probiere openemm im browser aufzurufen kommt folgende fehlermeldung:
Code: Select all
404 Not Found
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
at javax.servlet.GenericServlet.init(GenericServlet.java:69)
at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:600)
at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:154)
at com.caucho.server.webapp.Application.start(Application.java:1604)
at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:621)
at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:584)
at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
at com.caucho.server.deploy.DeployController.request(DeployController.java:554)
at com.caucho.server.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:867)
at com.caucho.server.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:707)
at com.caucho.server.host.Host.buildInvocation(Host.java:424)
at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:350)
at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:616)
at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:198)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507)
at com.caucho.util.ThreadPool.run(ThreadPool.java:433)
at java.lang.Thread.run(Unknown Source)
wo liegt der fehler? bzw. was muss ich tun um ihn zu beheben?
ich muss gestehen das ich mich mit sendmail & co noch nicht wirklich beschäftigt habe....
vielen dank vorab,
chris
-
marton
- Posts: 36
- Joined: Wed Aug 09, 2006 2:51 pm
Post
by marton » Wed Aug 09, 2006 2:56 pm
hi chris,
hatte ein aehnliches problem unter fedora. check mal im environment, ob wirklich "JAVA_HOME=/..." und im classpath "/home/openemm/lib..." etc. eingetragen ist.
big shouts, martón
-
Chris
- Posts: 5
- Joined: Wed Aug 09, 2006 10:35 am
- Location: FF/M Germany
Post
by Chris » Wed Aug 09, 2006 7:16 pm
dank dir für deine antwort!
wobei das problem wohl eher beim loggin liegt....
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
ich werd mich weiter durch basteln. vielen dank nochmal
edit: ich installiers erstmal in ne vmware mit opensuse
-
tom
- Posts: 2
- Joined: Tue Aug 15, 2006 5:15 pm
Post
by tom » Tue Aug 15, 2006 5:17 pm
Can you explain how you solved this problem.
I have the same problem on fedora 5.
danke,
Tom
-
tom
- Posts: 2
- Joined: Tue Aug 15, 2006 5:15 pm
Post
by tom » Wed Aug 16, 2006 2:57 pm
The problem was with the openemm user. OpenEmm would not run using 'su openemm'
I changed the openemm user's password, logged in as openemm then I was able to run the program properly.
-
Chris
- Posts: 5
- Joined: Wed Aug 09, 2006 10:35 am
- Location: FF/M Germany
Post
by Chris » Wed Aug 16, 2006 4:34 pm
tom wrote:The problem was with the openemm user. OpenEmm would not run using 'su openemm'
I changed the openemm user's password, logged in as openemm then I was able to run the program properly.
it's the .bash_profile that isn't executed when su'ing

just manually export the path. e.g:
Code: Select all
export JAVA_HOME=/opt/openemm.org/software/java
export CLASSPATH=/home/openemm/lib/openemm/xercesImpl.jar:/home/openemm/lib/openemm/xml-apis.jar:/home/openemm/lib/openemm
export PATH=/opt/openemm.org/software/java/bin:$PATH:$HOME/bin
-
TWittmann
- Posts: 5
- Joined: Fri Aug 04, 2006 9:09 pm
Post
by TWittmann » Thu Aug 17, 2006 11:59 am
Make sure to use
su - openemm
The '-' is needed to use openemm's .bash_profile, which specifies the required environment variables.
Alternately you can specifiy the variables by hand, as stated above by Chris
Thomas Wittmann - Agnitas AG