Page 1 of 2

The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Thu Dec 17, 2009 10:38 am
by ravinauluri
Hi,

i have deployed the application successfully. when ever i tried to login to the application with the admin, admin credentials, Giving this message on the browser.
"The requested resource (/OpenKM/es.git.openkm.frontend.Main/index.html) is not available "

Plzzzzzzzzzzzzzzzz tell me the reason


thanks in advance

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Thu Dec 17, 2009 5:33 pm
by jllort
Whick OpenKM version ?

With other user you can view this url ?

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Fri Dec 18, 2009 6:34 am
by ravinauluri
THanks for the reply.


i am using openKM3.0 version. with the other username and password, giving Authentication Error.

when i tried with the admin, admin credentials, i got blank page with this message "The requested resource (/OpenKM/es.git.openkm.frontend.Main/index.html) is not available "

and one more thing i am using openkm + jboss 4.2 server.

Please reply me as soon as possible

thanks in advance

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Fri Dec 18, 2009 12:55 pm
by jllort
It's a fresh OpenKM 3.0 installation or older ?

If it's fresh I recomend downloading version 4.0 yet avaliable.

If it's older I need more information:
1- Other users can login withou problem and see it url or only admin ?

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Fri Dec 18, 2009 1:08 pm
by ravinauluri
i tried with the below three usernames and passwords, Giving "Authentication Error" in the same page itself.

username and passwords are
1. system, password
2. system2, password
3. user1, password

when i try with the admin, admin credentials, Giving "The requested resource (/OpenKM/es.git.openkm.frontend.Main/index.html) is not available "

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Fri Dec 18, 2009 5:25 pm
by jllort
You've not answered me if it's a fresh OpenKM 3.0. installation or you're in a production environement !!! tell me it first.

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Sat Dec 19, 2009 4:52 am
by ravinauluri
it was fresh openkm3.0 installation. i am using windows XP,Eclipse europa.

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Sat Dec 19, 2009 9:25 am
by pavila
Why don't try the last OpenKM 4.0 ?

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Sat Dec 19, 2009 10:54 am
by jllort
If I understand you're compiling from cvs OpenKM version 3.0, well the problem is that you're not generating GWT files, take a look at developer guide to know how to build it.

There's avaliable OpenKM 4.0 from svn, don't checkout head, checkout tag 4.0 !!! we've changed to maven and eclipse ganymede, probably more easy to build distribution, but still not yet explained in developer guide, sorry for it, but we'll need some time to build documentation, any help in this way it'll be wellcome :)

Tell me if it answers your question ?

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Tue Dec 22, 2009 10:41 am
by ravinauluri
for the creation of GWTfiles i was ran the XDoclet.

i have doubt on this , how to create GWT files, please let me know the details on this

thanks in advance

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Wed Dec 23, 2009 8:53 am
by jllort
There's some file run.bat and run.sh - or with other file names I don't remember exactly - to generate GWT files. Take a look at the root of your checkout project

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Wed Dec 23, 2009 9:34 am
by ravinauluri
Thanks for the reply.


there's a one file with the name of generate.bat and generateBack.bat files. when i run these rwo files one command prompt window is appearing and closing immedialtely.

generate.bat file contains like this....

@echo off

if "%JAVA_HOME%" == "" goto NO_JAVA

if "%GWT_HOME%" == "" goto NO_GWT

if "%GWT_INCUBATOR%" == "" goto NO_INCUBATOR

REM Compile GWT files
echo Compiling GWT files...
set APP_DIR=%~dp0
set APP_NAME=es.git.openkm.frontend.Main

REM Clean previus generated files
del "%APP_DIR%docroot\%APP_NAME%" /Q /S

REM Generate JS and HTML
"%JAVA_HOME%\bin\java" -Xms256m -Xmx1000m -Djava.awt.headless=true -cp "%GWT_INCUBATOR%/gwt-incubator.jar;%GWT_LIBRARIES%/gwt-log-2.5.2.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%

echo GWT front end generated.

goto END

:NO_JAVA
echo Missing JAVA_HOME. Make sure JAVA_HOME point to JDK 1.5 installation.

goto END

:NO_GWT
echo Missing GWT_HOME. Make sure GWT_HOME point to GWT installation.

:NO_GWT_INCUBATOR
echo Missing GWT_INCUBATOR. Make sure GWT_INCUBATOR point to incubator installation.

goto END

:END

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Thu Dec 24, 2009 8:53 am
by jllort
execute from your command line, and ensure you've defined in your Operating system the paths

JAVA_HOME
GWT_HOME
GWT_INCUBATOR

Use command "set" to view all your system environment variables

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Mon Jan 04, 2010 12:43 pm
by ravinauluri
Still i am unable to run the "Generate GWT OpenKM to Project" and "Generate GWT OpenKM Admin to Project".

when i was running this i got below message in the console

Compiling GWT files...
Could Not Find F:\europa_workspace\openkm\docroot\es.git.openkm.frontend.Main
The system cannot find the path specified.

GWT front end generated.

Please tell me the procedure to generate GWT files succesfully.

Thanks for advance

Re: The requested resource (/OpenKM/es.git.openkm.frontend.Main/

Posted: Mon Jan 04, 2010 4:42 pm
by jllort
Create this folder if it's not present f:\europa_workspace\openkm\docroot\es.git.openkm.frontend.Main