• Error While Compiling GWT libraries

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #1868  by neil
 
Hi All,

I have downloaded OpenKM 3.0 community version.I want to create development environment for OpenKM and I am using documentation provided at
http://www.openkm.com/index.php?option= ... oper_guide link for creating that environment.Using this document I have Installed OpenKM successfully but not able to deploy that it gave me \"Failed to register EJB mbean\".after this I have deleted OpneKM project previously downloaded and again downloaded source code for OpenKM using cvs after downloading fresh openkm source copy It starts giving me error while compiling GWT libraries. I will write down the steps that i have followed after downloading fresh copy of openkm source code and my system configuration

System Configuration:
OS : Windows XP
RAM : 1GB
JDK : java 1.5.17
JBoss AS : jboss-5.0.0.GA
GWT libraries : gwt-windows-1.5.3

1) Download and install Eclipse Europa B)
2) Download and install JBoss GA 5.0 B)
3) Download GWT lib 1.5.3 B)
4) Downloaded source code from cvs using eclipse cvs utility B)
(After this trouble starts :blink: )
5) I got the error while compiling GWT libraries using eclipse tool \"external tools\" in \"Run\" tab.

I have set all the environment variable according to your documentation
I am putting them down here

location : F:\\workspace\\openkm\\generate.bat
working directory : ${workspace_loc:/openkm}
GWT_HOME : ${workspace_loc:/openkm/gwt-windows-1.5.3}
GWT_LIBRARIES : ${workspace_loc:/openkm/gwt-libraries}
JAVA_HOME : E:\\Java\\jdk1.5.0_17

When I try to compile GWT libraries I get the following error :silly:
Code: Select all
Compiling GWT files...
Could Not Find F:\\workspace\\openkm\\docroot\\es.git.openkm.frontend.Main
Loading module \'es.git.openkm.frontend.Main\'
   Loading inherited module \'com.google.gwt.widgetideas.WidgetIdeas\'
      [ERROR] Unable to find \'com/google/gwt/widgetideas/WidgetIdeas.gwt.xml\' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
   [ERROR] Line 6: Unexpected exception while processing element \'inherits\'
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:225)
	at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:194)
	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:223)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:257)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:310)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:381)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:243)
	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:155)
	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:269)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:127)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:108)
	at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:562)
	at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
	at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
   [ERROR] Failure while parsing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
	at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:56)
	at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:65)
	at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:65)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:233)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:257)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:310)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:381)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:243)
	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:155)
	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:269)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:127)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:108)
	at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:562)
	at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554)
	at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214)
[ERROR] Build failed
[/b]

can anyone tell me why I am facing this issue?

As a java programmer I can only see that \"es.git.openkm.frontend.Main\" module is missing. Is there any thing more that I need to do before compiling GWT libraries.Please let me know as soon as possible :).It will be very helpfull.


Regards
Neil
 #1869  by neil
 
Hi All,
Finally I am able to solve GWT compilation problem.The issue is with generate.bat file used for windows. There are some issues in that .bat file

1)
\"%JAVA_HOME%\\bin\\java\" -Xms256m -Xmx1000m -Djava.awt.headless=true -cp \"%GWT_INCUBATOR%/gwt-incubator_1-4_final.jar;$GWT_LIBRARIES/gwt-log-2.5.0.jar;%APP_DIR%src;%GWT_HOME%\\gwt-user.jar;%GWT_HOME%\\gwt-dev-windows.jar\" com.google.gwt.dev.GWTCompiler -out \"%APP_DIR%docroot\" %* %APP_NAME%

If you are using OpenKM 3.0 community and GWT 1.5.3 then path \"%GWT_INCUBATOR%/gwt-incubator_1-4_final.jar you should change it to incubator jar available in downloaded GWT libraries at \"%GWT_LIBRARIES%/\"
same issue with \"gwt-log-2.5.0.jar\" files (check for the name for this .jar file in downloaded GWT libraries)

also GWT_LIBRARIES in batch file is defined as $GWT_LIBRARIES actually it should be like %GWT_LIBRARIES%

After making these changes my I am able to compile GWT code. but after that when I start the JBoss server at the deployment time server gives me following error which is i think related EJB mbean registration

\"[AbstractDeploymentContext] Unable to register deployment mbean vfszip:/F:/jboss-5.0.0.GA/server/default/deploy/OpenKM.ear/OpenKM.jar/jackrabbit-text-extractors-1.4.jar
javax.management.InstanceAlreadyExistsException: jboss.deployment:id=\"vfszip:/F:/jboss-5.0.0.GA/server/default/deploy/OpenKM.ear/OpenKM.jar/jackrabbit-text-extractors-1.4.jar\",type=SubDeployment already registered.\"

could you please help me out in this?
is there any way via which we can unregistered those registered EJB mbeans?

PLEASSSSEEEEE help me :silly:

Regards
Neil :(
 #1870  by jllort
 
Sorry for the bug I upgraded generate.bat on cvs and I\'ve added generateback.bat on cvs too ( it\'s needed to generate GWT administration pages ).

About your error, please try to run OpenKM on jboss 4.2.X because we\'ve not tested on 5.X version and could be some issue for it.
 #1887  by neil
 
Hi jillort,

First Thanks for quick reply :). Now I have downgraded to JBoss 4.2.3.GA.I have also checked out the corrected version from repository. I have compiled the whole project. It compiled successfully also generated OpenKM.ear under \"deploy\" folder.I have also copied \"indexing_configuration.xml\" to the JBOSS home directory before starting server.But when I try to run it on browser it gives me error with page displaying null :dry: I am also attaching screen shot of same with this post.
And on console it is giving me following error :


