Page 1 of 2

Can't send/receive email

PostPosted:Thu Jan 20, 2011 10:48 am
by foundstone
I am New on OpenKM.I tried to edit the mail-service.xml with the following setting. However, I still cannot send/receive email. Is there are any problem? I have installed OpenKM 5.0. and we are using secure SSL gmail. Please help!
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris@jboss.org $ -->
<server>

  <!-- ==================================================================== -->
  <!-- Mail Connection Factory                                              -->
  <!-- ==================================================================== -->

  <mbean code="org.jboss.mail.MailService"
         name="jboss:service=OpenKM">
    <attribute name="JNDIName">java:/OpenKM</attribute>
    <attribute name="User">backup</attribute>
    <attribute name="Password">backup123</attribute>
    <attribute name="Configuration">
      <!-- A test configuration -->
      <configuration>
        <!-- Change to your mail server prototocol -->
        <property name="mail.store.protocol" value="pop3"/>
        <property name="mail.transport.protocol" value="smtp"/>

        <!-- Change to the user who will receive mail  -->
        <property name="mail.user" value="backup@gmail.com"/>

        <!-- Change to the mail server  -->
        <property name="mail.pop3.host" value="pop.gmail.com"/>

        <!-- Change to the SMTP gateway server -->
        <property name="mail.smtp.host" value="smtp.gmail.com"/>
        <property name="mail.smpt.starttls.enable: value="true"/>
        <property name="mail.smtp.socketFactory.class" value="javax.net.ssl.SSLSocketFactory"/>

        <!-- The mail server port -->
        <property name="mail.smtp.port" value="465"/>
        <property name="mail.smtp.socketFactory.port" value="465"/>        

        <!-- Change to the address mail will be from  -->
        <property name="mail.from" value="backup@gmail.com"/>
        <property name="mail.smtp.user" value="backup@gmail.com"/>
        <property name="mail.smtp.password" value="backup123"/>
        <property name="mail.smtp.auth" value="true"/>

        <!-- Enable debugging output from the javamail classes -->
        <property name="mail.debug" value="false"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>

  <!-- OpenKM -->
  <mbean code="org.jboss.mail.MailService" name="jboss:service=OpenKM">
    <attribute name="JNDIName">java:/mail/OpenKM</attribute>
    <attribute name="User">nobody</attribute>
    <attribute name="Password">password</attribute>
    <attribute name="Configuration">
      <configuration>
        <property name="mail.transport.protocol" value="smtp"/>
        <property name="mail.smtp.host" value="localhost"/>
        <property name="mail.smtp.port" value="25"/>
        <property name="mail.from" value="noreply@openkm.com"/>
        <property name="mail.debug" value="true"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>
</server>

Re: Can't send/receive email

PostPosted:Thu Jan 20, 2011 1:27 pm
by pavila
Have you read http://wiki.openkm.com/index.php/JBoss_ ... figuration? Last time I checked the gmail configuration was working fine.

Re: Can't send/receive email

PostPosted:Thu Jan 20, 2011 3:41 pm
by foundstone
Yes, I read it. I tried to modify the mail-service.xml according to wiki document.

I want to clarify is which pararmeters should I change? Only email address and password?

Besides, do I need to configure the OpenKM.cfg?

Thank you.

Chris Man

Re: Can't send/receive email

