Need help configuring JDBC Realm on Tomcat 4.0.1

I'm getting the following error:
(from DOS prompt)
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)Here's my attempted configuration:
            <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" />Any help would be appreciated!
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.

Similar Messages

  • I have a problem with JDBC Realm in Tomcat/Oracle/Win XP

    I have a problem with JDBC Realm in Tomcat.
    I have attached my server.xml file located in the
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
    The Problem is that when I login I get the user name and password prompt but it does not resolve.
    When I enter in the tomcat-users.xml password with memory realm uncommented it works fine.
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
    Is there a cache or something I need to reset for the JDBC Realm to work?
    I have attached my tables and contents as well...
    Did I miss something????
    Thanks
    Phil
    server.xml
    <Server port="8005" shutdown="SHUTDOWN">
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    </GlobalNamingResources>
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@localhost:1521:orcl"
    connectionName="testName" connectionPassword="testPass"
    userTable="users"
    userNameCol="user_name"
    userCredCol="user_pass"
    userRoleTable="user_roles"
    roleNameCol="role_name" />
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>
    </Engine>
    </Service>
    </Server>
    Tables
    create table users
    user_name varchar(15) not null primary key,
    user_pass varchar(15) not null
    create table roles
    role_name varchar(15) not null primary key
    create table user_roles
    user_name varchar(15) not null,
    role_name varchar(15) not null,
    primary key( user_name, role_name )
    select * from users;
    ----------------------+
    | user_name | user_pass |
    ----------------------+
    | tomcat | tomcat |
    | user1 | tomcat |
    | user2 | tomcat |
    | user3 | tomcat |
    ----------------------+
    select * from roles;
    | role_name |
    | tomcat |
    | role1 |
    select * from user_roles;
    -----------------------+
    | role_name | user_name |
    -----------------------+
    | tomcat | user1 |
    | role1 | user2 |
    | tomcat | tomcat |
    | role1 | tomcat |
    -----------------------+

    Jan 2, 2008 11:49:35 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 2, 2008 11:49:35 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 734 ms
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    Jan 2, 2008 11:49:35 AM org.apache.catalina.realm.JDBCRealm start
    SEVERE: Exception opening database connection
    java.sql.SQLException: oracle.jdbc.driver.OracleDriver
         at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:684)
         at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:758)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 2, 2008 11:49:36 AM org.apache.catalina.core.StandardContext resourcesStart

  • Configuring JDBC Realms and session mangement

    Hello All,
    I want to provide authentication to my application.
    Eg.
    There are users in "User" table in my Java DB.
    There is home page having login form and other features.
    When the user enter his credentials in the login form, his credentials will be checked against the "User" table. iIf the credentials are right then, the next page containing his account information and shopping cart will be displayed and his session ID will be maintained. This session id will be used for other operations performed by this user.
    I have achieved the above task easliy with my normal JDBC and JSP,Servlet.
    I am learning Securities, and i want to accomplish this task using JDBC Realm with Netbeans IDE. Means Credentials will be checked, Session will be maintined, session id will be tracked and user page(account information and shoping cart) will be displyed.
    How to achieve this?
    Please help me out with the codes or example.
    Please provide me the link if any article is mentioned for the same.
    Thans & Regards,
    Gaurav Dighe

    ok thanks....
    but thats what i exacltly need. How to configure Servlet Container and Glassfish server to achieve the task. Second thing is that by doing so i want to achieve the session management. To be precise i want to configure by glassfish server and application for JDBC Realm and then achieve Session management/tracking.
    I there any way to achieve this. I am new to Security.
    Please help..
    Edited by: user8687589 on Jan 27, 2011 11:33 AM

  • Need help configuring Excel Services

    I've configured both the Excel Serives and Secure Store Target applications and continually receive the following error message when trying to view the Simple Projects List sample report:
    An error occurred while accessing application id ProjectServerApplication from Secure Store Service. The following connections failed to refresh:
    Project Server - Simple Projects List
    The Server Logs show the following errors:
    Access Denied: Claims stored in the credentials did not match with the group claim for a group app.
    The Microsoft Secure Store Services application Secure Store Service failed to retrieve credentials.  The error returned was 'Access Denied.' ...
    Access is denied. (Fault Detail is equal to Microsoft.Office.SecureStoreService.Server.SecureStoreServiceFault)
    SSS has failed with the following exception: Access is denied.
    Unable to esablish a connection using credentials retrieved from SSS.  This could be because the Unattended Service Account is not configured or because the credentials retrieved from SSS are not valid. 
    I've repeated the steps to create these configurations a few times, and continue to get the same errors.  Any help would be appreciated!
    Thanks

    Hello,
    I need help setting up excel services.
    Excel service is already running on sharepoint server.
    I have one reporting file which is generated by DBA with database connection. i want to upload that file under document library and i want whenever user open it through document library, it gets updated through database connection 
    This is my first time, so pls guide me
    Reporting file has authentication set to --> None 
    Do i require any specific settings for authentication? like unattended account ? which username should i use
    Connection String -->
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;User ID=ExcelServices;Initial Catalog=SurveyData;Data Source=jdb1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=RSTKW7W-06709;Use Encryption for Data=False;Tag
    with column collation when possible=False
    http://../training/sptestsite/Medication_Audit_Report
    http://../training/sptestsite/Medication_Audit_Data_Connection_Library/
    Trusted File Location - is this place do i need to upload that reporting file? 
    Trusted Data Connection Libraries - is this place do i need to save connection file .odc ?
    If i am not wrong, should i put
    Trusted File Location = http://../training/sptestsite/Medication_Audit_Report
    Trusted Data Connection Libraries = http://../training/sptestsite/Medication_Audit_Data_Connection_Library/
    http://../training/sptestsite/Medication_Audit_Report -- Here only reporting file will be uploaded right?
    http://../training/sptestsite/Medication_Audit_Data_Connection_Library/ -- Here only database connection .odc file will be uploaded?
    what other settings are required. please correct me
    my email address - [email protected]
    Harsh

  • I need help configuring three products: WRVS4400N, WAG325N and WVC200

    Hello,
    I want your help in three linksys products as mentioned below:
    WAG325N ADSL2+ Router
    WVC200 PTZ CAMERA
    WRVS4400N VPN Router
    The computer connections and configuration of above linksys products which I am working with and which are connected with the above three linksys products at present are as follows:
    1) I have one server and one laptop.
    2) Laptop has two wireless adapters which I use to connect to the routers.
    3) The server is connected to the WRVS4400N Router through one of the four ethernet ports mentioned on backside of the WRVS4400N Router. The DHCP of this router is disabled by me and the router's default IP 192.168.1.1 was changed to 192.168.1.12
    4) The WRVS4400N router is connected to the Wag325N router for internet access to the server and server is connected to WRVS4400N Router as mentioned in point number 3 above.
    5) The WAG325N router is setup as per the instructions mentioned that came with the CD of this router. The only change that I have modified is the router's default IP. I have changed the default IP of WAG325N from 192.168.1.1 to 192.168.1.13 and DHCP is enabled on this router.
    The help that I want is step by step as follows:
    1) I want to configure the both routers in such a way so that I can access them from anywhere across the world i.e. remotely using internet.
    2) I have WVC200 Camera which I setup according to instructions mentioned in the CD and also configured the DDNS service. But when the " RJ45 Cable is connected " to my WAG325N router and Camera, then only the camera works properly. What I want is that after the setup is completed, I want to remove the RJ45 Cable connected from my camera to router and use the camera wirelessly from any location within the range of my above mentioned WAG325N router. I need flexibility to use my camera without cable connections from any location and any rooms of my house. I also configured the port forwarding and DDNS properly. The only problem is that if I remove the Cable after the setup of camera is finished, then the camera access is not working on LAN or internet(through DDNS). Whereas the same works on LAN and internet using the DDNS service, when the cable is physically connected to the WAG325N router. Also I want one more thing additionally other then this. I want to use this camera wirelessly by configuring the port forwarding options on both routers at a same time(i.e. simultaneously at once on WRVS4400N and WAG325N).
    3) Now as two DHCP cannot work at a same time and as my routers are connected with each other, So I have disabled the DHCP on WRVS4400N. Here I need help so that DHCP can be enabled on both at a same time. Because if the DHCP is not enabled on WRVS4400N then I have to give IP to the server which is connected with server. If I enable the DHCP then there are two DHCP's at a same time on same network and thus problems occurs in internet access to the server. So, what should I do in such a way so that I do not have to give any IP to my server and set it to automatic.
    4) This question is just for my knowledge so that I can use the above mentioned linksys purchases upto full extent possible in future. I want to know what is VPN and how is it usefull? What is the difference between VPN and VPN tunnel? How can VPN be used to access all my network resources connected with my server  in the above situation where my server is connected to WRVS4400N which in turn is connected to WAG325N?
    Thanks !
    Sincerely
    Kalpesh Sharma
    +91-79-25351208
    +919227435453
    Ahmedabad, India.

    for question number 1:
    you said that your main router is WAG325N, for you to remotely access the 2nd router is for you to forward the IP addr [192.168.1.12] on your first router and change its management port of your second router that is located on either the security tab or the administration tab on its User Interface
    to access your first router open and Internet Explorer and enter
    http://[public IP addr]:[management port]
    the PUBLIC IP or INTERNET IP is located on the status page of your router
    to access your second router just change the management port to
    ex.
    http://66.77.88.99:8080 first router
    http://66.77.88.99:8081 second router
    for question number 2:
    make sure that you have configured all wireless settings on both your camera and your main router WAG235N, once done save settings and power down your camera and power it back up.
    for question number 3:
    for you to enable DHCP on both routers your connection can go like so...
    from a regular port of your main router going to the INTERNET port of your second router [this way you can enable DHCP on both routers]. INTERNET is no problem, your cesond router will be able to get connection
    for question number 4:
    VPN - Virtual Private Network
    VPN tunnel -is/are connections from router to router [gateway to gateway]
    VPN is used to connect a diff network on a diff location for you to have access to the shared filed [it is like a file sharing through the internet]
    for you to be able to use VPN tunnel you have to connect to a different VPN router on a diff location. In that way you can get access to the other network 

  • Need help configuring VPN on RV120W Router (WiTopia VPN)

    Hello Cisco Community,
    I need some help configuring a VPN from WiTopia on my RV120W router. I am trying to make it so that if any device connects to the router it can automatically connect to the VPN from WiTopia.
    Please note that the VPN plan includes PPTP, L2TP, & IPSEC VPN types.
     Is this possible? And if so, how?
    Thanks in advance!

    Hello,
    If WiTopia is providing only client to gateway VPN, where WiTopia is the gateway allowing connections to clients, than you will not be able to configure RV120 to connect to it. RV120 in its VPN configurations cannot be configured to be a client. 
    The only tunnel where can play the role of the connecting part is IPSec gateway to gateway, when in the IKE policy the Direction type is Initiator and the Exchange mode is Aggressive. And you will need to receive all additional configuration parameters from WiTopia -the Encryption, Authentication Algorithm, PFS, SA lifetime and so on. But this means that WiTopia have to provide gateway to gateway VPN connection.
    Regards,
    Kremena

  • I need help configuring a connection with asdm 5.2 for asa

    Hi All
    I am very much a novice with asdm 5.2 for asa and I urgently need to configure a connection but don’t know how to. I have 2 domains at work and someone is trying to connect their sql client from their pc in one domain to the sql server in the other domain (DMZ).
    When he tries to connect he gets the error
    Cant connect to MySql Server at "IP Address" (10060)
    He is trying to connect on port 3306. Could anyone please give me any tips on how i can resolve this quickly? I know i am
    trying a shortcut on this one but I recently started a new job and thrown in the deep end here and need to learn this asdm 5.2 for asa product from scratch with nothing more than the manual that come with the cd . My Cisco knowledge is from 2001 when i did half of a ccna course.
    Any help would be greatly appreciated

    Hi,
    I'm not a security specialist but here is how I had it set up at home:
    Essentially a NAT and a rule forwarding the port are needed. In this particular case I had an Oracle server running and a person requested remote access. So, for example, the source address was his external IP and the destination was the Oracle's external IP. For the NAT the source was the internal IP of the Oracle server and the interface was Outside.
    Hope this points you in the right direction.

  • Need help configuring Attribute Change in WLS 6.1

    Hi there,
    I did all it said in the documentation, lacking any sight of an SNMP
    trap. I want to receive a SNMP trap if the
    InvalidLoginAttemptsTotalCount changes (MBean: ServerSecurityRuntime).
    I use
    Attribute MBean Type: ServerSecurityRuntime
    Attribute MBean Name:
    petstore:Location=petstoreServer,Name=petstoreServer,Type=ServerSecurityRuntime
    Attribute Name: InvalidLoginAttemptsTotalCount
    I enabled SNMP, configure my TrapHost and started my trapdaemon. But I
    don't get any trap even though I increased the counter by doing some
    logins with the wrong password. Parallel to my attribute change I also
    configured a counter monitor on the same attribute, with the same
    disappointing result =:-(
    Can anyone help ?
    Greetings,
    Alex

    You need to set a target for the pool. Without target
    pool service won't start. Also you need to provide
    initial and maximum size for the pool.
    Regards,
    Slava Imeshev
    "Nadeem" <[email protected]> wrote in message
    news:3d6d9268$[email protected]..
    >
    Hi Slava, thanks for the reply. Here is the connection pool definition asextracted
    from config.xml. Do you see any errors in this which would cause theexception
    mentioned below?
    -Nadeem
    ************* Connection Pool element in config.xml ********
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    Name="MyJDBC Connection Pool"
    Properties="user=system;password=manager" TestTableName="cabin"URL="192.168.0.11:1521:tacit"/>
    "Slava Imeshev" <[email protected]> wrote:
    Hi Nadeem,
    Could you show us the connection pool definition?
    It can be extracted from config.xml
    Regards,
    Slava Imeshev
    "Nadeem" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I need to create a connection pool in WLS 7. Here are the specificsof my
    environment:
    1. RDBMS: Oracle 8i
    2. Driver I want to use: Oracle thin 8.17 (provided with WLS 7)
    3. IP address of machine on which database resides: 192.168.0.5
    4. Port number: 1521
    5. Name of database: MyDB
    6. user: scott
    7. password: tiger
    Given the above,I do not know exactly what to fill out in the
    following
    fields
    that appear in the Admin Console's connection pool creation form:
    1. Name of connection pool (OK, this one I know!)
    2. URL string (exactly what should it be, given above info?)
    3. Driver Classname (I want to use Oracle thin 8.17, so what shouldI fill
    here?)
    4. Properties (exactly what should I fill here, given above info?)
    5. ACL Name (completely stumped here! Documentation says ACLs havebeen
    replaced
    by policies in WLS 7 - so what to fill here?)
    Could someone please help me correctly fill out these fields usingthe
    information
    I provided in the first paragraph.
    BTW, I'm logged into WLS as Administrator.
    Much obliged,
    Nadeem

  • JDBC Realms in Tomcat 6

    I have a few questions for you all. I don't know if this is the correct place to post this... I have been trying like a mad man to get JDBCrealms to work, but to no avail. I have sank into the tomcat documentation and also have an O'Reilly book here on tomcat. The book pretty much says the same thing as the Tomcat doc's. *(Thanks O'R.)*
    What I am trying to do is use tomcats security to allow different users (with different roles) to login through a form to some JSP's that I have built. What the user can see / do will vary depending on their role. If anyone can give me a hand on this I'd appreciate it, if this is not the correct place to post this, can someone point me to the right place? I'm not finding too many forums on apache tomcat out there.

    Thanks for the quick response. I didn't want to waste time and keystrokes, bandwidth, or database space if this was the wrong place to ask about tomcat and stuff.
    Ok, there actually are a NUMBER of issues I am having. First one's first. Can I use the tomcat JDBCRealms to login to the software via a form login? Secondly, I am having some issues on setting up a realm. I've been over and over the tomcat docs and also an O'Reilly book here and it basically says the same thing. It SEEMS it should be straight forward, but I must be missing something.
    Here is a snippet of my web.xml file (the portion that deals with what I need):
    <welcome-file-list>
    <welcome-file>Login.jsp</welcome-file>
         </welcome-file-list>
         <security-constraint>
         <web-resource-collection>
              <web-resource-name>my project name</web-resource-name>
              <url-pattern>/*</url-pattern>
              <http-method>DELETE</http-method>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
              <http-method>PUT</http-method>
         </web-resource-collection>
         <auth-constraint>
              <role-name>admin</role-name>
              <role-name>user</role-name>
              <role-name>manager</role-name>
              <role-name>trainer</role-name>
         </auth-constraint>
         </security-constraint>
         <login-config>
         <auth-method>FORM</auth-method>
         <realm-name>Training</realm-name>
         <form-login-config>
              <form-login-page>/Login.jsp</form-login-page>
              <form-error-page>/Login.jsp</form-error-page>
         </form-login-config>
         </login-config>
         <security-role>
         <role-name>manager</role-name>
         </security-role>
         <security-role>
         <role-name>user</role-name>
         </security-role>
         <security-role>
         <role-name>admin</role-name>
         </security-role>
         <security-role>
         <role-name>trainer</role-name>
         </security-role>
    Here is my server.xml file snippet:
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="0"
    driverName="com.mysql.jdbc.Driver"
    connectionURL="jdbc:mysql://localhost:3306/<myDBname>"
    connectionName="secret"
    connectionPassword="endeavor"
    userTable="tcuser" userNameCol="tcuser_name" userCredCol="password"
    userRoleTable="tcrole" roleNameCol="tcrole_name" />
    I have been getting a number of errors the first one that is most common is the j_security_check is unavailable.
    the Login.jsp calls j_security_check when the submit button is pressed. The database connection works because without the realm, I am able to run the other JSP's and edit / update / display / (your basic very flexible CRUD). I have two tables defined in the database setup as how tomcat suggests them to be except no PK definitions on the two tables (I really do not think that is the issue) I guess one of my first questions is: Does the web.xml snippet look correct? What about the server.xml snippet?
    Do you have to place any extra .jar files into the lib directory of tomcat or should the appropriate jar files already be there ready to go? Do I have to make any special calls to invoke the j_security_check or should all I have to do is call it in the action="" parameter of the form?
    Another thing that might be related is that I am running Enfinity Suite (Eclipse on roids) to build these jsp's, I'm just not using any of the custom functionality. I set a new instance of tomcat up as to not use the studio's customized tomcat. I noticed that there are 2 web.xml files. One in the WEB-INF folder of the project and one in the CATALINA_HOME/conf/directory. Also I have read that there should be a context.xml file in the META-INF folder of the project? I'm very sorry to dump what seems to be basic questions about this on to you all, but I am completely lost on this. Thanks in advance to everyone.
    warmest regards,
    Josh
    Edited by: TheWhiteKnight on Jul 8, 2008 6:43 PM

  • Need help configuring Aiport Extreme A1034 to optimize network signal.

    Greetings, I am a very loyal mac user from back in the days of the Quadra 650. I have torn apart and fixed most macs for the last 13, but I must say configuring this wireless network has got me stumped. Any help would be gladly appreciated.
    I went from a ibook 1 Ghz with a plastic case to a aluminum powerbook g4 1.67 to find out that the metal case greatly diminished the computers ability to receive a wifi signal from my Rv park. I then decided to buy an Airport Extreme A1034 that has the antenna port and then bought a Hawking 15db directional antenna. My intention was to have the Airport Base station receive the 802.11b wifi signal sent out from the office of the RV park through the Hawking antenna, and then have the base station take that signal it received and send that high speed wifi signal to the airport card in my Powerbook G4. Sounds simple enough, I thought it would be. I have found that using Airport set up assistant doesn't give me that option. I then proceeded to get into the workings of the Airport Admin Utility. I have found myself ready to pull my hair out trying to configure the 6 different tabs being, Airport , Internet, Network, Port Mapping, Access control, and WDS.
    I do know that everything in the Airport tab is correct. The big problem I think is between the Internet, Network and WDS tabs. It seems that the Airport base station was basically made to have a high speed connection plugged into it via ethernet and then the base station broadcasts to host computers such as my PowerBook G4. My initial thought was to connect via Airport WDS in the internet tab and then set my powerbook to connect directly to the base station through the airport card. I read up on this via Apples Designing Airport networks that came on the Airport installation CD. It talked in detail about setting up the WDS tab to do something like I want but it still involves a hard wired ethernet connection at the start of it. I have also played around extensively with the Network control panel and the sharing control panel , I thought about turning the airport card inside my powerbook into a software or virtual base station and then try some sort of WDS relay. Through all this I had the Airport extreme go none responsive on me and not letting me log in. That's another story of 10 hours of **** fixing it, but i did. Even the reset button stopped working for a while. As of now I can access everything everywhere. I also have ALL the IP addresses Hardware(MAC) address, subnet masks and router addresses for every location in this proposed wireless chain. I just need someone to end this stressful nightmare. They say you learn through trial and error, that is how I learned most of my computer skills over the decades, that and Applecare certified tech training many years ago, But it doesn't help anyone if I stick a large knife through my base station. I can provide a phone number if your willing to call. My email is [email protected] . If your in the San Diego area, I can get ya free passes to the nudist colony where I live, if your in for a new adventure in turn for setting up this network for me. Check out http://www.deanzasprings.com . its where I live.
    Rich

    1. First, can someone confirm that the Extreme card be used as a WDS main base?
    Sorry, but no you cannot use the AirPort Extreme card in a WDS as either a main, relay or remote base station. It does not support this function.

  • Need help configuring Cisco/Linksys wireless router to extend wi-fi signal to living room

    My U-verse wireless gateway is in the back of our house. We live in an old 1920's home with solid wood walls. For our macbooks, we get a pretty decent signal, but my wife's iPad 2 get's poor wi-fi speeds. I bought a Cisco/Linksys WRT160N wireless N broadband router. I have a wired connection in my living room (going to a 4 port switch) then connected to my DVR. I tried hooking up the new router but ended up getting no signal on the iPad. In fact, it caused other issues. I ended up disconnecting it and re-booting my gateway. All came back fine. This wireless router replaces a similar unit that went out in after a power failure, so I know this can be done, but I forget exactly how I confiured the old one. I would like it to "extend" my signal to the living room, but I am also willing to create a new network (different SSID). Do I need to turn of DHCP? Are there any web sites that can assist me in configuring the router? I wish I didn't have to deal with this. The signal from the RG is great when you are in the back room (20+ down). But my wife gets about 3 down on her iPad in the living room. Thanks in advance.

    Hi ,
    I was doing some research on how this can be done. It does not appear there is an option in the Cisco router to set it up as an access point, but there are several options you can do to extend your network. 
    The first thing you can do is just set it up as a router behind router setup, and you will just have two separate networks. Make sure the DHCP pool does not conflict with the U-verse's gateway of 192.168.1.x. 
    The second thing you can do is connect the Ethernet cable to one of the LAN ports on your Cisco router instead of using the internet port. This should make it work like a smart switch. 
    With both setups, you want to probably change the SSID, network key, and wireless security settings to the same thing for wireless roaming abilities. That way, anyone that configures their wireless connection will be connected to both networks. Just make sure the wireless channels are not the same, and I would suggest having them at least 5 apart.
    Hope this helps.
    -ATTU-verseCare

  • Need help configuring VPN - problems accessing the networks

    Hi everyone, hope someone can help me out here.
    I'm administering the network for our small company. We basically have two sets of machines - public ones with fixed net addresses (mail, web, dns servers, etc), and private ones behind a wireless router/nat.
    Our main need here is to be able to VPN in to the public side, in particular, the mailserver, so that we can get around all the stupid things that get done to SMTP when we connect at the BedBug Inn ("Free wifi, administered by gibbons").
    Secondarily, it would be nice to be able to connect to and browse some of the internal machines.
    So here is what I did:
    * Installed 10.4.10 Server on a machine with two ethernet interfaces, one that has a public IP address, the other connects into the private network. When I'm actually at that machine, things work fine - I can browse the private network shares, connect to the net, etc.
    * Configured VPN. I have no problems getting a VPN connection, both sides are happy. The VPN assigns incoming clients IP addresses in the private network IP range, but outside those assigned by the wireless router's NAT.
    * Added 192.168.2.1/255 (the private network) and 12.17.29.193/224 (the public network) to the Network Routing Definition box under VPN/Settings/Client Information.
    However, here's where it all falls down. Once the VPN is established, I can't connect to any of the public machines, and the only private-side device that seems to respond is the Wireless/NAT box (A Belkin N1). So the only thing I can do is administer the Belkin remotely, which, while nice, is not exactly what I had in mind.
    Doing a traceroute while VPN is active to my mailserver shows the first hop direct to the VPN machine, then off into * * * heaven (though I have no idea if traceroute works over VPN!).
    One curious note: when I change the order of the Network Routing Definitions so that the public network comes first, and the private one second, I can't contact the Belkin box.
    Any advice, oh wise and powerful masters of technology?
    Various, but the server is running on a G4   Mac OS X (10.4.10)  

    I said:
    "let's assume I VPN to the wireless box"
    You replied:
    "That's not correct as it is not the device running the VPN endpoint - in this case. "
    But wouldn't I have to (on the VPN client) specify the public IP of the wireless box in order connect (because the packets are forwarded) to the actual OS X box running the VPN? Otherwise, it can't see it.
    Part of the problem I have is that I can't dedicate a whole machine to VPN. The OS X machine running VPN is also running DNS, and will eventually run our mailserver and perhaps FTP, web, etc, as I slowly migrate stuff to it.
    So this machine has to have a public IP address. It cannot be hidden behind the wireless NAT. And it seems to me that this is the crux of the problem. What I think you are telling me is that if the VPN machine was entirely hidden behind the wireless NAT, and had no direct public (WAN) interface, then since all the packets destined for the outside world (including my public servers)would have to go through the NAT, and all would be OK.
    If so, then it seems to me that the best solution is to use something like OpenVPN on another OS X (not OS X Server, since I only have one of those) machine in the private network. Since the incoming VPN traffic will be Mac only, it shouldn't be an issue, L2TP-only is fine.
    "Otherwise you have to run NAT and the firewall in the VPN server too and use private IPs for VPN clients - or use "only" it (remove the other NAT box and put it on the LAN only). Using only one device for NAT/gw means less configuration."
    It is entirely unclear to me, in my setup, what effect turning on NAT on the VPN box (or perhaps, just IP forwarding) would have -- and if I do turn on NAT, would I still have the VPN assign IP's to clients in the internal private network's range, or would I use a different range (ie: private is 192.168.237.xxx, VPN assigns 192.168.239.xxx) and expect the NAT to handle the conversion?
    I'm a bit leery of just trying it and seeing what happens because it if mucks things up so badly that the server becomes unreachable (via server admin), I'll have to schlep down to the office to fix it.
    "Other things to consider is "bottlenecks" between your LAN and WAN."
    Not a real issue. We have a small office, and a relatively small pipe to the internet. Most of the traffic from that pipe is from the public machines anyway. The traffic that goes through the wireless router is basically websurfing and hitting the mailserver.
    I could, of course, use the VPN OS X machine as the NAT/DHCP server, and hang the wireless router off the internal network as a simple access point. But would that resolve all the VPN issues?
    Once again, thanks for your helpful and prompt replies.

  • Need Help in JNDI Datasource using tomcat and spring

    Hi,
    I am trying to connect my local database using JNDI datasource in tomcat and spring
    I have done the below configuration in Tomcat 7 server:
    In tomcat server.xml (Path: E:\apache-tomcat-7.0.35\conf) I added the below configuration
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/myApp" auth="Container"
    type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:hr@localhost:1521:XE>"
    username="testUser" password="password"
    maxActive="10" maxIdle="5"
    maxWait="60000" removeAbandoned="true"
    removeAbandonedTimeout="60" logAbandoned="true"/>
    In web.xml, I have added the below config:
    <resource-ref>
    <description>Oracle Spring JNDI Datasource</description>
    <res-ref-name>jdbc/myApp</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    And in my Spring context xml (ws-context.xml), added below config:
    <bean name="myDataSourceInJndi" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="java:comp/env/jdbc/myApp"/>
    </bean>
    <jee:jndi-lookup id="dataSource" jndi-name="/jdbc/myApp" resource-ref="true"/>
    In my Java code, I am trying the below code to connect DataBase:
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    DataSource ds = (DataSource) envCtx.lookup("jdbc/myApp");
    ds.getConnection();
    But I am getting the below exception while executing ****ds.getConnection();***
    java.lang.IllegalStateException: Connection factory returned null from createConnection
    at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:584)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at com.wipro.spring.impl.EmployeeImpl.getDetails(EmployeeImpl.java:57)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
    at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:471)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
    at com.sun.xml.ws.transport.http.servlet.WSSpringServlet.doPost(WSSpringServlet.java:52)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Can you please me to resolve this issue? Am I missing any configuration or any mistake in my java code please suggest your suggestions.
    Thanks

    Hi,
    I am trying to connect my local database using JNDI datasource in tomcat and spring
    I have done the below configuration in Tomcat 7 server:
    In tomcat server.xml (Path: E:\apache-tomcat-7.0.35\conf) I added the below configuration
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/myApp" auth="Container"
    type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:oracle:thin:hr@localhost:1521:XE>"
    username="testUser" password="password"
    maxActive="10" maxIdle="5"
    maxWait="60000" removeAbandoned="true"
    removeAbandonedTimeout="60" logAbandoned="true"/>
    In web.xml, I have added the below config:
    <resource-ref>
    <description>Oracle Spring JNDI Datasource</description>
    <res-ref-name>jdbc/myApp</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    And in my Spring context xml (ws-context.xml), added below config:
    <bean name="myDataSourceInJndi" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="java:comp/env/jdbc/myApp"/>
    </bean>
    <jee:jndi-lookup id="dataSource" jndi-name="/jdbc/myApp" resource-ref="true"/>
    In my Java code, I am trying the below code to connect DataBase:
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    DataSource ds = (DataSource) envCtx.lookup("jdbc/myApp");
    ds.getConnection();
    But I am getting the below exception while executing ****ds.getConnection();***
    java.lang.IllegalStateException: Connection factory returned null from createConnection
    at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:584)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at com.wipro.spring.impl.EmployeeImpl.getDetails(EmployeeImpl.java:57)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146)
    at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:471)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160)
    at com.sun.xml.ws.transport.http.servlet.WSSpringServlet.doPost(WSSpringServlet.java:52)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Can you please me to resolve this issue? Am I missing any configuration or any mistake in my java code please suggest your suggestions.
    Thanks

  • Need Help - JBO-26000 Error on Tomcat?

    I have been deploying my JDev 10.1.3 project (ADF BC) as a .war file to Tomcat 5.5.9 and running it successfully for several months successfully. Today while making code changes, I started to encounter a JBO-26000 error preventing me from running this application. I tried re-installing the ADF filters on Tomcat but this did not help.
    Note! I have another project that I can still deploy and run successfully as a .war file in Tomcat, so it points to something specific to this application.
    Does anyone have any suggestions? I don't know where to look for the problem?
    Thanks.
    **** Error Message from Web Browser:***********
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    oracle.jbo.JboException: JBO-26000: A Generic exception occurred during loading Customizations.
         oracle.jbo.uicli.mom.JUMetaObjectManager.loadFromXML(JUMetaObjectManager.java:918)
         racle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         oracle.jbo.uicli.mom.JUMetaObjectManager.defExists(JUMetaObjectManager.java:306)
         oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:548)
    oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:441)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:230)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
    ******* From Tomcat Log files *************
    May 17, 2006 7:01:10 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    oracle.jbo.JboException: JBO-26000: A Generic exception occurred during loading Customizations.
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadFromXML(JUMetaObjectManager.java:918)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.defExists(JUMetaObjectManager.java:306)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:548)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:441)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:230)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControls(JUApplicationDefImpl.java:616)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadContainees(JUApplicationDefImpl.java:579)
         at oracle.jbo.mom.ContainerDefImpl.loadFromXMLFile(ContainerDefImpl.java:354)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadFromXMLFile(JUApplicationDefImpl.java:350)
         at oracle.jbo.uicli.mom.JUApplicationDefImpl.createAndLoadFromXML(JUApplicationDefImpl.java:531)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadFromXML(JUMetaObjectManager.java:886)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.defExists(JUMetaObjectManager.java:306)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:548)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:441)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:230)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

    Thanks John!
    I just solved the problem 5mins ago :)
    I'm using Jdeveloper 11g (11.1.1.2.36.55.36) and Tomcat6.
    The point is that it had nothing to do with tomcat jdbc setting in context.xml or server.xml files.
    After deploying your application to tomcat, bc4j.xcfg is the first place to look for errors regarding connection to database.(at least in my case)

  • Need Help Configure SQLSERVER 2005 and Eclipse

    I just installed eclipse 3.4.1, sqljdbc_1.2.28, and server 2005, and sqlexplorer version 3.5. I am trying to configure them, and I am having a really hard time. I would really appreciate it if someone could help me out. I have installed sqlexplorer in the eclipse plugin folder, I placed the jdbc in program file folder.
    Here is what I have done so far:
    I start eclipse and click on window->show view ->connection
    Name :Gagouche
    Drive: jdbc odbc bridge
    url: jdbc:sqlserver://localhost:1433/test
    auto logon = check
    username = gagouche
    password = test01
    auto commit = check
    I see the following message “Could not connect to bitbit\gagouche. The exact message is please check the url. “
    bitbit is the name of my computer. When I login to sqlserver 2005, it usually looks like this bitbit\SQLSERVER\gagouche. Where gagouche is my username and enter my password and it works fine.

    Sorry, I meant to say that it is not working. It gives me the following error message now:
    Ping Failed!
    Details:
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect
         at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
         at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:89)
         at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:104)
         at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53)
         at org.eclipse.datatools.enablement.msft.internal.sqlserver.connection.JDBCSQLServerConnectionFactory.createConnection(JDBCSQLServerConnectionFactory.java:27)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:355)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Edited by: gagouche on Feb 9, 2009 8:08 PM

Maybe you are looking for

  • What's the best way to run FrameMaker 8 on a Mac?

    What's my best bet for running FrameMaker 8 on a MacBook Macintosh laptop? Can I run FM 8 directly under OS X, since it's a Unix app? Any special tricks to making it go? Or will I need to run FM 8 under Linux or Windows? If so, I'll need to be able t

  • How do I replace a component in several BOMs at once?

    I need to replace an item that appears in several BOMs. Rather than go into each BOM separately and remove the old component and then go back in and add the replacement component, is there a way to find and replace several (all) at once?

  • Air for Android language problem

    i have an Air for Android APK compiled by Flash CS5.5 that shows support for languages that are not in the app. I successfully removed these in my iOS apps, but am unable to find out how to do this for Android apps. Anyone developed a process to fix

  • Where is the TOOLBAR on this webpage I do not see it

    TOOL for clearing history, to make adjustments etc On IE the tool button was located at the top right hand corner

  • Missing Address Book Folder in Application Support

    I've been having problems with my Address Book for a long time, now. Ever since my friend accidentally synced his iPhone with my computer and merged all our contacts. I had gone in and deleted the contacts, but the program has been buggy. As it stand