Code: Select all
11:44:53,984 INFO  [Server] Starting JBoss (MX MicroKernel)...
11:44:54,000 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
11:44:54,000 INFO  [Server] Home Dir: F:\\jboss-4.2.3.GA
11:44:54,000 INFO  [Server] Home URL: file:/F:/jboss-4.2.3.GA/
11:44:54,000 INFO  [Server] Patch URL: null
11:44:54,000 INFO  [Server] Server Name: default
11:44:54,000 INFO  [Server] Server Home Dir: F:\\jboss-4.2.3.GA\\server\\default
11:44:54,000 INFO  [Server] Server Home URL: file:/F:/jboss-4.2.3.GA/server/default/
11:44:54,000 INFO  [Server] Server Log Dir: F:\\jboss-4.2.3.GA\\server\\default\\log
11:44:54,015 INFO  [Server] Server Temp Dir: F:\\jboss-4.2.3.GA\\server\\default\\tmp
11:44:54,015 INFO  [Server] Root Deployment Filename: jboss-service.xml
11:44:54,500 INFO  [ServerInfo] Java version: 1.5.0_17,Sun Microsystems Inc.
11:44:54,500 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_17-b04,Sun Microsystems Inc.
11:44:54,500 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
11:44:55,109 INFO  [Server] Core system initialized
11:45:01,078 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
11:45:01,078 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
11:45:01,968 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
11:45:01,968 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
11:45:02,296 INFO  [TransactionManagerService] Starting recovery manager
11:45:02,484 INFO  [TransactionManagerService] Recovery manager started
11:45:02,484 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
11:45:06,546 INFO  [EJB3Deployer] Starting java:comp multiplexer
11:45:11,562 INFO  [NativeServerConfig] JBoss Web Services - Native
11:45:11,562 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
11:45:13,468 INFO  [Embedded] Catalina naming disabled
11:45:13,843 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\\Java\\jre1.5.0_17\\bin;.;C:\\WINDOWS\\system32;C:\\WINDOWS;E:\\Java\\jre1.5.0_17\\bin\\client;E:\\Java\\jre1.5.0_17\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;E:\\Java\\jdk1.5.0_17\\bin;F:\\apache-ant-1.7.1\\bin;C:\\Program Files\\CVSNT\\
11:45:13,968 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
11:45:13,968 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
11:45:13,968 INFO  [Catalina] Initialization processed in 498 ms
11:45:13,968 INFO  [StandardService] Starting service jboss.web
11:45:13,984 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
11:45:14,093 INFO  [Catalina] Server startup in 115 ms
11:45:14,296 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
11:45:15,453 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
11:45:15,718 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
11:45:15,906 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
11:45:17,218 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
11:45:18,609 INFO  [MailService] Mail Service bound to java:/Mail
11:45:18,953 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
11:45:19,062 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
11:45:19,109 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
11:45:19,187 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
11:45:19,281 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
11:45:19,359 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
11:45:19,421 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
11:45:19,453 INFO  [QuartzResourceAdapter] start quartz!!!
11:45:19,593 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
11:45:19,640 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
11:45:19,656 INFO  [RAMJobStore] RAMJobStore initialized.
11:45:19,656 INFO  [StdSchedulerFactory] Quartz scheduler \'DefaultQuartzScheduler\' initialized from default resource file in Quartz package: \'quartz.properties\'
11:45:19,656 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
11:45:19,656 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
11:45:20,765 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=DefaultDS\' to JNDI name \'java:DefaultDS\'
11:45:21,265 INFO  [A] Bound to JNDI name: queue/A
11:45:21,281 INFO  [B] Bound to JNDI name: queue/B
11:45:21,281 INFO  [C] Bound to JNDI name: queue/C
11:45:21,296 INFO  [D] Bound to JNDI name: queue/D
11:45:21,296 INFO  [ex] Bound to JNDI name: queue/ex
11:45:21,328 INFO  [testTopic] Bound to JNDI name: topic/testTopic
11:45:21,343 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
11:45:21,343 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
11:45:21,343 INFO  [testQueue] Bound to JNDI name: queue/testQueue
11:45:21,421 INFO  [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
11:45:22,062 INFO  [DLQ] Bound to JNDI name: queue/DLQ
11:45:22,296 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA\' to JNDI name \'java:JmsXA\'
11:45:22,640 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMActivityDS\' to JNDI name \'java:OKMActivityDS\'
11:45:22,671 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMAuthDS\' to JNDI name \'java:OKMAuthDS\'
11:45:22,703 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMDashboardStatsDS\' to JNDI name \'java:OKMDashboardStatsDS\'
11:45:22,796 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
11:45:26,921 INFO  [EARDeployer] Init J2EE application: file:/F:/jboss-4.2.3.GA/server/default/deploy/OpenKM.ear
11:45:46,593 INFO  [TomcatDeployer] deploy, ctxPath=/OpenKM, warUrl=.../tmp/deploy/tmp6598621717580376590OpenKM.ear-contents/OpenKM-exp.war/
11:45:47,906 WARN  [config] Unable to process deployment descriptor for context \'/OpenKM\'
11:45:49,375 INFO  [EARDeployer] Started J2EE application: file:/F:/jboss-4.2.3.GA/server/default/deploy/OpenKM.ear
11:45:49,671 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
11:45:49,734 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
11:45:49,750 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 55s:735ms
11:46:44,156 INFO  [RepositoryImpl] Starting repository...
11:46:44,156 WARN  [RepositoryLock] Existing lock file F:\\jboss-4.2.3.GA\\repository\\.lock detected. Repository was not shut down properly.
11:46:44,203 INFO  [LocalFileSystem] LocalFileSystem initialized at path F:\\jboss-4.2.3.GA\\repository\\repository
11:46:45,078 INFO  [NodeTypeRegistry] no custom node type definitions found
11:46:45,093 INFO  [LocalFileSystem] LocalFileSystem initialized at path F:\\jboss-4.2.3.GA\\repository\\version
11:46:48,671 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.2.1.6 - (452058)
11:46:48,671 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
11:46:51,312 INFO  [RepositoryImpl] initializing workspace \'default\'...
11:46:51,312 INFO  [LocalFileSystem] LocalFileSystem initialized at path F:\\jboss-4.2.3.GA\\repository\\workspaces\\default
11:46:52,296 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.2.1.6 - (452058)
11:46:52,296 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
11:46:53,062 INFO  [RepositoryImpl] workspace \'default\' initialized
11:46:53,765 WARN  [SearchIndex] Exception initializing indexing configuration from: F:\\jboss-4.2.3.GA\\repository\\workspaces\\default/../../../indexing_configuration.xml
org.apache.jackrabbit.spi.commons.conversion.IllegalNameException: Internal error.: URI http://www.openkm.org/1.0 is not registered.: URI http://www.openkm.org/1.0 is not registered.
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.translatePropertyName(NSRegistryBasedNamespaceMappings.java:88)
	at org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl.init(IndexingConfigurationImpl.java:162)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createIndexingConfiguration(SearchIndex.java:935)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:445)
	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:53)
	at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:583)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:265)
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1613)
	at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:606)
	at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at es.git.openkm.module.direct.DirectRepositoryModule.getRepository(DirectRepositoryModule.java:92)
	at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:80)
	at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:273)
	at es.git.openkm.api.OKMAuth.login(OKMAuth.java:63)
	at org.apache.jsp.es_git_openkm_frontend_Main.index_jsp._jspService(index_jsp.java:59)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.jcr.NamespaceException: URI http://www.openkm.org/1.0 is not registered.
	at org.apache.jackrabbit.core.NamespaceRegistryImpl.getURIIndex(NamespaceRegistryImpl.java:365)
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.getPrefix(NSRegistryBasedNamespaceMappings.java:73)
	at org.apache.jackrabbit.core.query.lucene.NamePathResolverImpl$NameResolverImpl.getJCRName(NamePathResolverImpl.java:106)
	at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getJCRName(DefaultNamePathResolver.java:65)
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.translatePropertyName(NSRegistryBasedNamespaceMappings.java:84)
	... 40 more
