Connector for tomcat and j2ee

I have a login system created. It creates accounts into a mysql server at the moment. I want the users to be able to log in. I need the correct details in my "my-DB-plan.xml" file in order to be able to connect to the SQL server. Im not sur what to put in this file or whether im to use a server.xml file
Any Help.Please.

Our[b] login.html page is simple as follows:
<html><head><title>
J2EE SQL Security and Registry System Demo
</title></head><body>
<h1>LOGIN using Derby and J2EE declarative security!</h1>
<form method="POST" action="j_security_check">
Username:<br>
<input size="20" name="j_username">
<br><br>
Password:<br>
<input size="20" name="j_password" type="password">
  <input name="submit" type="submit" value="Login">
</form>
</html>The connection is not made on the page but rather the username and password is authenticated by "j_security_check".
It's something to do with the my-db-plan.xml file I think, but I don't know if I'm to replace that file, change it or what..
It's setup for the Derby Database server rather than MySQL. I'm not sure how you'd change it. This login system we are using can be seen here: http://www-128.ibm.com/developerworks/opensource/library/os-ag-logreg2/

Similar Messages

  • T400s Headset problem: only one female connector for Micro and earphones

    Hi there,
    would need informations concerning the headset jack on the left of the laptop. Whereas in my old X60s have been two connectors for Microphone and stereo earphones (separately), now in the T400s only one connector is left, combining those two functions. As I would like to keep my headset: What kind of connector / adapter has to be used? Is the new jack stereo or mono?
    Who can help me?
    Regards,
    Lutz
    Solved!
    Go to Solution.

    Hi Mats (and all others),
    problem solved here: I have bought a Belkin "Y-adapter" picture here
    Works great with a mono headset (1 x micro and 1 x headphone, both with stereo plug).
    The microphone uses the top of the connector, the headphone uses the second port. Perfect.
    Have fun,
    ineltron GmbH
    if you should need some power semiconductors: www.ineltron.de

  • Help needed with connectors for Netbeans and Forte

    Im using Forte for Java
    my biggest obstacle is connecting sub j-frames to the main j-frame
    i have created a main J-frame and sub j-frames in one package
    in the Main J-frame there are buttons that you click to go to the next frame the same way "a-href" in HTML works in the same window and back
    what my problem is how to declare the connectors for each button to go to the sub-frame
    what code generators are required and the process and how to lable each sub-frame to be called
    my project is a finance program
    i.e
    Main Frame
    Menu:- ( TVM) ----------> button
    (simple interest)-------> button
    etc
    when you click the (TVM) button
    it should open the TVM frame (subframe in the same window)
    this is my problem your help please this is a project which i have a deadline to meet ive done research through out but couldn't come across any useful or relevent material
    this is a lot easier with pascal but Forte is a compulsory and java
    if you want the screenshots ill post it thru mail just drop your adress and ill forward it
    thank you

    matt010385 wrote:
    Thanks
    I have already tried all of the things that site suggests, there is nothing wrong with the servers, or the service, I have tried all the work arounds that they suggest, but I still cannot get it to work.
    Having a quick read i see from a link there that you might need to open ports(port forwarding).
    Are you using a HH3, if so, I believe that it does have trouble with port forwarding, you can try a search here.
    I am not into games as such, so will have to leave it for others to possibly help with some info.
    toekneem
    http://www.no2nuisancecalls.net
    (EASBF)

  • Oracle Connector for Outlook and Sent Mail

    I'm very desperate for help with my problem. I have a customer that uses Outlook 2003 with the Oracle Connector for Outlook. When I set up the Connector, I only had it handle her Calendar. By that I mean that the only thing I wanted the Connector to do was pull her Oracle Calendar information and put it into Outlook's calendar. I used the default setting of the Connector of IMAP, but deselected the incoming and outgoing mail servers.
    The user kept having problems with Outlook going Offline so I decided to remove the Connector. I did not realize until after removing the Connector account from Outlook that her sent mail was being saved in Oracle. This is very problematic for me because I have no idea what to do. Is there a way to retrieve the sent mail? I don't even understand why the sent mail was being saved within the Oracle folder. Once I deleted the Connector account in Outlook I was then told that I had to choose another folder for new mail to go to so I chose Personal Folders.
    If I go to \Documents and Settings\User's Name\Local Settings\Application Data\Microsoft\Outlook, I find the folder for the Connector. There is one in particular that has a .dll file that is about 56MB in size. However, I have no idea if that's the sent mail and, if so, how do I retrieve it.
    I'd GREATLY appreciate any help that can be given on this. I simply would like to know if there is a way to retrieve that mail.
    The user is using an IMAP account. This is NOT an Exchange account.

    1. Yes, OCFO is only for comunication with Oracle Calendar
    2. Yes, you can see any mail stored on the Oracle IMAP server without OCFO. Just subscribe to IMAP folders you want ...

  • DMS Connector for KM and KM API

    Hi All,
    Our Client has SAP Content Server installed in the landscape, and would like to use SAP Portal (NW 7.3) KM API capabilities for document management (attachements on Custom portal application developed via WebDynpro for Java).
    Inorder to connect to the Content Server to SAP Portal as one of the repository, DMS Connector for KM is used (got to know this via some posts on SDN).
    I am still unclear if KM API can be used document retrieval and save to Content Server direcly and seconldy about the possibility of having correct version of DMS Connector.
    Any inputs on the above two points would be helpful.
    Thanks,
    Vamshi
    moved by moderator

    Hi All,
    Our Client has SAP Content Server installed in the landscape, and would like to use SAP Portal (NW 7.3) KM API capabilities for document management (attachements on Custom portal application developed via WebDynpro for Java).
    Inorder to connect to the Content Server to SAP Portal as one of the repository, DMS Connector for KM is used (got to know this via some posts on SDN).
    I am still unclear if KM API can be used document retrieval and save to Content Server direcly and seconldy about the possibility of having correct version of DMS Connector.
    Any inputs on the above two points would be helpful.
    Thanks,
    Vamshi
    moved by moderator

  • Connectors for keyboard and fingerprint onto the motherboard

    I have a dv7-4170us
    I recently had a problem with the bracket that allows the lid to open and close, so I took apart the laptop to see if I could fix it.  In the process, i had to basically take apart the entire computer.  I took off the keyboard and the top panel, but in the process of taking off the front panel and keyboard, I had to disconnect a few things from the motherboard.  The connector is a black piece that twists upward to allow the ribbon-style cable to release.  The black piece was very difficult to twist upward, and two of the four that I had to remove ended up breaking.  The black pieces are no longer attached, so the cables are no longer secured.  I tried to tape them there in the right spot, but the fingerprint reader will not work at all, and half of the keyboard isn't working, so I can't do anything with the laptop.  I have no clue what to do here.  I don't know if there is a way to replace the black pieces, or if I'm just screwed.  Any help would be great
    Thanks,
    Joe

    You can already plug your iPod dock connector into the extra USB port on a wired Apple thin keyboard, as long as the iMac is aluminum. I think Apple will let third parties do specialty lower volume products, like a keyboard with a built-in iPod dock.
    http://technabob.com/blog/2009/06/15/iconnect-keyboard-with-ipod-dock/
    But you can make suggestions on the feedback page
    http://www.apple.com/feedback/

  • Connector for CATIA and SAP integration

    Hi
    Could you please let me know which connector can be used to integrate SAP with CATIA system. Shall we use CIDEON to integrate both the systems?
    Regards
    Raja

    Hi Shishir
    Thanks for your reply.
    Have you done the integration between CATIA ans SAP? Which CATIA version you have worked?
    When i searched in internet, CENIT is also suggested to integrate CATIA with SAP.
    I am confused which one to be used for the integration.
    Regards
    Raja

  • Error while adding a connector for SSL..help!!!

    i'm getting this error when i added a connector for SSL and restarted tomcat
    my connector tag is
    <Connector keystorePass="kalima" scheme="https" port="8443" sslProtocol="TLS" redirectPort="-1" enableLookups="true" keystoreFile="Mykeystore" protocol="TLS" keystore="C:\Documents and Settings\santhoshyma\Mykeystore" clientauth="false" algorithm="SunX509" keypass="changeit" secure="true" keytype="JKS">
          <Factory className="org.apache.coyote.tomcat5.CoyoteServerSocketFactory" keystorePass="kalima" keystoreFile="C:\SSLTest\Mykeystore"/>
        </Connector>
    LifecycleException:  Protocol handler instantiation failed: java.lang.NullPointe
    rException
            at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
    java:1368)
            at org.apache.catalina.core.StandardService.initialize(StandardService.j
    ava:609)
            at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
    a:2384)
            at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
            at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

  • JWSDP and J2EE Integration: Doesn't work. What's the point?

    My problems involve the integration of JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    It looks like a long one, but it�s really not that bad. All comments are appreciated.
    I�ve numbered each line-paragraph-section for easy reference later.
    (1) My ultimate goal is to setup a website that displays data from a database. I will use Java, Apache, Oracle, and whatever else I need to create a website that uses servlets, JavaServer Pages (JSP), and JDBC.
    (2) I�ve got four Pentium III computers:
    1. Windows 2000 Server to be the web server (MyWebServer, IP = 10.10.1.1).
    2. Windows 2000 Professional to be the database server (MyDatabaseServer, IP = 10.10.1.2).
    3. Windows 2000 Professional that I use to develop and test (MyDeveloperPC, IP = 10.10.1.3).
    4. Windows 2000 Professional that I use as a client to connect to the website (MyClientPC, IP = 10.10.1.4).
    (3) On MyWebServer I installed the following:
    Java 2 Standard Edition (J2SE)
    Java 2 Enterprise Edition (J2EE)
    Java Web Services Developer Pack (JWSDP)
    The JWSDP tutorial
    Apache HTTP Server
    (4) The files I downloaded and installed are as follows:
    j2sdk-1_4_0-rc-win.exe
    j2sdkee-1_3_1-win.exe
    jwsdp-1_0-ea1-win.exe
    jwsdp-1_0-ea1_01-tutorial.zip
    apache_1.3.23-win32-x86-no_src.exe
    (5) After installing these products, I set the environment variables as follows:
    JAVA_HOME = c:\j2se
    J2EE_HOME = c:\j2ee
    JWSDP_HOME = c:\jwsdp
    Path = c:\j2se\bin;c:\j2ee\bin;c:\jwsdp\bin; [and other previous statements]
    (6) I checked to see that Apache is running as a service. It is.
    On MyWebServer I start Tomcat and J2EE. Both start properly and are operating simultaneously.
    (7) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1
    This displays the page c:\ApacheHTTP\apache\htdocs\index.html.en (The Apache default server installation page.)
    (8) I then enter this address in IE:
    http://10.10.1.1:8080
    This displays the page c:\jwsdp\webapps\root\index.html (The default JWSDP page).
    (9) I then enter this address in IE:
    http://10.10.1.1:8000
    This displays the page c:\j2ee\public_html\index.html (The J2EE 1.3 Default Home Page).
    (10) So far so good. Now I want to test JWSDP as a container for JSP pages.
    (11) I use ant to build the converter app found in the tutorial examples (in folder c:\jwsdp\�\tutorial\examples\gs). I then deploy the converter app to the c:\jwsdp\webapps\gs folder.
    (12) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1:8080/gs
    The converter app works perfectly.
    (13) To eliminate the need to enter the port number, I create a link from the Apache default server installation page to the converter app. From MyClientPC and enter this address into IE:
    http://10.10.1.1
    I then click on the link to the converter app and it works perfectly.
    (14) Question: Is this the best way to display JSP pages without having to enter the port number?
    (15) Now it�s time to integrate JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    (16) After I complete this integration I cannot start both Tomcat and J2EE at the same time. This makes sense because they both share port 8080.
    I start Tomcat.
    (17) From MyClientPC and use Internet Explorer to test the various relevant addresses. Everything works the same as it did before except this one:
    http://10.10.1.1:8000
    The page cannot be displayed. The J2EE default home page is not displayed, which makes sense because the J2EE port is no longer 8000; it has been changed to 8080.
    (18) Now I shutdown Tomcat and start J2EE.
    From MyClientPC and use Internet Explorer to test the various relevant addresses:
    (19) http://10.10.1.1:8080
    Displays the JWSDP default home page.
    (20) http://10.10.1.1:8080/gs
    The page cannot be displayed. The converter app no longer works.
    (21) From MyWebServer and use Internet Explorer to test localhost:
    http://localhost:8080
    This displays the J2EE default home page.
    (22) Question: Why does localhost give me a different page than the IP address?
    (23) Question: What was the point of integrating JWSDP and J2EE?
    (24) I want to get the converter app working, so I create a .war file and attempt to add it to the J2EE deploytool (see the two integration documents listed above at section 15.) I create the .war file following the instructions in the JWSDP tutorial:
    http://java.sun.com/webservices/docs/ea1/tutorial/doc/WebApp3.html#64606
    (25) I change to the c:\jwsdp\�\tutorial\examples\gs\build folder.
    I then type:
    jar cvf converter.war .
    A .war file is created.
    (26) I open the deploytool: File, New, Application, and I name it �converter�.
    I attempt to add the .war file: File, Add to Application, Web WAR.
    (27) When I attempt to add the converter.war file I get this error:
    �converter.war does not appear to be a valid web JAR.�
    I tried a few different attempts, all with the same result. I�m stuck.
    (28) I ask again, What was the point of integrating JWSDP and J2EE?
    (29) If this is the preferred configuration, how do I display my JSP pages like the converter app?
    Please help!!!

    The JWSDP tutorial says to be in the �build� folder of the example when issuing the jar command to create the .war file. The build folder is created when I run the �ant build� command.
    Attempt 1 from the command prompt in folder c:\jwsdp\tutorial\examples\gs\build>
    I typed this command:
    jar cvf c:\jaxmservices\converter.war .
    In this case I directed the .war file to be placed in a different folder as you suggested. Here�s the output:
    added manifest
    adding: index.jsp(in = 921) (out= 525)(deflated 42%)
    adding: WEB-INF/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/Converter.class(in = 582) (out= 358)(deflated 38%)
    Didn�t work. Same error as before.
    Attempt 2 from the same folder:
    I typed this command as you suggested (I tried it with and without the final dot):
    jar tvf converter.war
    Here is the output:
    java.io.FileNotFoundException: converter.war (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.tools.jar.Main.run(Main.java:185)
    at sun.tools.jar.Main.main(Main.java:904)
    I tried a few other variations on these attempts with no luck. I�m stuck.
    I�m attempting to create a .war file out of two files: index.jsp and converter.class.
    Now that I�ve integrated JWSDP and J2EE, is there some other way that I can run the converter app instead of a .war file and the deploytool? In other words, if I go back to using ant to build and deploy converter, where would I deploy it so that it will work with J2EE?
    By the way, it doesn�t have to be converter. I�d be happy if I could get any JSP page to work in J2EE after the integration.
    Forever grateful,
    Logan

  • GPL Licence, Apache Tomcat and J2EE5

    Hello !
    I'd like to know if it is possible for a company to sell a server with apache tomcat and J2EE 5 ?
    Does this company have to pay fees to Sun ?

    Hi,
    I have same problem with B1 9.1, Version for Hana, but I cannot apply the workaround of San Xu on linux server.
    I try a clean installation of 9.1 servertools on linux server, but on windows server, when I run the Upgrade.exe for the databases, the error appears: "Could not connect to licence server; enter valid password".
    I've the italian localization.
    Can someone help me?
    Thanks & Regards
    Valerio

  • Renew License Problem - Option NSP and J2E (7.0) Windows Not Available

    Hi all,
    I Download and instaled the :
    - SAP NetWeaver 7.0 Java Trial Version - SP14SR3
    - SAP NetWeaver 7.0 ABAP Trial Version - SP12
    for Windows almost 90 days ago.
    To Renew the license I went to link "SAP Sneak Preview License Key Request"
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/minisap/minisap.htm]
    But at "System Id *" combobox the correspondent options for Windows intalations above are not available (J2EE and NSP).
    Pls, how to proceed ? I remember I did it with older versions (< SP14/SP12) with no problem.
    Best Regards and thanks for your help.

    >
    Klaus Keller wrote:
    > see my posting at SAP NetWeaver Application Server
    >
    > Rgds,
    > Klaus
    Hi Mr. Klaus Keller, first at all, thanks a lot for your help,
    After your msg I requested the license renew for NSP and J2EE with success, but when I tried to instal the new license file NSP.txt (User=SAP* / Transaction=SLICENSE) I received the error msg:
    "Error when installing permanent license key - This system's system number is "000000000310714511", but there is a license key for system number "000000000310994500" in the license key file."
    In fact the System Number on SLICENSE transaction and NSP.txt are diferents.
    Looking at installation documentation (start.html / Getting Started) it shows the screen to request the renew license and it has the option below wich is not available at actual screen:
    System number [ _________________ ] (For prologation only)
    I tried to change the System Number manually at NSP.txt but the license becames invalid.
    I did not try with J2E.txt license cause I notice that the System Number is different too.
    Thanks for your attention,
    Walmir Catunda.
    PS. As the thread [No longer able to renew licenses for SAP Netweaver 2004 Linux Testdrive?|No longer able to renew licenses for SAP Netweaver 2004 Linux Testdrive?;  is closed (answered) I will keep this and put a note to this one

  • OIM connector for OpenLdap?

    Hello,
    Connectors for OID and Sun Java System Directory are included with the 9.0.4.1 collection -- will either of these operate with OpenLdap (even if it's a subset of functionality)? Better approach?
    Thank you!
    Scott

    The LDAP lib that is used by the connector will work fine with OpenLDAP or any other LDAPv3 compliant LDAP server. I did some provisioning to OpenLDAP using the same lib a couple of years ago.
    You will probably run into some minor issues with how the higher layers of the connector interacts with the LDAP server so I would recommend getting a good packet analyzer (for example Wireshark). This will make it possible for you to inspect the LDAP commands that the connector is generating as they are sent to the LDAP server.
    Best regards
    /M

  • Breakoutbo​x for Digital and Analog Output

    Hallo everybody
    i need  to design a breakout box with BNC and SMD connectors for Digital and Analog output (the DAQ cards we use are  PXI-6723 for analog and PXI 6259 mostly for the digital an fast AO Channels) I am looking for tutorials and info material for that. On what I have to pay attention what would be a good circuit diagramm design and so on.
    Maybe you could give me some tips where I can find good Material about that.
    Sebastian

    Hello Sebastian
    first of all I'll need some more information about your intention. What exactly are you going to do? Do you want to connect, or divide signals? (Which signals?)
    Maybe if you have a look in the manuals of the cards, you'll get closer to this. Here you can find out the pin assignment of the cards.
    Manuals and specification:
    PXI-6723:
    http://www.ni.com/pdf/manuals/370822c.pdf
    http://www.ni.com/pdf/products/us/04-3513-301-101-​DLR.pdf
    PXI-6259
    http://www.ni.com/pdf/products/us/044063301101dlr.​pdf
    http://www.ni.com/pdf/manuals/371291h.pdf
    Regarding
    Gregor Allexi

  • Modules compatible with MT-RJ Connectors for CAT3750G

    Hi All,
         We recently encountered a problem regarding fiber optic modules and connectors. We plan to overhaul our very simple network infracstructure using Cisco Switches. Done some research and stuff about the product line. We ordered 3750G for our core and a 2960Gs and ordered all GLC-SX-MM, thinking that all of them uses the same types of connections. However, when we are about to deploy them, we noticed that our fiber optice connectors do not match with that of the GLC-SX-MM. So instead, we researched about the connector that we encountered. Upon research, we figured out that we currently use an MT-RJ connector, whilst the GLC-SX-MM requires an LC connector, if I got that right. Question is, if there is any module that could accomodate MT-RJ connectors.
    P.S. We also have SC Duplex Connectors too. Are there any other that could also support SC Duplex connectors for 3750Gs and 2960Gs? I guess this would be what you call a newbie mistake in cabling.

    How is the fibre optics presented to you on the racks, SC, LC?
    http://www.huihongfiber.com/fiber-optic-pigtail.html

  • Installing Tomcat connector for Apache

    I realize this is more of a Linux configuration issue but it does deal with Tomcat so I am hoping someone can help.
    I am having some problems installing the tomcat connector for Apache web server on Linux (Red Hat enterprise).
    I need to have both Apache (by which I mean Apache Web Server) and Tomcat running on this system and it is my understanding that one can use the tomcat connector as an Apache module to connect from Apache to Tomcat for jsp requests.
    Okay so here is what has been done.
    Tomcat is installed and running fine (on port 8080)
    Apache is running fine.
    I followed this guide http://tomcat.apache.org/connectors-doc/howto/quick.html
    And I created all the config files etc but when it comes to finding the mysterious mod_jk.so file I am stuck. I went to the downloads area and end up in the following directory/page http://apache.mirrors.northco.net/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.14/
    I don't see a mod_jk.so file in there. (?!?) So... I poked around some more but I feel I am looking at the right directory so I downloaded the worker.so file and put that in my apache modules directory. I renamed it as mod_sk.so (now please bear in mind that I am not too dumb and I realize that renaming a file isn''t doing anything magical but due to lack of any documentation describing why there are two different files I took a guess and thought that maybe the different files are different threading setups or something (considering the other one is named prefork to me this seemed to be a logical conclusion based on the information given))
    And of course it doesn't work. By which I mean the following happens if I run configtest for apache (if I try to start Apache same disaster)
    # /sbin/service httpd configtest
    Syntax error on line 3 of /etc/httpd/conf.d/tomcat_connector.conf:
    Cannot load /etc/httpd/modules/mod_jk.so into
    server: /etc/httpd/modules/mod_jk.so: cannot open
    shared object file: No such file or directoryOkay... Except a file with that name (see above) IS in that directory. And it has the same permissions as the other modules which are loading.
    (After moving to the modules directory)
    # dir
    libphp4.so mod_cache.so mod_imap.so mod_proxy_http.so
    mod_access.so mod_cern_meta.so mod_include.so mod_proxy.so
    mod_actions.so mod_cgi.so mod_info.so mod_python.so
    mod_alias.so mod_dav_fs.so mod_jk.so mod_rewrite.so
    [more stuff that loads here but edited for length]So I think something else has gone wrong here... namely that I have the wrong file or something.
    Anyway I am a bit stuck at this point. Could someone point me in the right direction please because I am just going in circles at this point with the documentation not matching up to what files are available or explaining what those files in fact actually are.

    I solved this issue by compiling the file from source. I got hold of another admin friend who told me that the version I had was for 64 bit. Now how I was supposed to discover this or where in fact a compiled version of this file is on the apache site I know not.
    But it's working now.

Maybe you are looking for