O
PostPosted:Mon Nov 17, 2008 5:48 pm
by jnorthe
Hi
I read the issues about disabling the webservices of jboss in order to prevent an internet connection of it.
How do I disable it in release 3.0RC2 since there is neither a file nor a folder called
* WEB-INF/webservices.xml
* WEB-INF/OKM*.xml
* WEB-INF/wsdl
in the OpenKM.war archive.
My WinXP SP3 whith JDK 1.5-15 has no internet connection and therefor I receive the well known error message:
\"Could not create deployment: file:<PATH_TO_DEFALT_TMP_DELPLOY>OpenKM.war\"
I got no no errors while winUNrar the package or the nested OpenKM.war so the package seems to be OK.
Any hint how to disable the webservice here ??
Thanx in advance.
Juergen
Re:O
PostPosted:Tue Nov 18, 2008 3:35 pm
by pavila
I\'m not sure if you can disable webservices in OpenKM 3.0 because we have changed the way they are created. But you can try to delete the classes under the folder WEB-INF/classes/es/git/openkm/ws before deploy into JBoss.
Re:OpenKM 3.0-RC2, jboss and internet connection
PostPosted:Thu Nov 20, 2008 11:04 am
by jnorthe
Thank you, the jboss server is now starting but I receive millions of
\"GetGrantedUser: This application is out of date, please click the refresh button on your browser\" messages after login with admin:admin.
If I take a look at the console output, it looks good. We know that the deployment is now incomplete due to the removal of the webservices.
Anyway, the error message mentioned above is endless. If I click signoff, I can see the window \"Loading OpenKM\" with entries like \"loading taxamonie, loading trash, loading usersettings,\" and the last entry is Eigenschaftengruppenübersetzungen -don\'t know how to translate (Grouppropertiestranslations??)
----------------------- output
11:34:53,689 INFO [RepositoryStartupServlet] *** Activating repository info ***
11:34:53,767 WARN [TomcatDeployer] Failed to setup clustering, clustering disab
led. NoClassDefFoundError: org/jgroups/blocks/MethodCall
11:34:53,892 INFO [EARDeployer] Started J2EE application: file:/C:/OpenKM-3.0-R
C2_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
11:34:55,142 ERROR [Update] UnknownHostException: update.openkm.com
11:35:08,392 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@8e5365b9 { url=file:/C:/OpenKM-3.0-RC2_JBoss
-4.2.2.GA/server/default/deploy/OpenKM.ear.original }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/OpenKM-3.0-RC2_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
.original
altDD: null
lastDeployed: 1227177308392
lastModified: 1227177305345
mbeans:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@8e5365b9 { url=file:/C:/OpenKM-3.0-RC2_JBoss
-4.2.2.GA/server/default/deploy/OpenKM.ear.original }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/OpenKM-3.0-RC2_JBoss-4.2.2.GA/server/default/deploy/OpenKM.ear
.original
altDD: null
lastDeployed: 1227177308392
lastModified: 1227177305345
mbeans:
11:35:08,548 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
11:35:08,626 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
11:35:08,861 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 2m:55s:79ms
11:44:34,782 INFO [DirectAuthModule] Principals: [admin, Roles(members:AdminRol
)]
11:44:34,876 INFO [DirectAuthModule] Add generated session to pool: 74773339249
8694004285-11827717802
11:44:34,876 INFO [DirectAuthModule] loadUserData(admin)
11:44:34,876 INFO [DirectAuthModule] ** Create User Home **
11:44:34,892 INFO [DirectAuthModule] ** Create User Trash **
11:44:34,907 INFO [DirectAuthModule] ** Create User Config **
11:44:34,907 INFO [DirectAuthModule] ** Create personal documents **
11:44:34,907 INFO [DirectAuthModule] ** Create User Query **
11:44:34,907 INFO [DirectAuthModule] ** Create User Bookmark **
11:44:34,907 INFO [DirectAuthModule] ** SAVING... **
11:44:34,923 INFO [DirectAuthModule] ** SAVED **
11:44:34,939 INFO [AbstractDAO] Looking for java:/OKMActivityDS DataSource...
11:44:34,954 INFO [AbstractDAO] Creating schema activity...
11:44:37,611 INFO [DirectAuthModule] PrincipalAdapter: es.git.openkm.principal.
DatabasePrincipalAdapter
11:44:39,173 INFO [AbstractDAO] Looking for java:/OKMDashboardStatsDS DataSourc
e...
11:44:39,189 INFO [AbstractDAO] Creating schema dashboard_stats...
Re:OpenKM 3.0-RC2, jboss and internet connection
PostPosted:Thu Nov 20, 2008 11:27 am
by jnorthe
I restarted the server and now I can login -without error messages.
Great !
Thank you very much !