javax.jcr.NamespaceException: URI http://www.openkm.org/1.0 is not registered.
	at org.apache.jackrabbit.core.NamespaceRegistryImpl.getURIIndex(NamespaceRegistryImpl.java:365)
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.getPrefix(NSRegistryBasedNamespaceMappings.java:73)
	at org.apache.jackrabbit.core.query.lucene.NamePathResolverImpl$NameResolverImpl.getJCRName(NamePathResolverImpl.java:106)
	at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getJCRName(DefaultNamePathResolver.java:65)
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.translatePropertyName(NSRegistryBasedNamespaceMappings.java:84)
	at org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl.init(IndexingConfigurationImpl.java:162)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createIndexingConfiguration(SearchIndex.java:935)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:445)
	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:53)
	at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:583)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:265)
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1613)
	at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:606)
	at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at es.git.openkm.module.direct.DirectRepositoryModule.getRepository(DirectRepositoryModule.java:92)
	at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:80)
	at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:273)
	at es.git.openkm.api.OKMAuth.login(OKMAuth.java:63)
	at org.apache.jsp.es_git_openkm_frontend_Main.index_jsp._jspService(index_jsp.java:59)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Unknown Source)
11:46:53,765 WARN  [SearchIndex] F:\\jboss-4.2.3.GA\\repository\\workspaces\\default/../../../indexing_configuration.xml ignored.
11:46:53,875 INFO  [LocalFileSystem] LocalFileSystem initialized at path F:\\jboss-4.2.3.GA\\repository\\workspaces\\default\\index
11:46:54,156 INFO  [SearchIndex] Index initialized: F:\\jboss-4.2.3.GA\\repository\\workspaces\\default/index Version: 2
11:46:54,156 INFO  [RepositoryImpl] Repository started
[/b]

In this issue I am totally clueless where to find solution for this.cause I have followed all the steps given in your online documentation for setting an development enviornment.Please tell me is there any thing remaining from my side.


Please help me on this issue.

Regards
Neil M
 #1888  by neil
 
Hi jillort,

Sorry In previous node i was not able to post the screen shot so sending to you now

REegards
Neil M Image
 #1890  by jllort
 
Stop jboss and delete %Jboss_home%/repository directory then start jboss , this it\'ll create repository other time.
 #1892  by neil
 
Hi jillort,

I have followed steps suggested by you but it is still giving me the same error