PostPosted:Fri Jan 21, 2011 8:53 am
by jllort
In order enabling mailing, you must have mail-service.xml configured and application.url property in Ope3nKM.cfg ( that's the url sends OpenKM in body mail text )

Re: Can't send/receive email

PostPosted:Fri Jan 21, 2011 9:52 am
by foundstone
Hi jllort,

I found a error message when startup server.
Code: Select all
--Incompletely deployed packages---
org.jboss.deployment.DeploymentInfo@199ab94 {url=file:/opt/jboss-4.2.3.GA/server/y/mail-service.xml}

deployer: org.jboss.deployment.SARDeployer@15c07d8
status:null
state: FAILDED
watch: file:/opt/jboss-4.2.3.GA/server/default/deploy/mail-service.xml
altDD:null
lastDeployed: 1295602513754
lasstModified: 129560251300
mbeans:
Do you know what the problem is?

Thank you~

Chris Man

Re: Can't send/receive email

PostPosted:Sat Jan 22, 2011 9:56 am
by foundstone
jllort wrote:In order enabling mailing, you must have mail-service.xml configured and application.url property in Ope3nKM.cfg ( that's the url sends OpenKM in body mail text )
I still cannot send email. How can I fix the problem? Anyone help??

Thank you~

Chris Man

Startup Log
Code: Select all
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /opt/jboss-4.2.3.GA

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -Xms256m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true

  CLASSPATH: /opt/jboss-4.2.3.GA/bin/run.jar

=========================================================================

17:25:47,946 INFO  [Server] Starting JBoss (MX MicroKernel)...
17:25:47,947 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
17:25:47,948 INFO  [Server] Home Dir: /opt/jboss-4.2.3.GA
17:25:47,948 INFO  [Server] Home URL: file:/opt/jboss-4.2.3.GA/
17:25:47,948 INFO  [Server] Patch URL: null
17:25:47,948 INFO  [Server] Server Name: default
17:25:47,948 INFO  [Server] Server Home Dir: /opt/jboss-4.2.3.GA/server/default
17:25:47,948 INFO  [Server] Server Home URL: file:/opt/jboss-4.2.3.GA/server/default/
17:25:47,949 INFO  [Server] Server Log Dir: /opt/jboss-4.2.3.GA/server/default/log
17:25:47,949 INFO  [Server] Server Temp Dir: /opt/jboss-4.2.3.GA/server/default/tmp
17:25:47,949 INFO  [Server] Root Deployment Filename: jboss-service.xml
17:25:48,118 INFO  [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
17:25:48,118 INFO  [ServerInfo] Java VM: OpenJDK Server VM 1.6.0-b09,Sun Microsystems Inc.
17:25:48,118 INFO  [ServerInfo] OS-System: Linux 2.6.18-164.el5PAE,i386
17:25:48,342 INFO  [Server] Core system initialized
17:25:49,733 INFO  [WebService] Using RMI server codebase: http://sun.locuslearning.com:8083/
17:25:49,734 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
17:25:51,850 INFO  [EJB3Deployer] Starting java:comp multiplexer
17:25:53,299 INFO  [NativeServerConfig] JBoss Web Services - Native
17:25:53,299 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
17:25:53,835 INFO  [Embedded] Catalina naming disabled
17:25:53,928 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
17:25:53,969 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
17:25:53,969 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
17:25:53,969 INFO  [Catalina] Initialization processed in 133 ms
17:25:53,969 INFO  [StandardService] Starting service jboss.web
17:25:53,971 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
17:25:54,021 INFO  [Catalina] Server startup in 51 ms
17:25:54,088 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
17:25:54,439 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
17:25:54,523 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
17:25:54,594 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
17:25:55,128 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
17:25:55,424 ERROR [STDERR] [Fatal Error] tmp820923917807080716mail-service.xml:29:59: Element type "property" must be followed by either attribute specifications, ">" or "/>".
17:25:55,426 ERROR [MainDeployer] Could not initialise deployment: file:/opt/jboss-4.2.3.GA/server/default/deploy/mail-service.xml
org.jboss.deployment.DeploymentException: Element type "property" must be followed by either attribute specifications, ">" or "/>".; - nested throwable: (org.xml.sax.SAXParseException: Element type "property" must be followed by either attribute specifications, ">" or "/>".)
	at org.jboss.deployment.SARDeployer.init(SARDeployer.java:219)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy9.deploy(Unknown Source)
	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy4.start(Unknown Source)
	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy5.deploy(Unknown Source)
	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
	at org.jboss.Main.boot(Main.java:200)
	at org.jboss.Main$1.run(Main.java:508)
	at java.lang.Thread.run(Thread.java:636)
Caused by: org.xml.sax.SAXParseException: Element type "property" must be followed by either attribute specifications, ">" or "/>".
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:624)
	at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
	... 67 more
17:25:55,494 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
17:25:55,519 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
17:25:55,539 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
17:25:55,555 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
17:25:55,615 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
17:25:55,628 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
17:25:55,665 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
17:25:55,670 INFO  [QuartzResourceAdapter] start quartz!!!
17:25:55,715 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
17:25:55,729 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
17:25:55,731 INFO  [RAMJobStore] RAMJobStore initialized.
17:25:55,731 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
17:25:55,731 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
17:25:55,731 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
17:25:56,088 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
17:25:56,253 INFO  [A] Bound to JNDI name: queue/A
17:25:56,254 INFO  [B] Bound to JNDI name: queue/B
17:25:56,255 INFO  [C] Bound to JNDI name: queue/C
17:25:56,256 INFO  [D] Bound to JNDI name: queue/D
17:25:56,257 INFO  [ex] Bound to JNDI name: queue/ex
17:25:56,271 INFO  [testTopic] Bound to JNDI name: topic/testTopic
17:25:56,274 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
17:25:56,275 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
17:25:56,277 INFO  [testQueue] Bound to JNDI name: queue/testQueue
17:25:56,302 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
17:25:56,323 INFO  [DLQ] Bound to JNDI name: queue/DLQ
17:25:56,434 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
17:25:56,840 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=OpenKMDS' to JNDI name 'java:OpenKMDS'
17:25:59,957 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMNote
17:25:59,958 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMWorkflow
17:25:59,959 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMPropertyGroup
17:25:59,960 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMFolder
17:25:59,960 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMNotification
17:25:59,961 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMProperty
17:25:59,961 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMAuth
17:25:59,962 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMMail
17:25:59,963 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMDocument
17:25:59,963 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMSearch
17:25:59,964 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMTest
17:25:59,965 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMRepository
17:25:59,965 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMBookmark
17:26:00,054 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.RepositoryStartupServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.WebdavServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: org.jbpm.web.ProcessUploadServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMWorkspaceServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMDocumentServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMAuthServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMRepositoryServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMFolderServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMPropertyGroupServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMDownloadServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMDashboardServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMGeneralServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMNotifyServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMWorkflowServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMSearchServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMFileUploadServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMBookmarkServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMMailServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMThesaurusServlet
17:26:00,055 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMPropertyServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMChatServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMUserConfigServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMNoteServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.mobi.HandlerServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.SyndicationServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.MimeIconServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.TextToSpeechServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.StatsGraphServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RepositoryBackupServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RepositoryCheckerServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.WorkflowGraphServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RegisterWorkflowServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.ReportServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.CronTabServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.BenchmarkServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.LogCatServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RepositoryViewServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.DatabaseQueryServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.AuthServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.PropertyGroupsServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.ActivityLogServlet
17:26:00,056 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.LoggedUsersServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.MailAccountServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.TwitterAccountServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.WorkflowServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.MimeTypeServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.ProfileServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.UserConfigServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.ActiveSessionsServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RepositorySearchServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.CheckEmailServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.extension.OKMStaplingServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.extension.StaplingDownloadServlet
17:26:00,057 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.TestServlet
17:26:00,086 INFO  [TomcatDeployer] deploy, ctxPath=/OpenKM, warUrl=.../tmp/deploy/tmp8857037459695132815OpenKM-exp.war/
17:26:00,630 INFO  [RepositoryImpl] Starting repository...
17:26:00,642 INFO  [LocalFileSystem] LocalFileSystem initialized at path /opt/jboss-4.2.3.GA/repository/repository
17:26:00,767 INFO  [LocalFileSystem] LocalFileSystem initialized at path /opt/jboss-4.2.3.GA/repository/version
17:26:04,038 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.5.3.0 - (802917)
17:26:04,038 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.5.3.0 - (802917)
17:26:04,539 INFO  [RepositoryImpl] initializing workspace 'default'...
17:26:04,539 INFO  [LocalFileSystem] LocalFileSystem initialized at path /opt/jboss-4.2.3.GA/repository/workspaces/default
17:26:04,552 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.5.3.0 - (802917)
17:26:04,553 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.5.3.0 - (802917)
17:26:05,044 INFO  [SearchIndex] Index initialized: /opt/jboss-4.2.3.GA/repository/repository/index Version: 3
17:26:05,123 INFO  [SearchIndex] Index initialized: /opt/jboss-4.2.3.GA/repository/workspaces/default/index Version: 3
17:26:05,123 INFO  [RepositoryImpl] workspace 'default' initialized
17:26:05,123 INFO  [RepositoryImpl] Repository started
17:26:05,131 INFO  [SimpleSecurityManager] init: using JAAS LoginModule configuration for OpenKM
17:26:05,136 INFO  [RepositoryImpl] SecurityManager = class org.apache.jackrabbit.core.security.simple.SimpleSecurityManager
17:26:08,691 ERROR [STDERR] Jan 22, 2011 5:26:08 PM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager <init>
INFO: ProcessManager implementation is UnixProcessManager
17:26:08,777 ERROR [STDERR] Jan 22, 2011 5:26:08 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1' and profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-8100'
17:26:08,830 ERROR [STDERR] Jan 22, 2011 5:26:08 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 3111
17:26:39,030 WARN  [RepositoryStartupServlet] failed to start and connect
org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
	at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:61)
	at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:102)
	at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:59)
	at com.openkm.util.DocConverter.start(DocConverter.java:115)
	at com.openkm.servlet.RepositoryStartupServlet.init(RepositoryStartupServlet.java:212)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
	at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
	at org.jboss.web.WebModule.startModule(WebModule.java:83)
	at org.jboss.web.WebModule.startService(WebModule.java:61)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy44.start(Unknown Source)
	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
	at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
	at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
	at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
	at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy45.start(Unknown Source)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy9.deploy(Unknown Source)
	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy4.start(Unknown Source)
	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy5.deploy(Unknown Source)
	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
	at org.jboss.Main.boot(Main.java:200)
	at org.jboss.Main$1.run(Main.java:508)
	at java.lang.Thread.run(Thread.java:636)
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
	at java.util.concurrent.FutureTask.get(FutureTask.java:111)
	at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:59)
	... 142 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
	at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:123)
	at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:31)
	at org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:55)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	... 1 more
