Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0005988 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2008-11-17 12:03 | 2008-11-24 14:19 | |||
Reporter | FrancescoFinamore | View Status | public | |||||
Assigned To | jpabloae | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_10 | |||
OS Version | Ubuntu 8.1 | Database version | 8.3 | Ant version | 1.7.1 | |||
Product Version | 2.40 | SCM revision | 1.5.1 | |||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0005988: Deploying file war | |||||||
Description | From terminal i connect like root, launch 1) ant war 2) ant deploy 3) sh $CATALINA_HOME/bin/startup.sh the war isn't deployed because on log file catalina.out there is this message : org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive openbravo.war - Error configuring application listener of class org.openbravo.base.PeriodicBackgroundContextListener java.lang.ClassNotFoundException: org.openbravo.base.PeriodicBackgroundContextListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1363) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3712) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:831) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:720) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) - Skipped installing application listeners due to previous error(s) | |||||||
Steps To Reproduce | Open Terminal and 1) su 2) insert password 3) ant war 4) ant deploy 5) sh $CATALINA_HOME/bin/startup.sh 6) check /var/log/tomcat5.5/catalina.out | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0010540) jpabloae (viewer) 2008-11-24 10:13 |
Hi. The "ant deploy" task is known to malfunction in some situations (0002678). To see if this is the problem, please do this: 1. stop tomcat. 2. delete $CATALINA_BASE/webapps/openbravo and $CATALINA_BASE/webapps/openbravo.war 3. copy lib/openbravo.war into $CATALINA_BASE/webapps/ 4. start tomcat |
(0010555) FrancescoFinamore (viewer) 2008-11-24 12:25 |
Ok now it works, and i can connect to application. There is only a problem when i try to print every report made with jasperreport , the system give me this problem : type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.openbravo.base.exception.OBException: Exception thrown Could not initialize class sun.awt.SunToolkit org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:47) org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:75) sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218) |
(0010566) jpabloae (viewer) 2008-11-24 14:19 |
Ok, then I mark this as a duplicate of issue 0002678. About your jasperreports issue, check this: http://wiki.openbravo.com/wiki/Openbravo_environment_installation#Jasper_Reports [^] In Ubuntu you'll probably have to edit JAVA_OPTS in /etc/default/tomcat6 If you still have problems with this you can post it i the forums or in IRC. |
![]() |
|||
Date Modified | Username | Field | Change |
2008-11-17 12:03 | FrancescoFinamore | New Issue | |
2008-11-17 12:03 | FrancescoFinamore | Assigned To | => rafaroda |
2008-11-17 12:03 | FrancescoFinamore | sf_bug_id | 0 => 2304883 |
2008-11-24 10:13 | jpabloae | Note Added: 0010540 | |
2008-11-24 10:13 | jpabloae | Status | new => feedback |
2008-11-24 12:25 | FrancescoFinamore | Note Added: 0010555 | |
2008-11-24 14:14 | jpabloae | Assigned To | rafaroda => jpabloae |
2008-11-24 14:19 | jpabloae | Regression testing | => No |
2008-11-24 14:19 | jpabloae | Relationship added | duplicate of 0002678 |
2008-11-24 14:19 | jpabloae | Status | feedback => closed |
2008-11-24 14:19 | jpabloae | Note Added: 0010566 | |
2008-11-24 14:19 | jpabloae | Duplicate ID | 0 => 2678 |
2008-11-24 14:19 | jpabloae | Resolution | open => duplicate |
2008-11-24 14:19 | jpabloae | OBNetwork customer | => No |
2008-11-24 14:19 | jpabloae | Summary | Deployng file war => Deploying file war |
Copyright © 2000 - 2009 MantisBT Group |