Code: Select all
\"13:56:45,537 INFO  [Server] Starting JBoss (MX MicroKernel)...
13:56:45,537 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
13:56:45,537 INFO  [Server] Home Dir: F:\\jboss-4.2.3.GA
13:56:45,537 INFO  [Server] Home URL: file:/F:/jboss-4.2.3.GA/
13:56:45,553 INFO  [Server] Patch URL: null
13:56:45,553 INFO  [Server] Server Name: default
13:56:45,553 INFO  [Server] Server Home Dir: F:\\jboss-4.2.3.GA\\server\\default
13:56:45,553 INFO  [Server] Server Home URL: file:/F:/jboss-4.2.3.GA/server/default/
13:56:45,553 INFO  [Server] Server Log Dir: F:\\jboss-4.2.3.GA\\server\\default\\log
13:56:45,553 INFO  [Server] Server Temp Dir: F:\\jboss-4.2.3.GA\\server\\default\\tmp
13:56:45,553 INFO  [Server] Root Deployment Filename: jboss-service.xml
13:56:46,053 INFO  [ServerInfo] Java version: 1.5.0_17,Sun Microsystems Inc.
13:56:46,053 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_17-b04,Sun Microsystems Inc.
13:56:46,053 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
13:56:46,709 INFO  [Server] Core system initialized
13:56:51,365 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
13:56:51,381 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
13:56:52,162 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
13:56:52,162 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
13:56:54,834 INFO  [TransactionManagerService] Starting recovery manager
13:56:55,068 INFO  [TransactionManagerService] Recovery manager started
13:56:55,068 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
13:57:00,490 INFO  [EJB3Deployer] Starting java:comp multiplexer
13:57:05,725 INFO  [NativeServerConfig] JBoss Web Services - Native
13:57:05,725 INFO  [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)
13:57:07,584 INFO  [Embedded] Catalina naming disabled
13:57:07,912 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\\Java\\jre1.5.0_17\\bin;.;C:\\WINDOWS\\system32;C:\\WINDOWS;E:\\Java\\jre1.5.0_17\\bin\\client;E:\\Java\\jre1.5.0_17\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;E:\\Java\\jdk1.5.0_17\\bin;F:\\apache-ant-1.7.1\\bin;C:\\Program Files\\CVSNT\\
13:57:08,053 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
13:57:08,053 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
13:57:08,053 INFO  [Catalina] Initialization processed in 462 ms
13:57:08,053 INFO  [StandardService] Starting service jboss.web
13:57:08,053 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
13:57:08,162 INFO  [Catalina] Server startup in 107 ms
13:57:08,381 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
13:57:09,850 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
13:57:10,115 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
13:57:10,287 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
13:57:11,553 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
13:57:12,943 INFO  [MailService] Mail Service bound to java:/Mail
13:57:13,256 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
13:57:13,334 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
13:57:13,428 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
13:57:13,475 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
13:57:13,568 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
13:57:13,631 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
13:57:13,709 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
13:57:13,725 INFO  [QuartzResourceAdapter] start quartz!!!
13:57:13,897 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
13:57:13,943 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
13:57:13,943 INFO  [RAMJobStore] RAMJobStore initialized.
13:57:13,943 INFO  [StdSchedulerFactory] Quartz scheduler \'DefaultQuartzScheduler\' initialized from default resource file in Quartz package: \'quartz.properties\'
13:57:13,943 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
13:57:13,943 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
13:57:15,209 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=DefaultDS\' to JNDI name \'java:DefaultDS\'
13:57:15,740 INFO  [A] Bound to JNDI name: queue/A
13:57:15,740 INFO  [B] Bound to JNDI name: queue/B
13:57:15,740 INFO  [C] Bound to JNDI name: queue/C
13:57:15,740 INFO  [D] Bound to JNDI name: queue/D
13:57:15,756 INFO  [ex] Bound to JNDI name: queue/ex
13:57:15,787 INFO  [testTopic] Bound to JNDI name: topic/testTopic
13:57:15,787 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
13:57:15,787 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
13:57:15,803 INFO  [testQueue] Bound to JNDI name: queue/testQueue
13:57:15,865 INFO  [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
13:57:16,459 INFO  [DLQ] Bound to JNDI name: queue/DLQ
13:57:16,678 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA\' to JNDI name \'java:JmsXA\'
13:57:17,006 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMActivityDS\' to JNDI name \'java:OKMActivityDS\'
13:57:17,053 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMAuthDS\' to JNDI name \'java:OKMAuthDS\'
13:57:17,068 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMDashboardStatsDS\' to JNDI name \'java:OKMDashboardStatsDS\'
13:57:17,147 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
13:57:20,990 INFO  [EARDeployer] Init J2EE application: file:/F:/jboss-4.2.3.GA/server/default/deploy/OpenKM.ear
13:57:42,615 INFO  [TomcatDeployer] deploy, ctxPath=/OpenKM, warUrl=.../tmp/deploy/tmp6502895019645276122OpenKM.ear-contents/OpenKM-exp.war/
13:57:43,006 WARN  [config] Unable to process deployment descriptor for context \'/OpenKM\'
13:57:44,725 INFO  [EARDeployer] Started J2EE application: file:/F:/jboss-4.2.3.GA/server/default/deploy/OpenKM.ear
13:57:44,897 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
13:57:44,943 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
13:57:44,959 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 59s:406ms
13:59:18,897 INFO  [RepositoryImpl] Starting repository...
13:59:18,897 WARN  [RepositoryLock] Existing lock file F:\\jboss-4.2.3.GA\\repository\\.lock detected. Repository was not shut down properly.
13:59:18,943 INFO  [LocalFileSystem] LocalFileSystem initialized at path F:\\jboss-4.2.3.GA\\repository\\repository
13:59:19,787 INFO  [NodeTypeRegistry] no custom node type definitions found
13:59:19,803 INFO  [LocalFileSystem] LocalFileSystem initialized at path F:\\jboss-4.2.3.GA\\repository\\version
13:59:22,350 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.2.1.6 - (452058)
13:59:22,350 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
13:59:24,818 INFO  [RepositoryImpl] initializing workspace \'default\'...
13:59:24,834 INFO  [LocalFileSystem] LocalFileSystem initialized at path F:\\jboss-4.2.3.GA\\repository\\workspaces\\default
13:59:25,553 INFO  [ConnectionRecoveryManager] Database: Apache Derby / 10.2.1.6 - (452058)
13:59:25,553 INFO  [ConnectionRecoveryManager] Driver: Apache Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
13:59:25,975 INFO  [RepositoryImpl] workspace \'default\' initialized
13:59:26,740 WARN  [SearchIndex] Exception initializing indexing configuration from: F:\\jboss-4.2.3.GA\\repository\\workspaces\\default/../../../indexing_configuration.xml
org.apache.jackrabbit.spi.commons.conversion.IllegalNameException: Internal error.: URI http://www.openkm.org/1.0 is not registered.: URI http://www.openkm.org/1.0 is not registered.
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.translatePropertyName(NSRegistryBasedNamespaceMappings.java:88)
	at org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl.init(IndexingConfigurationImpl.java:162)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createIndexingConfiguration(SearchIndex.java:935)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:445)
	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:53)
	at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:583)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:265)
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1613)
	at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:606)
	at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at es.git.openkm.module.direct.DirectRepositoryModule.getRepository(DirectRepositoryModule.java:92)
	at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:80)
	at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:273)
	at es.git.openkm.api.OKMAuth.login(OKMAuth.java:63)
	at org.apache.jsp.es_git_openkm_frontend_Main.index_jsp._jspService(index_jsp.java:59)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.jcr.NamespaceException: URI http://www.openkm.org/1.0 is not registered.
	at org.apache.jackrabbit.core.NamespaceRegistryImpl.getURIIndex(NamespaceRegistryImpl.java:365)
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.getPrefix(NSRegistryBasedNamespaceMappings.java:73)
	at org.apache.jackrabbit.core.query.lucene.NamePathResolverImpl$NameResolverImpl.getJCRName(NamePathResolverImpl.java:106)
	at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getJCRName(DefaultNamePathResolver.java:65)
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.translatePropertyName(NSRegistryBasedNamespaceMappings.java:84)
	... 40 more
javax.jcr.NamespaceException: URI http://www.openkm.org/1.0 is not registered.
	at org.apache.jackrabbit.core.NamespaceRegistryImpl.getURIIndex(NamespaceRegistryImpl.java:365)
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.getPrefix(NSRegistryBasedNamespaceMappings.java:73)
	at org.apache.jackrabbit.core.query.lucene.NamePathResolverImpl$NameResolverImpl.getJCRName(NamePathResolverImpl.java:106)
	at org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getJCRName(DefaultNamePathResolver.java:65)
	at org.apache.jackrabbit.core.query.lucene.NSRegistryBasedNamespaceMappings.translatePropertyName(NSRegistryBasedNamespaceMappings.java:84)
	at org.apache.jackrabbit.core.query.lucene.IndexingConfigurationImpl.init(IndexingConfigurationImpl.java:162)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createIndexingConfiguration(SearchIndex.java:935)
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:445)
	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:53)
	at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:583)
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:265)
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1613)
	at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:606)
	at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:415)
	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:305)
	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:557)
	at es.git.openkm.module.direct.DirectRepositoryModule.getRepository(DirectRepositoryModule.java:92)
	at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:80)
	at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:273)
	at es.git.openkm.api.OKMAuth.login(OKMAuth.java:63)
	at org.apache.jsp.es_git_openkm_frontend_Main.index_jsp._jspService(index_jsp.java:59)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Unknown Source)
