Integrating tomcat with derby

Hi all,
Can anyone tell me how to integrate tomcat server with derby? thank you in advance.

asiridol wrote:
Hi all,
Can anyone tell me how to integrate tomcat server with derby? thank you in advance.Standalone it is no different than doing it with any other database.
Embedded, which I wouldn't think would be exactly ideal, would require more work because I believe you have to 'start' and 'stop' it. That would require hooking into tomcat at some point outside the normal servlet interface.

Similar Messages

  • Hello Friends...About integrating tomcat with apache

    Hello Friends...
    I want to integrate apache with tomcat. using JK connector.
    It is working for red hat 7.3 n 9.
    But it is not working for Red Hat Enterprise ES (Red Hat 3.2.3-47)
    I search for jk connector for Red Hat Enterprise ES.
    Cannot get help..
    Plz. help me
    Isparks

    Hi Alan.
    I've discovered the exact same problem.... 0.0.0.0 instead of 127.0.0.1
    You've obviously not had any replys here, but di you end up working it out on your own?

  • Integrating Tomcat with Apache

    Hi there,
    I'm really stuck here. I'm trying to integrate Apache with Tomcate. Not having much luck. I have a number of things that aren't quite right. For whatever reason the connector (mod_jk2) between Apache and Tomcat isn't doing its thing. First things first however. I'm not so sure about the log from Tomcat:
    17-Jan-2005 3:56:07 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 6517 ms
    17-Jan-2005 3:56:08 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    17-Jan-2005 3:56:08 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.4
    17-Jan-2005 3:56:08 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    17-Jan-2005 3:56:14 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    17-Jan-2005 3:56:16 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    17-Jan-2005 3:56:16 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    17-Jan-2005 3:56:17 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    17-Jan-2005 3:56:17 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    17-Jan-2005 3:56:21 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    17-Jan-2005 3:56:21 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/632 config=null
    17-Jan-2005 3:56:22 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 14657 ms
    Shouldn't this line: INFO: JK2: ajp13 listening on /0.0.0.0:8009
    read like this: INFO: JK2: ajp13 listening on /127.0.0.1:8009
    or: INFO: JK2: ajp13 listening on /localhost:8009
    If I'm right, then how do I make it listen on the localhost address 127.0.0.1?
    Please help,
    Alan
    My configuration files under tomcat are like so:
    # file://usr/local/tomcat/conf/jk2.properties
    ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
    ## WHEN YOU EDIT THE FILE.
    ## COMMENTS WILL BE LOST
    ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
    # Set the desired handler list
    # handler.list=apr,request,channelJni
    # Override the default port for the socketChannel
    # channelSocket.port=8019
    # Default:
    # channelUnix.file=${jkHome}/work/jk2.socket
    # Just to check if the the config is working
    # shm.file=${jkHome}/work/jk2.shm
    # In order to enable jni use any channelJni directive
    # channelJni.disabled = 0
    # And one of the following directives:
    # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so
    # If set to inprocess the mod_jk2 will Register natives itself
    # This will enable the starting of the Tomcat from mod_jk2
    # apr.jniModeSo=inprocess
    # Socket Configuration
    channelSocket.port=8009
    channelSocket.address=127.0.0.1
    channelSocket.maxPort=port+10
    # file://usr/local/tomcat/conf/workers.properties
    #------ DEFAULT worket list ------------------------------------------
    # The workers that your plugins should create and work with
    # Add 'inprocess' if you want JNI connector
    worker.list=ajp13
    # , inprocess
    #------ DEFAULT ajp13 WORKER DEFINITION ------------------------------
    # Defining a worker named ajp13 and of type ajp13
    # Note that the name and the type do not have to match.
    worker.ajp13.port=8009
    worker.ajp13.host=127.0.0.1
    worker.ajp13.type=ajp13
    # Specifies the load balance factor when used with
    # a load balancing worker.
    # Note:
    # ----> lbfactor must be > 0
    # ----> Low lbfactor means less work done by the worker.
    worker.ajp13.lbfactor=50
    # Specify the size of the open connection cache.
    worker.ajp13.cachesize=10
    # file://usr/local/tomcat/conf/workers2.properties
    [channel.socket:localhost:8009]
    info=Ajp13 forwarding over socket
    debug=0
    tomcatId=localhost:8009
    ...

    Hi Alan.
    I've discovered the exact same problem.... 0.0.0.0 instead of 127.0.0.1
    You've obviously not had any replys here, but di you end up working it out on your own?

  • Integrating Apache with Tomcat?

    Anyone have a guide to integrating Apache with Tomcat using mod_jk?
    I followed some guides online, but they all seem really dated with some obscure references. This seems like it should be on the top of the list....

    Hi Alan.
    I've discovered the exact same problem.... 0.0.0.0 instead of 127.0.0.1
    You've obviously not had any replys here, but di you end up working it out on your own?

  • Integrating Apex with Cocoon (does it make pdf from taking data from DB)

    Friends,
    I integrated Apex with appache with cocoon. Its working fine with reports but i want it to work with form on a table or view.The steps below which i have followed for integrating Apex with Cocoon
    Steps of pdf Printing of Report with cocoon:
    1) Download and unzip the following needed files in D:\Apex_fop directory.
    2) Open your command prompt .
    Change the directory to D:\Apex_fop\cocoon-2.1.11.
    Set the Java_Home environment variable as: set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_21
    then type build war
    3) After getting the prompt back as D:>Apex_fop>cocoon-2.1.11>
    Copy coocon.war file from the folder D:\Apex_fop\cocoon-2.1.11\build\cocoon.
    Paste this file into webapps subdirectory in main tomcat directory having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps.....place it in the top
    level of webapps directory.
    4) Now just startup tomcat as D:>APEX_FOP>apache-tomcat-6.0.26>bin>startup.bat
    The cocoon.war file will automatically uncompressed as directory.
    5) To change the port of apache tomcat , edit apache-tomcat-6.0.26\conf\server.xml & change port attribute of Connector element from 8080 to 8181.
    Just check whether Tomcat is running or not as http://localhost:8181/
    & to check cocoon type http://localhost:8181/cocoon/
    6) Now copy fop_post directory & paste it undes new cocoon directory in webapps having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps
    \cocoon.
    7) Now you need to do some apex settings as follows:
    In APEX, just log in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
    - Print Serverr: Standard Support
    - Print Server Protocol: HTTP
    - Print Server Host Address:localhost
    - Print Server Port: 8181
    - Print Server Script: /cocoon/fop_post
    In your APEX application, in the Regions section, Click on the Print link next to your report and do the following settings:
    - Enable Report Printing: Yes
    - Link Label: Print
    - Response Header: Report Settings
    - View File As: Attachment
    - Output Format: PDF
    - Report Layout: Default Report Layout
    - Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
    8) Open up the Report Page and click Print , You will get the pdf report.
    But my requirement is bit different. I have made form on a table or view , so when i am submitting my form the record is getting updated in my database and at the same time a new button is appearing at same page as i have branched it in same page. The new button name is print. I want when i click this print button it should print the record which submitted recently. How can i enable the print functionality on form. Its simple in report but how can it be done on form?
    Looking forward for this to know wthr it is achievable or not and if yes what all are the ways?
    Thanks in advance for all who is going to post here and to them also who is giving their time in reading my thread
    Regards
    Adi
    Edited by: Adi's on Mar 23, 2010 8:54 PM
    Edited by: Adi's on Mar 23, 2010 8:54 PM

    You could redirect to a report page instead of to the form page. Then simply print the report.
    This makes sense. You would have one page for entering the data and another page for displaying and printing it.

  • Jdevelopper and Integrated Tomcat and JSP/jscript DEBUG search information

    Hi,
    Where Could i found some informations on installing an integrated Tomcat INTO JDEVELLOPER for Debuging JSP and JSCRIPT PAGES ???
    Regards
    Philippe

    JDeveloper comes with a built-in J2EE container (OC4J) that will let you debug your J2EE apps.
    You can then use one click deploy to deploy your application on Tomcat from inside JDeveloper.
    And you can do remote debugging in JDeveloper to debug the application as it runs in the remote Tomcat instance.
    More information is in the online help.

  • Error in Tomcat with Servlet

    Hi,
    I made a webapplication in JBuilder. When I run the project it runs just fine, even when I type the URL http://localhost:8080/webshop/file.shtml in explorer. Very simple.
    I installed the project war file in tomcat with the manager and tomcat made a webshop dir in web-app. This dir contains all the files needed for Tomcat to run a web-app
    I configured the web.xml, it looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>dbservlet</servlet-name>
    <servlet-class>webwinkel.DBServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>dbservlet</servlet-name>
    <url-pattern>/dbservlet</url-pattern>
    </servlet-mapping>
    </web-app>
    But the web-app doens't run online. When I try to reach the servlet I get a 404. Tomcat can't find the servlet. Am I forgetting something here, if it runs local in JBuilder shouldn't it just as easy run on a webserver?
    please help I'm desperate
    Susan

    looks like you should be pointing to the following url to get to your servlet:
    http ://localhost:8080/webshop/dbservlet
    Is this what you or your form is pointing to? Are you able to get to /file.shtml but not the servlet?

  • ALE/IDOC and RFC/BAPI Integration Scenarios with SAP DS for ESA v3

    Hi,
    we are planning two PoCs of Integration Plattforms. One of our major requirement set is SAP Integration into our existing SOA.
    Because we also have R/3 4.7 Systems in production, we are planning to test ALE/IDOC and RFC/BAPI Integration scenarios with these Integration Plattforms.
    My question is:
    We are looking for are smart solution to get a SAP Test Environment, where we can test ALE/IDOC und RFC/BAPI Integration scenarios.
    It is possible to do this with SAP DS for ESA v3 or shall we better use IDES for that purpose?
    Best regards,
    Steven

    Hi Abhishek,
      This is our scenario. We are doing an integration of SAP HR r/3 system with the CRM system. We need housing information details of the employees which we have in custom infotype 9310 in SAP HR system and we need those details in the CRM system. So am planning out for an ALE/IDOC approach for the integration and gonna  maintain the 9310 details in a custom table. In the CRM system, we gonna build a BOL layer for accessing the 9310 details. Also i'm preparing a HLD for this process. I wanna read and go through few same HLD's before i submit my proposal to my client. Please suggest me and help me out.
    Thanks in advance.
    Regards,
    Arunmozhi.

  • Problem in starting Integration service with DAC 11g

    Hi friends,
    Im @ the step of registering integration service and the repository service in DAC 11g. I can start the Repository service well in DAC, but facing issue in starting integration service with DAC, while trying to test connection im getting a message like
    Failure connecting to BIA_IS!
    Im not sure the reason to this problem in DAC. I have also setted the necessary environment variables like INFA_HOME and INFA_DOMAINS_FILE referring the domains.infa file like
    INFA_DOMAINS_FILE = C:\Informatica\9.1.0\domains.infa
    Also checked with the dac_env file which has the below contents
    REM -----------------------------------------------------
    REM
    REM ENVIRONMENT VARIABLES THAT YOU MAY NEED TO SET FOR
    REM  PROPER INFORMATICA 8.x or 9.x HANDSHAKE.
    REM
    REM INFORMATICA_SERVER_LOCATION denotes installation of
    REM Informatica components. Example:
    REM C:\Informatica\PowerCenter9.1
    REM
    REM DOMAINS.INFA_FILE_LOCATION denotes the location
    REM (including name) of domains.infa file
    REM
    REM Please make sure to set correct values for variables
    REM mentioned above
    REM
    REM -----------------------------------------------------
    set INFORMATICA_SERVER_LOCATION="C:\Informatica\9.1.0"
    set DOMAINS_INFA_FILE_LOCATION=C:\Informatica\9.1.0\domains.infa
    set INFA_CMD_STYLE=8
    set PATH=C:\Informatica\9.1.0\server\bin;%PATH%
    set INFA_DOMAINS_FILE=%DOMAINS_INFA_FILE_LOCATION%
    What could be the problem and where to check with the logfile related to the integration service failure in DAC.
    Thanks in advance.
    Regards,
    Saro

    Hi guys,
    The issue is sorted out. The below are the two precautions to be considered.
    *) Make sure of INFA_HOME/Server/bin exist @ the end in the PATH variable.
    *) For each and every change in the PATH variable, it is better to restart the services(both infa and DAC) then and there for the changes to take effect.
    Regards,
    Saro

  • Integrating FTP with JDeveloper

    Can anyone help me with integrating FTP with JDeveloper (10.1.3)
    I am developing jsp pages for a web site. the website runs on a Sun Solaris UNIX server.
    At present i develop my jsp pages in JDeveloper and save then to a file on my PC. I then have to use an external tool (Ultraedit) to FTP them to my webserver for testing.
    I have seen in this forum that there is something called 'ant' which will allow you to FTP direct from JDeveloper. I know zero about 'ant' and after spending a couple of hours trawling arround the web i'm still no wiser.
    Can someone give me a hands held, idiot friendly explanation of what i have to do to integrate FTP?
    john

    Here is a basic explanation of the FTP task in ANT.
    You can just create a new Ant build file in your project, add this task with the correct parameters and then right-click run on the build file.
    Another options is to use JDeveloper to create standard WAR file for deployment and then passing it to the server to deploy.

  • Problem in integrating xMII with VC

    hi Experts,
    My xMII server Version is <b>11.5</b>
    I followed this document:
    <b>https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033</b> for integrating xMII with VC.
    Connection URL: http://<myXMIIServerName>/Lighthammer/ALL_TEMPLATES?version=<b>11.5</b>&trace=true
    Driver Class Name: <b>com.sap.xmii.custom.integration.jdbc.SAPxMIIJDBCDriver</b>
    System Alias: <b>XMII_JDBC</b>
    Connection test is <b>successful</b>, after configured System.
    I am getting error while <b>FindData Seach</b> in VC,
    Inputs given are,
    System: XMII_JDBC (this is my system)
    Look for: Look for a table
    the error is, <b>Error-2305 Cannot retrive catalogs and schemas; check the connection to the selected systems Cannot access JDBC metadata </b>
    I think i made mistake in connectionURL, but connection test is successful.
    Please guide me, where i made mistake.
    Points will be Awarded.
    Thanks & Regards,
    Chinnadurai R

    Hi Sam,
    Thanks for your reply... I am also think that i made mistake in comnnection URL ,
    I have created some querys under Samples/Reports,
    I gave like this::
    <b>http://<myXMIIServerName>/Lighthammer/Templates/Samples/Reports?version=11.5&trace=true</b> and  <b>http://<myXMIIServerName>/Lighthammer/Templates/Samples/Reports?</b>
    and then like this
    <b>http://<myXMIIServerName>/Lighthammer/Illuminator/Templates/Samples/Reports?version=11.5&trace=true</b>
    I tried using all the URL  shown above, but it is not listing the Querys in VC .
    Can u guide me how can i form that Connection URL ..
    Thanks & Regards,
    Chinnadurai R

  • Tomcat with Apache

    Hi,
    I have followed the tutorial on this website to configure tomcat to connect with Apache.
    I am on a CENTOS 5 system.
    Apache was already installed and serving three web sites without problems.
    I wanted to add the ability to work with .jsp files and others.
    I loaded Tomcat with incident and it is running.
    I also loaded mod_jk to connect the two as directed by the tutorial.
    However, I cannot access a .jsp file unless I add the port number 8080 in the location bar along with the url.
    Can someone point me to a good guide for getting this up and running? Or maybe provide some insight in what I might be doing wrong.
    Thank You,
    Mike

    On this website? Which tutorial are you talking about? Apache is in no way related to Sun.
    At least you should read the documentation which come along with the Tomcat Connector: [http://tomcat.apache.org/connectors-doc/].

  • Problem while Integrating workflow with OID.

    Hi I have a problem with integrating workflow with OID.I must execute the wf_ldap.synch_all() but I couldn't find WF_LDAP package body in the database.There is only package specification.How I can restore the wf_ldap package.
    Thanks for help..

    The file WFLDAPB.pls should be used to recreate the package body for WF_LDAP (this file is in the wf/sql directory).

  • Integrating OID with BPEL

    I would like to know if anyone has integrated oid with BPEL (standalone version)? Is there any documentation available for the same?

    The only files that I came across & made changes to are is_config, jazn.xml. It would be great if you could tell me if there any other files that needs to be configured? I copied the ldapclnt10.jar & ldap.jar into
    ...\BPEL\integration\orabpel\system\appserver\oc4j\j2ee\home\applib as sugegsted in another discussion forum. But that doesnt seem to solve the problem. Am getting NoClassDef found error now when I try to access the worklist.

  • This content cannot be displayed in a frame after integrating Endeca with EBS R12.2

    Hi,
       I just integrated endeca with EBS R12.2 , after I ran option 6 (envSetup.sh) , bounced Studio Managed server , now I am not able to see data on eAM or Payable Dashboard.
    when I click on Payable Dashboard , I get "This content cannot be displayed in a frame "
    Did I miss any step ?
    Thanks
    sbt

    Version Details :
    EBS is on 12.2.4 version
    Package Used :
    Oracle E-Business Suite Extensions for Oracle Endeca, Release 12.2 V5
    V44749-01_1of2.zip and V44749-01_2of2.zip

Maybe you are looking for

  • Goods valuation with sale order stock

    use S price valuation material, goods have production order ,with sale order stock, when the produciton order have GR, the goods stock value do not use standard price for material accounting view,why ? what problem? use standard price valuation sale

  • Macbook pro screen stuck on grey screen while system working

    Hi everyone. I would like to share with you a very annoying problem I am experiencing with my macbook pro since yesterday. It's a 15" Intel Core 2 Duo 2.4 ghz (late 2007). I should start by saying that my macbook was already having, since months, a p

  • How to delete the entries obtained with showjobs

    Hello to everybody, I would like to delete all the entries that I get with the url http://<servername>:7778/report/rwservlet/showjobs? but I don't know how to do it. Does anybody know where these info are saved (tables, files)? Thanks for your time R

  • HP Pavilion HDX9000 Connect to External DVD Player

    Our older HP Pavilion HDX9000 DVD died and we wanted to use an external DVD player to drive the monitor on the HDX9000.   It does not seem possible to do this despite the HDMI and many other ports.  The PC is running Vista.   Any suggestions?

  • How can I do to use (useful) Time Machine Buddy OUT of Dashboard ?

    Hello dear friends, How can I do to use (useful) Time Machine Buddy OUT of Dashboard ? I know there must be a way to use it as an application. I've noticed TinkerTool can do it, but how do you proceed ? Does anybody have the solution ? Thank you for