Caused by: org.artofsolving.jodconverter.office.RetryTimeoutException: java.net.ConnectException: connection failed: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'; java.net.ConnectException: Connection refused
	at org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:48)
	at org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:31)
	at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:113)
	... 8 more
Caused by: java.net.ConnectException: connection failed: 'socket,host=127.0.0.1,port=8100,tcpNoDelay=1'; java.net.ConnectException: Connection refused
	at org.artofsolving.jodconverter.office.OfficeConnection.connect(OfficeConnection.java:101)
	at org.artofsolving.jodconverter.office.ManagedOfficeProcess$6.attempt(ManagedOfficeProcess.java:116)
	at org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:41)
	... 10 more
17:26:39,038 WARN  [ExecutionUtils] Unable to read script: /opt/jboss-4.2.3.GA/start.bsh
17:26:39,039 WARN  [ExecutionUtils] Unable to read jar: /opt/jboss-4.2.3.GA/start.jar
17:26:39,088 INFO  [SimpleWebdavServlet] resource-path-prefix = '/repository'
17:26:39,088 INFO  [SimpleWebdavServlet] WWW-Authenticate header = 'Basic realm="OpenKM Webdav Server"'
17:26:42,705 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMNoteService1360174649586344434.wsdl
17:26:42,717 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMWorkflowService5979682206916998666.wsdl
17:26:42,722 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMPropertyGroupService204587561304855328.wsdl
17:26:42,726 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMFolderService5835025090988036798.wsdl
17:26:42,728 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMNotificationService1812483184635847714.wsdl
17:26:42,731 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMPropertyService4021532580496314681.wsdl
17:26:42,734 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMAuthService940315743595486300.wsdl
17:26:42,738 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMMailService791280648664225992.wsdl
17:26:42,746 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMDocumentService7466658466960210690.wsdl
17:26:42,751 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMSearchService2673876491156711210.wsdl
17:26:42,753 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMTestService1560797930168216093.wsdl
17:26:42,756 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMRepositoryService2942030473246588765.wsdl
17:26:42,759 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMBookmarkService1787440297345489162.wsdl
17:26:43,042 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
17:26:43,085 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@199ab94 { url=file:/opt/jboss-4.2.3.GA/server/default/deploy/mail-service.xml }
  deployer: org.jboss.deployment.SARDeployer@15c07d8
  status: null
  state: FAILED
  watch: file:/opt/jboss-4.2.3.GA/server/default/deploy/mail-service.xml
  altDD: null
  lastDeployed: 1295688355425
  lastModified: 1295688355000
  mbeans:


17:26:43,430 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
17:26:43,476 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
17:26:43,595 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 55s:645ms
When I try to send mail to other people, an error message exist.
Code: Select all

18:02:26,993 ERROR [STDERR] javax.naming.NameNotFoundException: mail not bound
18:02:26,993 ERROR [STDERR] 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
18:02:26,993 ERROR [STDERR] 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
18:02:26,994 ERROR [STDERR] 	at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
18:02:26,994 ERROR [STDERR] 	at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
18:02:26,994 ERROR [STDERR] 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
18:02:26,994 ERROR [STDERR] 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
18:02:26,994 ERROR [STDERR] 	at javax.naming.InitialContext.lookup(InitialContext.java:409)
18:02:26,994 ERROR [STDERR] 	at com.openkm.util.MailUtils.send(MailUtils.java:224)
18:02:26,994 ERROR [STDERR] 	at com.openkm.util.MailUtils.sendMessage(MailUtils.java:156)
18:02:26,994 ERROR [STDERR] 	at com.openkm.module.direct.DirectNotificationModule.notify(DirectNotificationModule.java:298)
18:02:26,994 ERROR [STDERR] 	at com.openkm.api.OKMNotification.notify(OKMNotification.java:83)
18:02:26,994 ERROR [STDERR] 	at com.openkm.frontend.server.OKMNotifyServlet.notify(OKMNotifyServlet.java:130)
18:02:26,994 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18:02:26,994 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
18:02:26,994 ERROR [STDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18:02:26,994 ERROR [STDERR] 	at java.lang.reflect.Method.invoke(Method.java:616)
18:02:26,994 ERROR [STDERR] 	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
18:02:26,994 ERROR [STDERR] 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
18:02:26,994 ERROR [STDERR] 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
18:02:26,994 ERROR [STDERR] 	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
18:02:26,994 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
18:02:26,994 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
18:02:26,994 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
18:02:26,994 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
18:02:26,994 ERROR [STDERR] 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
18:02:26,994 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
18:02:26,994 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
18:02:26,994 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
18:02:26,994 ERROR [STDERR] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
18:02:26,994 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
18:02:26,994 ERROR [STDERR] 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
18:02:26,994 ERROR [STDERR] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
18:02:26,994 ERROR [STDERR] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
18:02:26,995 ERROR [STDERR] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
18:02:26,995 ERROR [STDERR] 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
18:02:26,995 ERROR [STDERR] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
18:02:26,995 ERROR [STDERR] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
18:02:26,995 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
18:02:26,995 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
18:02:26,995 ERROR [STDERR] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
18:02:26,995 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:636)


Re: Can't send/receive email

PostPosted:Sat Jan 22, 2011 6:55 pm
by jllort
Error is clear
Code: Select all
17:25:55,426 ERROR [MainDeployer] Could not initialise deployment: file:/opt/jboss-4.2.3.GA/server/default/deploy/mail-service.xml
org.jboss.deployment.DeploymentException: Element type "property" must be followed by either attribute specifications, ">" or "/>".; - nested throwable: (org.xml.sax.SAXParseException: Element type "property" must be followed by either attribute specifications, ">" or "/>".)
Something is bad writen in you mail-service.xml file. This file can be changed while jboss is running ... I suggest delete some parts and save trying to find which is badly writen.

Re: Can't send/receive email -SOLVED

PostPosted:Mon Jan 24, 2011 5:24 am
by foundstone
Thank you jillort! I solved my email problem now..

Thank you~

Chris Man

I tried to re-config the file, however, there are another problem exist..

Here is my mail-service.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris@jboss.org $ -->
<server>

  <!-- ==================================================================== -->
  <!-- Mail Connection Factory                                              -->
  <!-- ==================================================================== -->

  <mbean code="org.jboss.mail.MailService"
         name="jboss:service=Mail">
    <attribute name="JNDIName">java:/Mail</attribute>
    <attribute name="User">backup@abc.com</attribute>
    <attribute name="Password">backup</attribute>
    <attribute name="Configuration">
      <!-- A test configuration -->
      <configuration>
        <!-- Change to your mail server prototocol -->
        <property name="mail.store.protocol" value="pop3"/>
        <property name="mail.transport.protocol" value="smtp"/>

        <!-- Change to the user who will receive mail  -->
        <property name="mail.user" value="backup@abc.com"/>

        <!-- Change to the mail server  -->
        <property name="mail.pop3.host" value="pop.gmail.com"/>

        <!-- Change to the SMTP gateway server -->
        <property name="mail.smtp.host" value="smtp.gmail.com"/>
        <property name="mail.smtp.starttls.enable" value="true" />
        <property name="mail.smtp.socketFactory.class" value="javax.net.ssl.SSLSocketFactory" />

        <!-- The mail server port -->
        <property name="mail.smtp.port" value="465"/>
        <property name="mail.smtp.socketFactory.port" value="465" />

        <!-- Change to the address mail will be from  -->
        <property name="mail.from" value="backup@abc.com"/>
        <property name="mail.smtp.user" value="backup@abc.com"/>
        <property name="mail.smtp.password" value="backup"/>
        <property name="mail.smtp.auth" value="true"/>

        <!-- Enable debugging output from the javamail classes -->
        <property name="mail.debug" value="false"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>

  <!-- OpenKM -->
  <mbean code="org.jboss.mail.MailService" name="jboss:service=OpenKM">
    <attribute name="JNDIName">java:/mail/OpenKM</attribute>
    <attribute name="User">backup@abc.com</attribute>
    <attribute name="Password">backup</attribute>
    <attribute name="Configuration">
      <configuration>
        <property name="mail.transport.protocol" value="smtp"/>
        <property name="mail.smtp.host" value="smtp.gmail.com"/>
        <property name="mail.smtp.port" value="465"/>
        <property name="mail.from" value="backup@abc.com"/>
        <property name="mail.debug" value="true"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>