13:59:26,756 WARN  [SearchIndex] F:\\jboss-4.2.3.GA\\repository\\workspaces\\default/../../../indexing_configuration.xml ignored.
13:59:26,850 INFO  [LocalFileSystem] LocalFileSystem initialized at path F:\\jboss-4.2.3.GA\\repository\\workspaces\\default\\index
13:59:27,178 INFO  [SearchIndex] Index initialized: F:\\jboss-4.2.3.GA\\repository\\workspaces\\default/index Version: 2
13:59:27,178 INFO  [RepositoryImpl] Repository started
\"[/b]

I think it is giving issue with indexing_configuration.xml it is giving error with

<configuration xmlns:nt=\"http://www.jcp.org/jcr/nt/1.0\" xmlns:okm=\"http://www.openkm.org/1.0\">

tag. it says that this links are not registered
\"org.apache.jackrabbit.spi.commons.conversion.IllegalNameException: Internal error.: URI http://www.openkm.org/1.0 is not registered.: URI http://www.openkm.org/1.0 is not registered.\" :dry: :side:


Regards
Neil M
 #1893  by jllort
 
Let\'s try something more easy.

Download OpenKM with jboss, extract on your OS, remove OpenKM.ear under deploy folder and use this jboss as a developement server, I think it\'s the more easiest way to set developing environment.
 #1894  by neil
 
Hi jillort,

I will do as you have suggested, But can you tell me if I want to make some changes in code then i have to compile the code then what process should i follow?
Please let me know ASAP. :)
Thanks jillort for your help.
One more thing there is one more bug in generate.bat and generateBack.bat for goto statement it is using label \"NO_INCUBATOR\" and below in the code label is not available.

Regards
Neil M
 #1895  by jllort
 
I\'ll revise all windows scripts, really we don\'t use it while developing becasuse we use linux ( ubuntu ) SO. When I finishing revising scripts I\'ll return to post.

About changing code all depends on which part you\'re changing. Really if you\'ve got great changes, some days developing, then is good idea so set exploded OpenKM.ear as is show at ends of developer guide (take a look from \"Configuring OpenKM project for development\" since ends ), enabling only GWT to generate only for one browser, that\'s other interesting think for fast developement. With this configuration you\'re changed classes are freshing automatically on jboss server ( hot deploy ) and also GWT compiled files are changed in the same way.

Us we\'ve got two groups of people some ones dedicated to kernel and others to gwt. First we made enhancements on kernel ( as you can see there some Test classes ) and then we extends gwt packages.

Resume:
1- Configure OpenKM.ear as a exploded ( take a look at ends developer guide ).
2- Configure GWT for only one browser ( uncomment some xml, take a look at guide too ).
3- Take a look that directory is generated on jboss deploy folder ( ensure OpenKM.ear file is not present only OpenKM.ear folder ).
4- Run jboss from eclipse on debug mode
5- From here any change it\'ll hot deployed on jboss ( only java bean changes need restarting jboss, eclipse it\'ll demand it, you\'ll see ).
 #1899  by neil
 
hi jillort,

Thanks for your quick reply :cheer: . but now I am facing altogether different problem :dry:. so need your help again.its little bit urgent.:)

