need help from opencms guru

View: New views
2 Messages — Rating Filter:   Alert me  

need help from opencms guru

by Seunghwan Choi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello opencms folks,

 

My opencms environment is opencms 6.2.2 + java_1.4 + mysql-connector-java-3.1.14 + mysql 4.1.22 on Centos 4 machine.

 

When I added a search box in the page I'm getting this error.

I don't know where I should touch.

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

2008-07-22 05:57:20 ApplicationDispatcher[/SearchService] Servlet.service() for servlet jsp threw exception
java.io.IOException: /opt/SearchService not a directory
......

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

I got this error message from /usr/tomcat/logs/FCO_log.2008-07-22.txt

 

I have :

    CATALINA_BASE:   /usr/tomcat
    CATALINA_HOME:   /usr/tomcat
    CATALINA_TMPDIR: /usr/tomcat/temp
    JAVA_HOME:       /usr/java/j2sdk1.4.2_16

    SearchService in /usr/tomcat/webapps/SearchService

 

And this is what I defined in server.xml

      <Host name="www.fco.org" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

        <Context path="" docBase="."/>

        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="logs"  prefix="FCO_log." suffix=".txt"
            timestamp="true"/>

        <Alias>familyconnectionsonline.org</Alias>

      </Host>

I'm using this web form.

 

      <form name="searchfrm" onsubmit="return search()" action="simple_search.jsp">
     .......

     <td><input name="q" class="blacktxt" ></td>
     .......

      </form>

 

I'm using opencms 6 but this is a kind of general question, I think.

 

So any advices are welcome.

 

Thanks.




_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: need help from opencms guru

by Uwe König-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello Seunghwan Choi,

> My opencms environment is opencms 6.2.2 + java_1.4 + mysql-
> connector-java-3.1.14 + mysql 4.1.22 on Centos 4 machine.

You provided pretty much information, but the important points seem to be what happens in your Jacascript-function search() and in your JSP simple_search.jsp
Maybe you could drop some words on that, otherwise I can't see obvious misconfigurations.
Best regards,


Uwe König

--
Uwe König <u.koenig@...>

--
ifu Hamburg - material flows and software

ifu Institut fuer Umweltinformatik Hamburg GmbH
Grosse Bergstrasse 219, 22767 Hamburg, Germany
Managing Director: Jan Hedemann, Commercial Register: Hamburg, HRB 52629
www.ifu.com - www.umberto.de - www.sabento.com - www.e-sankey.com

>>> e!Sankey - software for easy drawing of Sankey diagrams.
>>> Visit http://www.e-sankey.com

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
LightInTheBox - Buy quality products at wholesale price