</server>
Here is the startup log
Code: Select all
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /opt/jboss-4.2.3.GA

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -Xms256m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true

  CLASSPATH: /opt/jboss-4.2.3.GA/bin/run.jar

=========================================================================

13:14:06,062 INFO  [Server] Starting JBoss (MX MicroKernel)...
13:14:06,063 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)
13:14:06,063 INFO  [Server] Home Dir: /opt/jboss-4.2.3.GA
13:14:06,063 INFO  [Server] Home URL: file:/opt/jboss-4.2.3.GA/
13:14:06,064 INFO  [Server] Patch URL: null
13:14:06,064 INFO  [Server] Server Name: default
13:14:06,064 INFO  [Server] Server Home Dir: /opt/jboss-4.2.3.GA/server/default
13:14:06,064 INFO  [Server] Server Home URL: file:/opt/jboss-4.2.3.GA/server/default/
13:14:06,064 INFO  [Server] Server Log Dir: /opt/jboss-4.2.3.GA/server/default/log
13:14:06,064 INFO  [Server] Server Temp Dir: /opt/jboss-4.2.3.GA/server/default/tmp
13:14:06,065 INFO  [Server] Root Deployment Filename: jboss-service.xml
13:14:06,234 INFO  [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
13:14:06,234 INFO  [ServerInfo] Java VM: OpenJDK Server VM 1.6.0-b09,Sun Microsystems Inc.
13:14:06,234 INFO  [ServerInfo] OS-System: Linux 2.6.18-164.el5PAE,i386
13:14:06,458 INFO  [Server] Core system initialized
13:14:07,862 INFO  [WebService] Using RMI server codebase: http://sun.locuslearning.com:8083/
13:14:07,864 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
13:14:09,960 INFO  [EJB3Deployer] Starting java:comp multiplexer
13:14:11,443 INFO  [NativeServerConfig] JBoss Web Services - Native
13:14:11,444 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
13:14:11,969 INFO  [Embedded] Catalina naming disabled
13:14:12,060 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
13:14:12,100 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
13:14:12,100 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
13:14:12,101 INFO  [Catalina] Initialization processed in 131 ms
13:14:12,101 INFO  [StandardService] Starting service jboss.web
13:14:12,102 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
13:14:12,151 INFO  [Catalina] Server startup in 50 ms
13:14:12,217 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
13:14:12,547 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
13:14:12,619 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
13:14:12,669 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
13:14:13,055 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
13:14:13,328 INFO  [MailService] Mail Service bound to java:/Mail
13:14:13,329 INFO  [STDOUT] DEBUG: JavaMail version 1.4ea
13:14:13,329 INFO  [STDOUT] DEBUG: java.io.FileNotFoundException: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/javamail.providers (No such file or directory)
13:14:13,330 INFO  [STDOUT] DEBUG: !anyLoaded
13:14:13,330 INFO  [STDOUT] DEBUG: not loading resource: /META-INF/javamail.providers
13:14:13,330 INFO  [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
13:14:13,330 INFO  [STDOUT] DEBUG: Tables of loaded providers
13:14:13,331 INFO  [STDOUT] DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
13:14:13,331 INFO  [STDOUT] DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
13:14:13,331 INFO  [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
13:14:13,331 INFO  [STDOUT] DEBUG: !anyLoaded
13:14:13,331 INFO  [STDOUT] DEBUG: not loading resource: /META-INF/javamail.address.map
13:14:13,332 INFO  [STDOUT] DEBUG: java.io.FileNotFoundException: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/javamail.address.map (No such file or directory)
13:14:13,332 INFO  [MailService] Mail Service bound to java:/mail/OpenKM
13:14:13,405 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
13:14:13,423 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
13:14:13,437 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
13:14:13,452 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
13:14:13,481 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
13:14:13,496 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
13:14:13,515 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
13:14:13,520 INFO  [QuartzResourceAdapter] start quartz!!!
13:14:13,561 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
13:14:13,575 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
13:14:13,577 INFO  [RAMJobStore] RAMJobStore initialized.
13:14:13,577 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
13:14:13,577 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
13:14:13,577 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
13:14:13,937 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
13:14:14,105 INFO  [A] Bound to JNDI name: queue/A
13:14:14,106 INFO  [B] Bound to JNDI name: queue/B
13:14:14,107 INFO  [C] Bound to JNDI name: queue/C
13:14:14,108 INFO  [D] Bound to JNDI name: queue/D
13:14:14,109 INFO  [ex] Bound to JNDI name: queue/ex
13:14:14,121 INFO  [testTopic] Bound to JNDI name: topic/testTopic
13:14:14,123 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
13:14:14,124 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
13:14:14,126 INFO  [testQueue] Bound to JNDI name: queue/testQueue
13:14:14,154 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
13:14:14,175 INFO  [DLQ] Bound to JNDI name: queue/DLQ
13:14:14,240 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
13:14:14,806 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=OpenKMDS' to JNDI name 'java:OpenKMDS'
13:14:17,953 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMNote
13:14:17,955 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMWorkflow
13:14:17,955 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMPropertyGroup
13:14:17,956 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMFolder
13:14:17,957 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMNotification
13:14:17,959 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMProperty
13:14:17,960 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMAuth
13:14:17,962 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMMail
13:14:17,963 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMDocument
13:14:17,964 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMSearch
13:14:17,964 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMTest
13:14:17,965 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMRepository
13:14:17,965 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=OpenKM,endpoint=OKMBookmark
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.RepositoryStartupServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.WebdavServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: org.jbpm.web.ProcessUploadServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMWorkspaceServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMDocumentServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMAuthServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMRepositoryServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMFolderServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMPropertyGroupServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMDownloadServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMDashboardServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMGeneralServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMNotifyServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMWorkflowServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMSearchServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMFileUploadServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMBookmarkServlet
13:14:18,035 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMMailServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMThesaurusServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMPropertyServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMChatServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMUserConfigServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.OKMNoteServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.mobi.HandlerServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.SyndicationServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.MimeIconServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.TextToSpeechServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.StatsGraphServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RepositoryBackupServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RepositoryCheckerServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.WorkflowGraphServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RegisterWorkflowServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.ReportServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.CronTabServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.BenchmarkServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.LogCatServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RepositoryViewServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.DatabaseQueryServlet
13:14:18,036 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.AuthServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.PropertyGroupsServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.ActivityLogServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.LoggedUsersServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.MailAccountServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.TwitterAccountServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.WorkflowServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.MimeTypeServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.ProfileServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.UserConfigServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.ActiveSessionsServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.RepositorySearchServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.admin.CheckEmailServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.frontend.server.extension.OKMStaplingServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.extension.StaplingDownloadServlet
13:14:18,037 INFO  [DefaultWebAppDesciptorModifierImpl] Ignore servlet: com.openkm.servlet.TestServlet
13:14:18,074 INFO  [TomcatDeployer] deploy, ctxPath=/OpenKM, warUrl=.../tmp/deploy/tmp5186368372034788724OpenKM-exp.war/
13:14:18,654 INFO  [RepositoryImpl] Starting repository...
13:14:18,666 INFO  [LocalFileSystem] LocalFileSystem initialized at path /opt/jboss-4.2.3.GA/repository/repository
13:14:18,800 INFO  [LocalFileSystem] LocalFileSystem initialized at path /opt/jboss-4.2.3.GA/repository/version
13:14:21,902 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.5.3.0 - (802917)
13:14:21,902 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.5.3.0 - (802917)
13:14:22,402 INFO  [RepositoryImpl] initializing workspace 'default'...
13:14:22,402 INFO  [LocalFileSystem] LocalFileSystem initialized at path /opt/jboss-4.2.3.GA/repository/workspaces/default
13:14:22,418 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.5.3.0 - (802917)
13:14:22,418 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.5.3.0 - (802917)
13:14:22,917 INFO  [SearchIndex] Index initialized: /opt/jboss-4.2.3.GA/repository/repository/index Version: 3
13:14:23,001 INFO  [SearchIndex] Index initialized: /opt/jboss-4.2.3.GA/repository/workspaces/default/index Version: 3
13:14:23,001 INFO  [RepositoryImpl] workspace 'default' initialized
13:14:23,001 INFO  [RepositoryImpl] Repository started
13:14:23,009 INFO  [SimpleSecurityManager] init: using JAAS LoginModule configuration for OpenKM
13:14:23,014 INFO  [RepositoryImpl] SecurityManager = class org.apache.jackrabbit.core.security.simple.SimpleSecurityManager
13:14:26,668 WARN  [RepositoryStartupServlet] invalid officeHome: it doesn't contain soffice.bin: /usr/lib/openoffice.org
java.lang.IllegalStateException: invalid officeHome: it doesn't contain soffice.bin: /usr/lib/openoffice.org
	at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:119)
	at com.openkm.util.DocConverter.getInstance(DocConverter.java:97)
	at com.openkm.servlet.RepositoryStartupServlet.init(RepositoryStartupServlet.java:212)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
	at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
	at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
	at org.jboss.web.WebModule.startModule(WebModule.java:83)
	at org.jboss.web.WebModule.startService(WebModule.java:61)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy44.start(Unknown Source)
	at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
	at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
	at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
	at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
	at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy45.start(Unknown Source)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy9.deploy(Unknown Source)
	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
	at $Proxy0.start(Unknown Source)
	at org.jboss.system.ServiceController.start(ServiceController.java:417)
	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy4.start(Unknown Source)
	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
	at $Proxy5.deploy(Unknown Source)
	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
	at org.jboss.Main.boot(Main.java:200)
	at org.jboss.Main$1.run(Main.java:508)
	at java.lang.Thread.run(Thread.java:636)
13:14:26,670 WARN  [ExecutionUtils] Unable to read script: /opt/jboss-4.2.3.GA/start.bsh
13:14:26,670 WARN  [ExecutionUtils] Unable to read jar: /opt/jboss-4.2.3.GA/start.jar
13:14:26,694 INFO  [SimpleWebdavServlet] resource-path-prefix = '/repository'
13:14:26,694 INFO  [SimpleWebdavServlet] WWW-Authenticate header = 'Basic realm="OpenKM Webdav Server"'
13:14:30,546 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMNoteService394284517267247313.wsdl
13:14:30,558 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMWorkflowService8894962375182933120.wsdl
13:14:30,564 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMPropertyGroupService4483224573726676734.wsdl
13:14:30,567 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMFolderService6594691638314483715.wsdl
13:14:30,570 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMNotificationService8080694048583612965.wsdl
13:14:30,572 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMPropertyService1638170843003328382.wsdl
13:14:30,575 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMAuthService3123712786444340383.wsdl
13:14:30,579 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMMailService857766669182471822.wsdl
13:14:30,587 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMDocumentService7703551413670493520.wsdl
13:14:30,592 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMSearchService5737977473281966523.wsdl
13:14:30,594 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMTestService662399122066867906.wsdl
13:14:30,597 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMRepositoryService202325399171407410.wsdl
13:14:30,600 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.2.3.GA/server/default/data/wsdl/OpenKM.war/OKMBookmarkService5963069519676063183.wsdl
13:14:30,950 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
13:14:31,123 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
13:14:31,140 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
13:14:31,242 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 25s:176ms
13:16:04,959 INFO  [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
13:16:05,192 INFO  [STDOUT] DEBUG SMTP: useEhlo true, useAuth false
13:16:05,192 INFO  [STDOUT] DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL false
13:16:17,176 INFO  [Server] Shutting down the server, blockingShutdown: false
13:16:17,177 INFO  [Server] Server exit(0) called
13:16:17,187 INFO  [Server] Runtime shutdown hook called, forceHalt: true
13:16:17,187 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
13:16:17,199 INFO  [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
13:16:17,236 INFO  [TomcatDeployer] undeploy, ctxPath=/OpenKM, warUrl=.../tmp/deploy/tmp5186368372034788724OpenKM-exp.war/
13:16:17,240 INFO  [StandardWrapper] Waiting for 1 instance(s) to be deallocated
13:16:18,260 INFO  [StandardWrapper] Waiting for 1 instance(s) to be deallocated
13:16:19,280 INFO  [StandardWrapper] Waiting for 1 instance(s) to be deallocated
13:16:19,398 INFO  [RepositoryImpl] Shutting down repository...
13:16:19,407 INFO  [IndexMerger] IndexMerger terminated
13:16:19,427 INFO  [SearchIndex] Index closed: /opt/jboss-4.2.3.GA/repository/repository/index
13:16:19,428 INFO  [RepositoryImpl] shutting down workspace 'default'...
13:16:19,429 INFO  [ObservationDispatcher] Notification of EventListeners stopped.
13:16:19,430 INFO  [IndexMerger] IndexMerger terminated
13:16:19,445 INFO  [SearchIndex] Index closed: /opt/jboss-4.2.3.GA/repository/workspaces/default/index
13:16:19,489 INFO  [DerbyPersistenceManager] Database '/opt/jboss-4.2.3.GA/repository/workspaces/default/db' shutdown.
13:16:19,490 INFO  [RepositoryImpl] workspace 'default' has been shutdown
13:16:19,505 INFO  [DerbyPersistenceManager] Database '/opt/jboss-4.2.3.GA/repository/version/db' shutdown.
13:16:19,519 INFO  [RepositoryImpl] Repository has been shutdown
13:16:19,519 WARN  [ExecutionUtils] Unable to read script: /opt/jboss-4.2.3.GA/stop.bsh
13:16:19,520 WARN  [ExecutionUtils] Unable to read jar: /opt/jboss-4.2.3.GA/stop.jar
13:16:19,940 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMNote
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMWorkflow
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMPropertyGroup
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMFolder
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMNotification
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMProperty
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMAuth
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMMail
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMDocument
13:16:19,944 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMSearch
13:16:19,945 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMTest
13:16:19,945 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMRepository
13:16:19,945 INFO  [DefaultEndpointRegistry] remove: jboss.ws:context=OpenKM,endpoint=OKMBookmark
13:16:20,029 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=OpenKMDS' from JNDI name 'java:OpenKMDS'
13:16:20,644 INFO  [HypersonicDatabase] Database standalone closed clean
13:16:20,655 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' from JNDI name 'java:JmsXA'
13:16:20,698 INFO  [testTopic] Unbinding JNDI name: topic/testTopic
13:16:20,703 INFO  [securedTopic] Unbinding JNDI name: topic/securedTopic
13:16:20,703 INFO  [testDurableTopic] Unbinding JNDI name: topic/testDurableTopic
13:16:20,703 INFO  [testQueue] Unbinding JNDI name: queue/testQueue
13:16:20,706 INFO  [A] Unbinding JNDI name: queue/A
13:16:20,707 INFO  [B] Unbinding JNDI name: queue/B
13:16:20,707 INFO  [C] Unbinding JNDI name: queue/C
13:16:20,707 INFO  [D] Unbinding JNDI name: queue/D
13:16:20,708 INFO  [ex] Unbinding JNDI name: queue/ex
13:16:20,709 INFO  [DLQ] Unbinding JNDI name: queue/DLQ
13:16:20,717 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS'
13:16:21,529 INFO  [HypersonicDatabase] Database standalone closed clean
13:16:21,553 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down.
13:16:21,553 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused.
13:16:21,559 INFO  [SimpleThreadPool] There are still 36 worker threads active. See javadoc runInThread(Runnable) for a possible explanation
13:16:21,559 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.
13:16:21,578 INFO  [MailService] Mail service 'java:/mail/OpenKM' removed from JNDI
13:16:21,578 INFO  [MailService] Mail service 'java:/Mail' removed from JNDI
13:16:21,582 INFO  [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
13:16:21,609 INFO  [Http11Protocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080
13:16:21,609 INFO  [AjpProtocol] Pausing Coyote AJP/1.3 on ajp-0.0.0.0-8009
13:16:22,611 INFO  [StandardService] Stopping service jboss.web
13:16:22,640 INFO  [Http11Protocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080
13:16:22,641 INFO  [AjpProtocol] Stopping Coyote AJP/1.3 on ajp-0.0.0.0-8009
13:16:22,644 INFO  [TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
13:16:22,644 INFO  [TomcatDeployer] undeploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
13:16:22,645 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
13:16:22,646 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
13:16:22,762 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM

Re: Can't send/receive email

PostPosted:Mon Jan 24, 2011 8:22 am
by jllort
The message is clear "it doesn't contain soffice.bin: /usr/lib/openoffice.org" that path not exist in your system, remove from OpenKM.cfg or install open office and set the correct path there.

Re: Can't send/receive email

PostPosted:Fri Jan 28, 2011 7:45 am
by ken_hidaka
Anyone knows what error is this? I follow all the instruction in this forum unfortunately, after I send notification message to some users this is what the debug message says:

... 50 more
5:38:51,912 INFO [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[T
ANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
5:38:51,923 INFO [STDOUT] DEBUG SMTP: useEhlo true, useAuth false
5:38:51,923 INFO [STDOUT] DEBUG SMTP: trying to connect to host "gmail.smtp.com", port 465, isSSL false

Thanks,

Ken

Re: Can't send/receive email

PostPosted:Fri Jan 28, 2011 8:58 am
by jllort
You're using gmail account ? take a look here http://wiki.openkm.com/index.php/JBoss_ ... figuration it's a complete gmail example, seems you need to configure some SSL or TLS property in your xml.

Re: Can't send/receive email

PostPosted:Fri Jan 28, 2011 10:23 am
by ken_hidaka
hello Josep! I can send the message notification without error. where i can find the message? is the message will be directed to the email of the recipient? here is my openkm.cfg
Code: Select all
# Default configuration values
#
# repository.config=repository.xml
# repository.home=repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=com.openkm.core.UsersRolesPrincipalAdapter
# max.file.size=5
# max.search.results=25
# system.demo=off
#restrict.file.mime=off
#restrict.file.extension=*~,*.bak,._*
#system.ocr=/usr/bin/tesseract
#system.openoffice.path=/usr/lib/openoffice
#system.img2pdf=/usr/bin/convert
#system.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
#hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
#max.file.size=060520010
#principal.adapter=com.openkm.principal.DatabasePrincipalAdapter
chat.enabled=on
notify.twitter.user=openkm
notify.twitter.password=****
subscription.message.body=Prueba.vm
subscription.message.subject=OpenKM - ${eventType} - ${documentPath} 
subscription.message.body=<b>Document: </b><a href=\"${documentUrl}\">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Event: </b>${eventType}<br/><b>Comment: </b>${subscriptionComment}<br/> 
notification.message.subject=OpenKM - NOTIFICATION - ${documentName} 
notification.message.body=<b>Document: </b><a href=\"${documentUrl}\">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Message: </b>${notificationMessage}<br/> 
Thanks Josep! your a big help to the open community! ^_^

Re: Can't send/receive email

PostPosted:Fri Jan 28, 2011 6:38 pm
by jllort
1- That property subscription.message.body=Prueba.vm is not compabible with other ( remove subscription.message.body ). Stop jboss and restart.
2- With jboss started, login to app, and then. Delete server.log (jboss_home/server/default/log/ ). After it try sending mail some error will be logged on server.log post it, or upload server.log into zip file here.

Re: Can't send/receive email

PostPosted:Sat Jan 29, 2011 6:33 am
by ken_hidaka
Hello again! I am using the latest version (5.1) here is my openkm.cfg
Code: Select all
[code]# Default configuration values
#
# repository.config=repository.xml
# repository.home=repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=com.openkm.core.UsersRolesPrincipalAdapter
# max.file.size=5
# max.search.results=25
# system.demo=off
#restrict.file.mime=off
#restrict.file.extension=*~,*.bak,._*
#system.ocr=/usr/bin/tesseract
#system.openoffice.path=/usr/lib/openoffice
#system.img2pdf=/usr/bin/convert
#system.pdf2swf=/usr/bin/pdf2swf
#system.antivir=/usr/bin/clamscan
#hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp
#max.file.size=060520010
#principal.adapter=com.openkm.principal.DatabasePrincipalAdapter
#notify.twitter.user=openkm
#notify.twitter.password=****
#subscription.message.body=Prueba.vm
notification.message.subject=OpenKM - NOTIFICATION - ${documentName} 
notification.message.body=<b>Document: </b><a href=\"${documentUrl}\">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Message: </b>${notificationMessage}<br/> 
subscription.message.subject=OpenKM - ${eventType} - ${documentPath} 
subscription.message.body=<b>Document: </b><a href=\"${documentUrl}\">${documentPath}</a><br/><b>User: </b>${userId}<br/><b>Event: </b>${eventType}<br/><b>Comment: </b>${subscriptionComment}<br/> 
[/code]

I also attached my server log.

Thanks! Ken

Re: Can't send/receive email

PostPosted:Sat Jan 29, 2011 10:03 am
by jllort
The error message in log is clear:
Code: Select all
2011-01-29 14:26:25,397 ERROR [STDERR] javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
	java.net.ConnectException: Connection refused: connect
Have you modified you mail-service.xml as is explained in http://wiki.openkm.com/index.php/JBoss_ ... figuration ( you need some valid account on a mail server )