I tried to use jboss downloaded with OpenKM+JBoss4.2.2 installer.I can run JBoss from command prompt but when I try to start server from eclipse it gives me error prompt saying
\"Timeout waiting for JBOSS 4.2 to start. Server did not start after 50s. \"
Code: Select all
14:50:51,437 INFO  [Server] Starting JBoss (MX MicroKernel)...
14:50:51,437 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
14:50:51,437 INFO  [Server] Home Dir: F:\\JBoss-4.2.2.GA
14:50:51,437 INFO  [Server] Home URL: file:/F:/JBoss-4.2.2.GA/
14:50:51,453 INFO  [Server] Patch URL: null
14:50:51,453 INFO  [Server] Server Name: default
14:50:51,453 INFO  [Server] Server Home Dir: F:\\JBoss-4.2.2.GA\\server\\default
14:50:51,453 INFO  [Server] Server Home URL: file:/F:/JBoss-4.2.2.GA/server/default/
14:50:54,828 INFO  [Server] Server Log Dir: F:\\JBoss-4.2.2.GA\\server\\default\\log
14:50:54,828 INFO  [Server] Server Temp Dir: F:\\JBoss-4.2.2.GA\\server\\default\\tmp
14:50:54,828 INFO  [Server] Root Deployment Filename: jboss-service.xml
14:50:55,546 INFO  [ServerInfo] Java version: 1.5.0_17,Sun Microsystems Inc.
14:50:55,546 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_17-b04,Sun Microsystems Inc.
14:50:55,546 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
14:50:56,765 INFO  [Server] Core system initialized
14:51:03,531 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
14:51:03,546 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
14:51:06,343 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
14:51:06,343 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
14:51:06,843 INFO  [TransactionManagerService] Starting recovery manager
14:51:07,031 INFO  [TransactionManagerService] Recovery manager started
14:51:07,031 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
14:51:12,125 INFO  [EJB3Deployer] Starting java:comp multiplexer
14:51:12,828 INFO  [STDOUT] no object for null
14:51:12,828 INFO  [STDOUT] no object for null
14:51:12,859 INFO  [STDOUT] no object for null
14:51:12,921 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
14:51:12,937 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
14:51:17,171 INFO  [NativeServerConfig] JBoss Web Services - Native
14:51:17,171 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
14:51:19,578 INFO  [Embedded] Catalina naming disabled
14:51:19,984 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\\Java\\jre1.5.0_17\\bin;.;C:\\WINDOWS\\system32;C:\\WINDOWS;E:\\Java\\jre1.5.0_17\\bin\\client;E:\\Java\\jre1.5.0_17\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;E:\\Java\\jdk1.5.0_17\\bin;F:\\apache-ant-1.7.1\\bin;C:\\Program Files\\CVSNT\\
14:51:20,156 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
14:51:20,156 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
14:51:20,156 INFO  [Catalina] Initialization processed in 569 ms
14:51:20,156 INFO  [StandardService] Starting service jboss.web
14:51:20,171 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
14:51:20,265 INFO  [Catalina] Server startup in 118 ms
14:51:20,515 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
14:51:21,937 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
14:51:22,250 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
14:51:22,437 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
14:51:24,031 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
14:51:25,296 INFO  [MailService] Mail Service bound to java:/mail/OpenKM
14:51:25,812 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
14:51:26,421 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
14:51:26,531 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
14:51:26,609 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
14:51:26,687 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
14:51:26,734 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
14:51:27,656 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
14:51:27,671 INFO  [QuartzResourceAdapter] start quartz!!!
14:51:27,812 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
14:51:27,890 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
14:51:27,890 INFO  [RAMJobStore] RAMJobStore initialized.
14:51:27,890 INFO  [StdSchedulerFactory] Quartz scheduler \'DefaultQuartzScheduler\' initialized from default resource file in Quartz package: \'quartz.properties\'
14:51:29,437 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
14:51:29,437 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
14:51:30,875 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=DefaultDS\' to JNDI name \'java:DefaultDS\'
14:51:31,453 INFO  [A] Bound to JNDI name: queue/A
14:51:31,453 INFO  [b] Bound to JNDI name: queue/B
14:51:31,453 INFO  [C] Bound to JNDI name: queue/C
14:51:31,453 INFO  [D] Bound to JNDI name: queue/D
14:51:31,468 INFO  [ex] Bound to JNDI name: queue/ex
14:51:31,500 INFO  [testTopic] Bound to JNDI name: topic/testTopic
14:51:31,500 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
14:51:31,656 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
14:51:31,671 INFO  [testQueue] Bound to JNDI name: queue/testQueue
14:51:31,765 INFO  [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
14:51:31,828 INFO  [DLQ] Bound to JNDI name: queue/DLQ
14:51:32,281 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA\' to JNDI name \'java:JmsXA\'
14:51:32,703 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMActivityDS\' to JNDI name \'java:OKMActivityDS\'
14:51:33,250 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMAuthDS\' to JNDI name \'java:OKMAuthDS\'
14:51:33,265 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jboss.jca:service=DataSourceBinding,name=OKMDashboardStatsDS\' to JNDI name \'java:OKMDashboardStatsDS\'
14:51:33,406 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
14:51:39,609 INFO  [EARDeployer] Init J2EE application: file:/F:/JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
can you please tell me what to do now?

I have also try to set up development environment but it is giving me error for gwt libraries that \"config file is missing\".

Can you send the steps required to set development environment for OpenKM cause its giving me error and i am not able to figure out from online documentation.

I think i am facing error google class files which should be are generated in es.git.openkm.frontend.Main folder. Cause when i create OpenKM.ear folder it does not generate others file except from index.jsp. and when I checked out same folder in downloaded OpenKM it shows more files. so please tell me how and what to do next? because I am very badly stuck into this?

I know i may bugging you.but Please help me.:)

Regards
Neil M
 #1903  by jllort
 
You\'re not generating GWT files for some reason.

I\'ve upgraded generate.bat and generateback.bat scripts for windows, because have some bugs, checkout it ( we develop under linux and I\'ve not well done tested this ).

You can see \"GWT front end generated\" and \"GWT administration generated\" ?
You execute from eclipse this scripts with configured params ?
When execute from eclipse this scripts have selected \"refreshing\" after script finishing -> it\'s an option ( you can see on guide ).
 #1972  by neil
 
Hi jillort,

I have some questions in mind :-

Can you tell me If I want to make any changes in Openkm interface with changes in images,login page how can I make those changes?also want to know from where login page comes?

How can I integrate OpenKM with mysql/LDAP with database names?Can you post the code required for that currently its working with default database and I want to change this.

ANd most important thing which version from cvs we have to use for development?
There are actually 3-4 versions on CVS can you tell me out of those which to use?

Pleeeease let me know this as soon as possible :).

Regards
Neil M
 #1974  by neil
 
Hi Jillort,

I got following error while running OpenKM.ear file using JBoss4.2.2
Code: Select all
16:49:26,875 INFO  [StandardService] Starting service jboss.web
16:49:26,875 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
16:49:26,953 INFO  [Catalina] Server startup in 78 ms
16:49:27,968 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
eb.deployer/ROOT.war/
16:49:29,750 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
16:49:30,218 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/
jbossws.sar/jbossws-context.war/
16:49:30,625 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:49:36,156 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
16:49:37,656 INFO  [MailService] Mail Service bound to java:/mail/OpenKM
16:49:38,531 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
16:49:38,625 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
16:49:38,687 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
16:49:38,781 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
16:49:38,937 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
16:49:39,015 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
16:49:39,140 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/quartz-ra.rar
16:49:39,171 INFO  [QuartzResourceAdapter] start quartz!!!
16:49:39,359 INFO  [SimpleThreadPool] Job execution threads will use class loade
r of thread: main
16:49:39,421 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
16:49:39,437 INFO  [RAMJobStore] RAMJobStore initialized.
16:49:39,437 INFO  [StdSchedulerFactory] Quartz scheduler \'DefaultQuartzSchedule
r\' initialized from default resource file in Quartz package: \'quartz.properties\'

16:49:39,437 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
16:49:39,437 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED started.
16:49:42,625 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=DefaultDS\' to JNDI name \'java:DefaultDS\'
16:49:43,187 INFO  [A] Bound to JNDI name: queue/A
16:49:43,187 INFO  [b] Bound to JNDI name: queue/B
16:49:43,203 INFO  [C] Bound to JNDI name: queue/C
16:49:43,218 INFO  [D] Bound to JNDI name: queue/D
16:49:43,218 INFO  [ex] Bound to JNDI name: queue/ex
16:49:43,250 INFO  [testTopic] Bound to JNDI name: topic/testTopic
16:49:43,250 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
16:49:43,281 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

