Setting a JDBC Realm using the Tomcat Administration tool

Is it possible to do it? I got a hosting where i cant get to the server.xml, so i would need to set my JDBC Realm using the Admin tool.
Thanks Batsup

bump

Similar Messages

  • JDBC Realm issue on Tomcat 4.0.1

    Hi folks,
    Tried this one the Sun forum and haven't had luck yet getting a thorough reply.
    Trying to establish the JDBC realm config in Tomcat and am getting the following error:
    Starting service Tomcat-Standalone
    Apache Tomcat/4.0.1
    Catalina.start: LifecycleException: Exception opening database connection: jav
    a.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name too long
    LifecycleException: Exception opening database connection: java.sql.SQLExcepti
    on: [Microsoft][ODBC Driver Manager] Data source name too long
    at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
    my configuration in the web.xml file is as follows;
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:DSNname@host_string:1521:ORCL?user=user_name;password=pwd_name"
    userTable="chg_users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="chg_users_roles" roleNameCol="role_name" />
    does the above appear incorrect? If so, specifically how?
    Thanks!

    connectionURL="jdbc:odbc:CATALINA"
    in this case, where is CATALINA supposedly pointing
    to a DB connection? I don't have mine set, save for
    maybe the classpath, but why would you point the
    connURL through jdbc:odbc to CATALINA?
    That is the name of a DNS. The ODBC shell (nothing to do with java) has DNS names. The shell uses the passed in name to look up the attributes associated with the name.
    If you were using a DNS-less name then you would have to specify ODBC driver (nothing to do with java) and the associated attributes for that driver in the connection string.
    I'm a little confused by this. Any explanation would
    be great, as I have a driver that is jdbc:odbc,
    rather than an exclusive Oracle driver.
    Well, I've got the ojdbc14_g.jar file. But that's not
    exclusively Oracle, correct? Just for JDBC with
    Oracle?
    A jdbc driver lives somewhere. The bridge driver lives in the Sun VM. The Oracle driver lives in a jar (current ones.)
    The bridge driver talks to ODBC (which is outside of java.)
    The oracle drivers talk to oracle databases.

  • Can I use the same administrator password on multiple devices

    Can I use the same administrator password on multiple devices?  (ie) MacBook Pro and Powerbook G 4

    Hello,
    I use the same password on all my Macs. Provided you have set the user accounts with the same password, you will be fine.

  • I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    >SystemPreferences>Network>DNS

  • I have an iphone 4s that i got last week and i set it up just using the phone. today my dad restored it as my mothers iphone so i lost all of my data. I tried to restore it as my original phone i had but i exited out of itunes and now my phone wont showup

    I have an iphone 4s that i got last week and i set it up just using the phone. today my dad restored it as my mothers iphone so i lost all of my data. I tried to restore it as my original phone i had but i exited out of itunes and now my phone wont showup in itunes or on my computer

    Did you fail to import them to your computer before restoring?
    Not good.
    They are likely gone.
    You can try restoring from backup.

  • I had set my phone to use the pattern screen lock but now it is asking for a PIN.

    I had set my phone to use the pattern screen lock but now it is asking for a PIN.
    I turned my phone on this morning and instead of the pattern lock that I've been using with this phone since I purchased it, it is now asking for a PIN that I do not know.
    I contacted Samsung but they told me that my carrier would be able to reset the PIN for me remotely. I've been trying to find a way to chat with Verizon support but it keeps sending me to self help troubleshooting. It was so easy to get a live person on Samsung support, how do I get a real person on Verizon?
    Thanks

    Thanks deb2too, I'll keep the number for future reference. I was able to unlock the phone via https://www.google.com/android/devicemanager

  • When I load certain websites the the writing is all squashed up. I correct this by changing the character encoding setting. I am using the latest Apple Mac machine. Thanks in advance

    When I load certain websites the the writing is all squashed up. I correct this by changing the character encoding setting. I am using the latest Apple Mac machine. Thanks in advance

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • I've used the Domains Administrator and added 45 domains. Where is that information recorded ?

    I've used the Domains Administrator and added 45 domains. Where is that information recorded ?
    Thanks,
    Bob Larsen

    The should be in defaultdomains.xml which will be in your system types directory (if you defined one), otherwise it is in a folder where you installed data modeler.

  • I'm new to using iCloud and couldn't find the answer to: how to set my calendar to use the 24 hour clock. Thanks all.

    ?? I'm new to using iCloud and couldn't find the answer to: how to set my calendar to use the 24 hour clock. Thanks all.

    Thanks, David.  i thought i had it set correctly in Preferences in L&R. Being i was wearing my suspenders and belt at the same time i went back to L&R, cleared what was there and re-entered same to include unchecking and rechecking Time Format fgor 24-hour time.   It works now. Thanks again.

  • Setting White/Black Points using the Tone Curve

    I'm trying to set white/black points using the tone curve, but when I try to slide either of the end points of the line in the tone curve tool I can't get them to move. Could those be locked somehow...?

    That's what it is supposed to do. Without the sliders, you are working with the curve itself. Now you have direct control of the curve, and can drag any part of it. Have you considered setting your white and black points using the whites and blacks in the basic panel while holding down the alt/opt key? I suppose the reason it says point curve is because that icon is what you used to switch to the point curve.

  • When using the refine edge tool, my image is opposite....rather than the background being transparent...the "subject" is gone...do I have a  something set incorrectly?

    I used the quick selection tool to outline, then refine edge....
    my image does not shoe up in the refine edge window....it is a "mask"..
    then when I output to "new layer  with layer mask"....my "subject" t is gone...back ground remains...

    Thanks for your prompt reply!
    this is how the "finished" product looks...this is the image after I select "output to mask"..
    It seems "reversed"?

  • Mapping Split using the Graphical Mapping Tool

    Hello,
    I am a little confused right now... so I turn to you for help!
    I found this excellent blog:
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    It details how to do a message split using the Graphical Mapping Tool. WHich is exactly what I want!
    But then I found this on help.sap.com:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
    Which states that:
    Messages cannot be sent by using different Adapter Engines in a mapping-based message split. This affects configuration thus: All receiver agreements that have a receiver interface from the mapping entered in the key must only be assigned communication channels with the following adapter types: 
    -          RFC Adapter
    -          SAP Business Connector Adapter
    -          File/FTP Adapter
    -          JDBC Adapter
    -          JMS Adapter
    -          SOAP adapter
    -          Marketplace adapter
    -          Mail Adapter
    -          RNIF adapter
    -          CIDX Adapter
    I have a simple mappling split where I want to take a file containing multiple materials and send them one by one to a PROXY into SRM. To send to proxy I want to use the HTTP adapter which is not listed above. BUT if I read it correctly it will work, as long as I dont try to do the interface determination based on the mapping.
    Is this correct, that it will work I mean? I think so but not sure about the wording in the sentence above, and wanted to check before I go destroy my mapping.
    Thanks!
    Nam

    Hi,
    If your scenario is simple and straight fwd like from one source to one target then you can split message without BPM. As Priyanka said in the message mapping go to Message Tab and set the target message occurance to unbounded. Then in the Interface Mapping in the target interface section you will find the occurance in the last column, change occurance to unbounded.
    While doing configuration you have to go for Enhanced Interface Determination thats it.
    Provided you are above sp14, incase of any lowere SP'a you will not even able to activate your mapping program as it will expect ABSTRACT interface to do multimapping.
    Thanks,
    Prakash
    Thanks,
    Prakash

  • ORA-12505, error when i tried to open the "Workflow Administrator" tool

    i have installed Oracle content server 10g r3, but when i tried to open the "Workflow Administrator" tool i got the following error "ORA-12505, TNS: listener does not currently know of SID given in connect descriptor", so how can i solve this issue?
    //hint i am using Oracle database 10g

    Is the rest of your UCM install running OK?
    This implies that the JDBC connection is failing.
    Are you running Workflow Administrator from the Admin Applets in the browser OR as a standalone application from command line (*nix) or Start menu (windows)
    I think that the application would normally look in config.cfg and use the JDBC connection string given in there - this would include the SID. Can you tnsping the SID?
    Tim

  • I scanned an image and want to use the image trace tool, but it doesn't pick up all the lines.  Is there a way to darken the lines before using the image trace tool?

    I scanned an image and want to use the image trace tool, but it doesn't pick up all the lines.  Is there a way to darken the lines before using the image trace tool?  Help!

    If the scan is in B&W, then play with the Threshold setting here
    If it's in Color, then you will have to open the scan in a Raster editing software (like Photoshop) and play with the Brightness/Contrast settings to make the lines bolder.

  • "Could not use the clone stamp tool because of a program error". How to fix this fault?

    When I try to use the Clone Stamp Tool I am met with the message shown above. I have tried in all the ways I could find to beat this: different photos, switched the computer off and on again, run a de-bugging program through it (Advanced System Care 5 Pro) and Microsoft's own stuff. The problem exists solidly and, without one of its most important picture repair tools Photoshop is pretty much useless.
    I have just set this new Photoshop Elements 10 program up on my Windows 7 (64) laptop. I have plenty of memory and a large enough hard drive; the machine is fairly new, stable and does not usually suffer from programming problems. I have found nothing on any of the Adobe Forums, or in other sites, to give me a hint as to what has caused the problem other than a bad program disk. My first conclusion was that I should reinstall the program, but it appears that I will then lose one of my two registration rights, that strikes me as being ridiculous as reinstallation is surely the most logical thing to do with a potentially faulty program disk! But I would have to uninstall to reinstall, and that's when the the second registration cuts in I am advised. I have tried every way I can think of to beat this to no avail. I'll be truly grateful if someone can help me out on this. Thank you!

    Thanks guys! I'm afraid that I'm still not sure: I've been told that uninstalling - after of course deactivating - amounts to a life gone... Yet according to the set of licence rules Adobe has, you're allowed to copy programs in a mirror image which, of course, would be used for a clean wipe - and surely that contradicts their set of rules? The rules seem to imply that that would be okay: no life lost. My concern is that through no fault of my own I have what appears to be a duff program; it's out of warranty now (my fault - I didn't install it until I could buy a more heavy-duty laptop). If the rule is "two-strikes-and-your-out, then I lose my last reactivation after THIS installation. I will get in touch with Adobe - but I live in the UK, and therein lies the problem: the equivalent of $39 dollars for the chat and whatever else it might cost is off-putting to me I'm afraid. If I could find out whether or not Adobe has a patch or something I would be a lot more happy about it all - the reinstallation after all may NOT cure the problem and I'd be stuck with a bunch of coffee cup coasters! Hey, ho...

Maybe you are looking for

  • Character translation error in Mapping Lookup API (RFC)

    Dear all, I am new to XI and got a question concerning XI Mapping Lookup API - I send an RFC Request, which comes back as RFC Response(XML), that I fill in a String to map on. My problem is, characters such as "Ä,ä,Ü,ß" and so on come back pretty wei

  • Problem uninstalling Acrobat Reader 9.0

    Hi, I upgraded to Acrobat Reader 9.0 a while ago but due to internet access I believe the upgrade did not complete properly and now I am left with a corrupt install of Acrobat Reader. I tried to remove it using Add or Remove Programs but it says that

  • GCS on grid control graph is high and write data slowly

    We writed more data to Oracle RAC 10.2 + ASM on Redhat. It's slowly. When we check grap on Grid Control, we found high stat on "Global Cache Block Access Latency". How can I tune or investigate? ###remark Oracle Cluster 4 nodes (10.2 + ASM on redhat

  • OUTBOUND

    Hi Experts, Please send me sample outbound interface codes in ABAP HR

  • Unknown problem installing itunes please help

    Hey, im trying to install itunes on a computer and i keep getting the following error "itunes installer completed, the installer has encountered errors before itunes could be configured. to retry these operations at a later time, please run the insta