16:49:43,296 INFO  [testQueue] Bound to JNDI name: queue/testQueue
16:49:43,437 INFO  [UILServerILService] JBossMQ UIL service available at : /127.
0.0.1:8093
16:49:43,546 INFO  [DLQ] Bound to JNDI name: queue/DLQ
16:49:43,937 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA\' to JNDI name \'java:JmsXA\'
16:49:46,453 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=OKMActivityDS\' to JNDI name \'java:OKMActi
vityDS\'
16:49:46,609 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=OKMAuthDS\' to JNDI name \'java:OKMAuthDS\'
16:49:47,109 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=OKMDashboardStatsDS\' to JNDI name \'java:O
KMDashboardStatsDS\'
16:49:47,187 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
16:49:49,671 INFO  [EARDeployer] Init J2EE application: file:/F:/JBoss-4.2.2.GA/
server/default/deploy/OpenKM.ear
16:50:23,265 INFO  [TomcatDeployer] deploy, ctxPath=/OpenKM, warUrl=.../tmp/depl
oy/tmp3768048696392708704OpenKM.ear-contents/OpenKM-exp.war/
16:50:24,312 WARN  [config] Unable to process deployment descriptor for context
\'null\'
16:50:25,484 INFO  [EARDeployer] Started J2EE application: file:/F:/JBoss-4.2.2.
GA/server/default/deploy/OpenKM.ear
16:50:25,781 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
16:50:25,812 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
16:50:25,828 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 1m:33s:360ms
16:52:18,062 INFO  [Server] Runtime shutdown hook called, forceHalt: true
16:52:18,062 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
16:52:18,078 INFO  [TomcatDeployer] undeploy, ctxPath=/OpenKM, warUrl=.../tmp/de
ploy/tmp3768048696392708704OpenKM.ear-contents/OpenKM-exp.war/
16:52:21,484 INFO  [EARDeployer] Undeploying J2EE application, destroy step: fil
e:/F:/JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
16:52:21,484 INFO  [EARDeployer] Undeployed J2EE application: file:/F:/JBoss-4.2
.2.GA/server/default/deploy/OpenKM.ear
16:52:21,500 INFO  [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../d
eploy/jmx-console.war/
16:52:21,531 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager \'
jboss.jca:service=DataSourceBinding,name=OKMDashboardStatsDS\' from JNDI name \'ja
va:OKMDashboardStatsDS\'
16:52:21,765 INFO  [HypersonicDatabase] Database standalone closed clean
16:52:21,765 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager \'
jboss.jca:service=DataSourceBinding,name=OKMAuthDS\' from JNDI name \'java:OKMAuth
DS\'
16:52:21,968 INFO  [HypersonicDatabase] Database standalone closed clean
16:52:21,968 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager \'
jboss.jca:service=DataSourceBinding,name=OKMActivityDS\' from JNDI name \'java:OKM
ActivityDS\'
16:52:22,640 INFO  [HypersonicDatabase] Database standalone closed clean
16:52:22,937 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager \'
jboss.jca:service=ConnectionFactoryBinding,name=JmsXA\' from JNDI name \'java:JmsX
A\'
16:52:22,968 INFO  [testTopic] Unbinding JNDI name: topic/testTopic
16:52:22,968 INFO  [securedTopic] Unbinding JNDI name: topic/securedTopic
16:52:22,968 INFO  [testDurableTopic] Unbinding JNDI name: topic/testDurableTopi
c
16:52:23,000 INFO  [testQueue] Unbinding JNDI name: queue/testQueue
16:52:23,000 INFO  [A] Unbinding JNDI name: queue/A
16:52:23,000 INFO  [B] Unbinding JNDI name: queue/B
16:52:23,000 INFO  [C] Unbinding JNDI name: queue/C
16:52:23,015 INFO  [D] Unbinding JNDI name: queue/D
16:52:23,015 INFO  [ex] Unbinding JNDI name: queue/ex
16:52:23,062 INFO  [DLQ] Unbinding JNDI name: queue/DLQ
16:52:23,078 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager \'
jboss.jca:service=DataSourceBinding,name=DefaultDS\' from JNDI name \'java:Default
DS\'
16:52:24,421 INFO  [HypersonicDatabase] Database standalone closed clean
16:52:24,468 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED shutting down.
16:52:24,468 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED paused.
16:52:24,468 INFO  [SimpleThreadPool] There are still 34 worker threads active.
See javadoc runInThread(Runnable) for a possible explanation
16:52:24,484 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED shutdown complete.
16:52:24,609 INFO  [MailService] Mail service \'java:/mail/OpenKM\' removed from J
NDI
16:52:24,640 INFO  [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../d
eploy/management/console-mgr.sar/web-console.war/
16:52:25,078 INFO  [Http11Protocol] Pausing Coyote HTTP/1.1 on http-127.0.0.1-80
80
16:52:25,093 INFO  [AjpProtocol] Pausing Coyote AJP/1.3 on ajp-127.0.0.1-8009
16:52:26,093 INFO  [StandardService] Stopping service jboss.web
16:52:26,140 INFO  [Http11Protocol] Stopping Coyote HTTP/1.1 on http-127.0.0.1-8
080
16:52:26,218 INFO  [AjpProtocol] Stopping Coyote AJP/1.3 on ajp-127.0.0.1-8009
16:52:26,281 INFO  [TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jboss
-web.deployer/ROOT.war/
16:52:26,296 INFO  [TomcatDeployer] undeploy, ctxPath=/invoker, warUrl=.../deplo
y/http-invoker.sar/invoker.war/
16:52:26,296 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossws, warUrl=.../deplo
y/jbossws.sar/jbossws-context.war/
16:52:26,312 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=..
./deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:52:27,734 INFO  [TransactionManagerService] Stopping recovery manager
16:52:28,015 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM
Terminate batch job (Y/N)? y

F:\\JBoss-4.2.2.GA\\bin>run.bat
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: F:\\JBoss-4.2.2.GA

  JAVA: E:\\Java\\jdk1.5.0_17\\bin\\java

  JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: E:\\Java\\jdk1.5.0_17\\lib\\tools.jar;F:\\JBoss-4.2.2.GA\\bin\\run.jar

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

16:52:50,593 INFO  [Server] Starting JBoss (MX MicroKernel)...
16:52:50,609 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=
JBoss_4_2_2_GA date=200710221139)
16:52:50,609 INFO  [Server] Home Dir: F:\\JBoss-4.2.2.GA
16:52:50,609 INFO  [Server] Home URL: file:/F:/JBoss-4.2.2.GA/
16:52:50,609 INFO  [Server] Patch URL: null
16:52:50,625 INFO  [Server] Server Name: default
16:52:50,625 INFO  [Server] Server Home Dir: F:\\JBoss-4.2.2.GA\\server\\default
16:52:50,625 INFO  [Server] Server Home URL: file:/F:/JBoss-4.2.2.GA/server/defa
ult/
16:52:50,625 INFO  [Server] Server Log Dir: F:\\JBoss-4.2.2.GA\\server\\default\\log

16:52:50,625 INFO  [Server] Server Temp Dir: F:\\JBoss-4.2.2.GA\\server\\default\\tm
p
16:52:50,625 INFO  [Server] Root Deployment Filename: jboss-service.xml
16:52:51,437 INFO  [ServerInfo] Java version: 1.5.0_17,Sun Microsystems Inc.
16:52:51,437 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_17-b04
,Sun Microsystems Inc.
16:52:51,437 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
16:52:53,187 INFO  [Server] Core system initialized
16:53:00,875 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083
/
16:53:00,875 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:jboss-log4j.xml
16:53:02,890 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
16:53:02,890 INFO  [TransactionManagerService] Setting up property manager MBean
 and JMX layer
16:53:03,875 INFO  [TransactionManagerService] Starting recovery manager
16:53:04,218 INFO  [TransactionManagerService] Recovery manager started
16:53:04,265 INFO  [TransactionManagerService] Binding TransactionManager JNDI R
eference
16:53:17,015 INFO  [EJB3Deployer] Starting java:comp multiplexer
16:53:18,343 INFO  [STDOUT] no object for null
16:53:18,359 INFO  [STDOUT] no object for null
16:53:18,468 INFO  [STDOUT] no object for null
16:53:18,531 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
16:53:18,562 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
16:53:24,687 INFO  [NativeServerConfig] JBoss Web Services - Native
16:53:24,687 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=20071021
0837)
16:53:29,062 INFO  [Embedded] Catalina naming disabled
16:53:29,828 INFO  [AprLifecycleListener] The Apache Tomcat Native library which
 allows optimal performance in production environments was not found on the java
.library.path: E:\\Java\\jdk1.5.0_17\\bin;.;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDO
WS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;E:\\Java\\jdk1.5.0_17\\bin;F:\\apach
e-ant-1.7.1\\bin;C:\\Program Files\\CVSNT\\
16:53:30,234 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0
.1-8080
16:53:30,265 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-80
09
16:53:30,265 INFO  [Catalina] Initialization processed in 1199 ms
16:53:30,265 INFO  [StandardService] Starting service jboss.web
16:53:30,281 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
16:53:30,390 INFO  [Catalina] Server startup in 120 ms
16:53:30,703 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
eb.deployer/ROOT.war/
16:53:32,125 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
16:53:33,406 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/
jbossws.sar/jbossws-context.war/
16:53:33,937 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:53:37,468 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
16:53:40,390 INFO  [MailService] Mail Service bound to java:/mail/OpenKM
16:53:40,765 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
16:53:40,875 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
16:53:40,953 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
16:53:41,062 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
16:53:41,187 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
16:53:41,281 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
16:53:41,406 INFO  [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/quartz-ra.rar
16:53:41,500 INFO  [QuartzResourceAdapter] start quartz!!!
16:53:41,671 INFO  [SimpleThreadPool] Job execution threads will use class loade
r of thread: main
16:53:41,750 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
16:53:41,750 INFO  [RAMJobStore] RAMJobStore initialized.
16:53:41,750 INFO  [StdSchedulerFactory] Quartz scheduler \'DefaultQuartzSchedule
r\' initialized from default resource file in Quartz package: \'quartz.properties\'

16:53:41,750 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
16:53:41,750 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED started.
16:53:43,125 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=DefaultDS\' to JNDI name \'java:DefaultDS\'
16:53:45,109 INFO  [A] Bound to JNDI name: queue/A
16:53:45,125 INFO  [B] Bound to JNDI name: queue/B
16:53:45,500 INFO  [C] Bound to JNDI name: queue/C
16:53:45,500 INFO  [D] Bound to JNDI name: queue/D
16:53:45,515 INFO  [ex] Bound to JNDI name: queue/ex
16:53:45,578 INFO  [testTopic] Bound to JNDI name: topic/testTopic
16:53:45,578 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
16:53:45,578 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

16:53:45,593 INFO  [testQueue] Bound to JNDI name: queue/testQueue
16:53:45,859 INFO  [UILServerILService] JBossMQ UIL service available at : /127.
0.0.1:8093
16:53:45,937 INFO  [DLQ] Bound to JNDI name: queue/DLQ
16:53:46,218 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA\' to JNDI name \'java:JmsXA\'
16:53:47,078 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=OKMActivityDS\' to JNDI name \'java:OKMActi
vityDS\'
16:53:47,218 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=OKMAuthDS\' to JNDI name \'java:OKMAuthDS\'
16:53:47,296 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager \'jb
oss.jca:service=DataSourceBinding,name=OKMDashboardStatsDS\' to JNDI name \'java:O
KMDashboardStatsDS\'
16:53:47,390 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
16:53:51,343 INFO  [EARDeployer] Init J2EE application: file:/F:/JBoss-4.2.2.GA/
server/default/deploy/OpenKM.ear
16:54:23,031 INFO  [TomcatDeployer] deploy, ctxPath=/OpenKM, warUrl=.../tmp/depl
oy/tmp5984635672601590164OpenKM.ear-contents/OpenKM-exp.war/
[b]16:54:23,843 WARN  [config] Unable to process deployment descriptor for context
\'null\'[/b]
16:54:25,171 INFO  [EARDeployer] Started J2EE application: file:/F:/JBoss-4.2.2.
GA/server/default/deploy/OpenKM.ear
16:54:25,406 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
16:54:25,468 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
16:54:25,500 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 1m:34s:875ms
Please let me know what is the issue?

Regards
Neil M
 #1978  by jllort
 
About diferent versions on cvs, checkout HEAD ( that\'s the last version ).

About error \"16:54:23,843 WARN [config] Unable to process deployment descriptor for context
\'null\'\" have you run xdoclet ? seems xml file descriptors are not present on ear file. Please review developer guide section about running xdoclet.

About mysql/ldap integration -> I suggest you open new forum threat for it ( and also for error ). Tell on post if you\'re thinking on setting files on repository ( mysql ) or you\'re thinking on autentication on mysql user record ... it\'s not clear. For ldap there\'s some interesting posts with java classes you must implement for it.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.