Creating connection using NAT address
Can we use ServerSockets to create a connection to a server using the NAT address ? If yes, then does it require something different ?
Do you want to connect an external machine to a machine behind your NAT router? Or is this completely internal? If it's interal you should be able to use the machine's private ip address.
Similar Messages
-
Have been using Contribute 6.5, and earlier versions, for years with Hostway without any problems. All of a sudden I cannot create a connection to our website. Tried to chat with Adobe a twice now and got no help. Yesterday they started a chat with me, then ended the session without any communication! My problem has been going on for several weeks now. I uninstalled Contribute, downloaded and installed again, but it did not help. Hostway had me connect with Zilla and everything worked fine. So, they say the problem is with Adobe. The last attempt ended with "Unknown error. Please see the log for detail." The log says "Network operation timed out." Does anyone have any suggestions?
Hi There,
Can you please try using any other Internet connection outside your company's network and see if it is working? Alternatively, Can you please try the below settings from the Advanced... Menu while creating the connection using FTP details and try to create the connection again:
Regards,
Mayank -
Analyzer 7 Across the WAN using NAT addresses
We have acquired several companies that have their own internal ip addresses that are duplicates of some of our internal ip addresses. To overcome this we use Network Address Translation (NAT). However, we cannot get Analyzer to work with these NAT addresses. The users receive the logon page, but the "domain" box is empty. We have tried adding entries to the remote DNS's that map the NAT addresses to our servers, but this hasn't worked. Does anyone have any suggestions? Thanks!
We have acquired several companies that have their own internal ip addresses that are duplicates of some of our internal ip addresses. To overcome this we use Network Address Translation (NAT). However, we cannot get Analyzer to work with these NAT addresses. The users receive the logon page, but the "domain" box is empty. We have tried adding entries to the remote DNS's that map the NAT addresses to our servers, but this hasn't worked. Does anyone have any suggestions? Thanks!
-
Stack overflow error while creating connection using Oracle10G dirver
Hi,
Our web application built on Servlets runs on the iPlanet web server (In solaris machine). Earlier we used JDK 1.5 update 6 with oracle 9i driver and now got migrated to JDK 1.5 update 10 with same driver. Everything went fine until we started testing the environment with oracle 10G driver. Java 1.5 update 10 with oracle 10G driver throws "Stack overflow error".
Driver version is - 10.2.0.2.0
This occurs only when I access the portal. When I created the single main program and try to run it in the solaris machine it works fine. But wen I try to access the portal keeping this driver under classpath, it fails. Please let me know if anyone have any clues.
When I looked into it, I am able to find that the "stack overflow error" occurs at the point the code line DriverManager.Getconnection("url", "username", "pwd") executes.
Thanks in advance
below the stacktrace of the exception from webserver error log..
06/Mar/2007:04:20:40] failure (10198):
for host 202.54.182.136 trying to POST /wr/servlet/WorkRequest, service-j2ee reports: StandardWrapperValve[WorkRequest]: WEB2769: Allocate exception for servlet WorkRequest
javax.servlet.ServletException: WEB2778: Servlet.init() for servlet WorkRequest threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:244)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
----- Root Cause -----
java.lang.StackOverflowError
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(
[06/Mar/2007:04:22:20] info (10198):
CORE5073: Web server shutdown in progress
[06/Mar/2007:04:22:21] info (14506):
CORE1116: Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
[06/Mar/2007:04:22:21] warning (14513):
CORE1251: On group ls1, servername pstst42.pedc.sbc.com does not match subject "" of certificate Server-Cert.
[06/Mar/2007:04:22:21] warning (14513):
CORE1250: In secure virtual server https-vts, urlhost does not match subject "" of certificate Server-Cert.
[06/Mar/2007:04:22:21] info (14513):
CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [vts/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [cron/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [find/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [cb/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [wr/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [search]
[06/Mar/2007:04:22:25] info (14513):
HTTP3072: [LS ls1] ready to accept requests
[06/Mar/2007:04:22:25] info (14513):
CORE3274: successful server startup
Message was edited by:
Nandakumar_s
Message was edited by:
Nandakumar_sYes, request goes through connection pool but weird
thing is application throws stack excatly where
DriverManager.getConnection gets executed.
Not weird at all.
This is what I am guessing that you did. You changed the driver and some other stuff, like configuration information.
Then when it blew up you tracked down in your code where you see the stack overflow. That happens to be on the connection line. That is not where the overflow 'occurs' - it merely represents where you saw it.
That line however isn't using the oracle driver. What it is using is a connection pool of some sort. That connection pool is configured somewhere. And that configuration is self-referential (or maybe refers to a another driver which refers back to the original.)
And that causes you stack over flow. -
E3000 - WVC210 Cam - Can't Connect Using IP Address
I've searched here and on portforward.com and have read all FAQ's for a solution to my problem with now luck. Prior to contacting Tech Support via telephone thought that I'd try a post here first.
I've had a Linksys WVC54GCA IP Camera running through my E3000 wireless router with zero issues for quite some time. I just added a Cisco WVC210 PTZ IP Cam. My setup went flawlessly and both cameras are operatng independently of one and other and I am able to view both cameras using my DYNDNS.com supplied Web Host URL's away from home and both camera's are working great on my iPhone 3GS.
I have assigned fixed IP addresses to both camera's. 192.168.1.200 for the the WVC54GCA and 192.168.1.201 for the WVC210. I have setup the Port Range Forward as follows:
Cam1 80 to 80 Both 192.168.200
Cam1 1024 to 1024 Both 192.168.1.200
Cam2 1025 to 1025 Both 192.168.1.201
Here's the thing I don't understand. Again, both cams do what they're supposed to, except; on my home network I can connect directly to the older WVC54GCA using its 192.168.1.200 fixed ip address. I CAN NOT connect directly to the new WVC210 using its fixed ip address of 192.168.1.201. I get an IE error.
I have a feeling that there's something I'm not doing on the router or it has something to do with being on port 1025. Any help would be greatly appreciated.I don't think there is any issue with the port 1025 for the second camera.
The port 1025 will be used to see the camera from outside.
If you are able to see both the cameras from out side that means both the cameras are configured properly and working fine.
What error message do you get when you try to see the camera using the IP address of the camera?
Try using another browser and check if you can see the camera in the network.
Try to ping the IP address of the camera. if you get replies from the camera IP address then your computer is able to communicate with the camera.
What is the operating system on your computer? -
2 way TCP connection using IP addresses
Hi All,
I need to pass data in both directions between 2 pc's connected to the internet. I am aware of the various TCP/IP and data socket examples, I am using Labview 7.0. I dont know much about the ptotocol involved but figure I only need a few pieces of info.
If the server machine wants to connect to a client machine on the same network I understand no changes are required to the example vis (ie port 2055 used in Simple Data Server). But what would happen if the server PC wanted to connect to a client in a different country? Is that when IP addresses are needed?
I imagine my final vi front panel will have a "This machines IP Addr" and "Client's IP Addr" text box, operators of the machines then tell the other person their mac
hine IP address which is entered manually to setup a 2 way link.
Is it possible to get Labview to find the full IP address of the machine ready for the other user to type in. Thanks in advance
Regards ChrisOn the client side the users will need to fill in the IP address or domain of the server. If that IP is on the Internet or somewhere else that will work as long as the client PC has physical access and permission to open a tcp connection (no firewalls that block the port you are using etc.)
Make a connect dialog that pops up if the user chooses to connect and have the user input the IP there and click OK. You can add functionality like bookmarks and "home page" to make things easier. If a home page / server is defined the client can connect to that upon startup. You may want also to add functionality that will reconnect in the background if the connection is lost.
The client's IP is of less interest. If you need it though just use the string to IP function
and the IP to string function from the tcp/ip palette. Do not wire anything to the former funtion but wire it's output to the latter. The latter will then output the IP of the local PC.
MTO -
Creating connection using Connection Pooling!
I am getting the Connection object from the pool!
my application has series of servlets & JSPs wherein some pages only use the connection object and run some SQL queries!
now, I want to get the Connection object once & for all, and then use it wherever I need it. How do I make this happen? How does the Connection object go to the other pages??Not needed. Let each method that needs one, get one from the pool. The pool does not open a new connection every time a connection is asked for (only when there are not any available connections left) so the overhead of opening a new connection is not present. This is the entire purpose of a connection pool.
If, however, you absolutely must do something like this, then you can pass it as an argument to every method that needs it (they of course have to declare a Connection parameter). Just don't close it, or it goes back to the pool. -
Edge deployment using Public Addresses.
I find acquiring information on my particularly question difficult to find so I am posting here.
Microsoft technet discusses a suggested egde topology with single consolidated edge and Public Ip addresses.
From my understanding would be to assign the 3 public Ip addresses directly to the External facing NIC of the edge server.
SO this would mean that the external facing subnet of the DMZ would have to be a public assigned subnet. Therefor the Firewalls interface within this subnet would also have to be a public address.
I would like to ask if anyone has set this up on a cisco ASA before?
I understand its better to use NAT in a single server scenario. BUT. I see that when using the planning tool and create a NATed edge network, it asks for the Reverse Proxy to have a Public IP address. Which would mean that I would therefor need 2 External
DMZ subnet zones.
Can anyone clarify this for me?
Thanks.Hi kinesm,
AS for your questions.
1. Which means that the Interface of the external firewall that sits within the DMZ would ALSO require a public IP address within that subnet.
It’s easy to understand. You need two Public IP addresses at least , one for Edge in DMZ(Recommend three IP addresses), one for Firewall. You should know if a server in DMZ, all the traffic
should through the firewall.
Also the two Public IP addresses should be in the same subnet.
For example:
222.222.222.222
255.255.255.248
222.222.222.223
255.255.255.248
(222.222.222.216 ~ 222.222.222.223 are in the same subnet)
2. Also why in the planning tool when I tell it I will be using NAT addresses, why does it assign a PUBLIC IP address for the Reverse Proxy?
It’s a TMG or ISA server with Reverse Proxy.
Best regards,
Eric -
I did not know that when I created a e-mail address that I was suppose to use the same one that I created when I first signed up with Apple I phone. I want to change my e-mail address to the one I first had How can I change it? I do not need two e-mail accounts It should have read that when you are setting up an e-mail address use the one that you first signed up with. Not after you go through all the set ups for I cloud it tells you at the end to use your account that you first started with. Can you please help me I am new at this and I still can not set up on my computer with my phone to I cloud so if I had my phone stollen I can find it I also have and I pad to set up yet It is 3 days and I still can not set it up
Thank You and Hoplefully I can change my e-mail address so I can have everything on one accountIf you selected open a new Apple ID account, go back a step and enter use existing Apple ID.
You will have to set up a separate iCloud account or your iPads will mirror each other. -
Unable to create database connection using jboss
hi masters,
i have developed an application using jdeveloper ADF, and created .EAR file and deployed it in jboss. it shows that application is deployed, but when using application using URL http://localhost:8080/appl/index.jspx it opens login window, but when we enter username and password it does not authenticate user.
i am not developer, but a DBA and ask to deploy application using jboss. how can i resolve this issue??? while starting , jboss generates error "creating connection to database failed- unauthenticated login attempted"
what might be the issue?????
posting my exact error here, hope someone will post some suggestion.
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.mq:service=PersistenceManager
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
java.lang.SecurityException: Invalid authentication attempt, principal=null
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
state: FAILED
I Depend On: jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
ObjectName: jboss.mq:service=StateManager
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: jboss.mq:service=DestinationManager
org.jboss.mq.SpyJMSException: Error creating connection to the database.; - nested throwable: (java.
lang.SecurityException: Invalid authentication attempt, principal=null)
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
state: FAILED
I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
any suggestion will be appreciated..
thanks and regards
VD
Edited by: vikrant dixit on १९ फ़रवरी, २००९ ९:१६ अपराह्नhello all,
do anyone have any suggestion????
thanks and regards
VD -
Issue while creating connection pool in weblogic using SERVICE NAME
Found two issues while creating connection pool in weblogic using SERVICE NAME
1. While running apps from jdeveloper using xxx-jdbc.xml
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
2. Configuriing the jndi in Weblogic server
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:SERVICENAME
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
Problem
database url is generated based on SID
eg: jdbc:oracle:thin:@localhost:1521:SID
Solution
(generate seperate url for SERVICE NAME)
jdbc:oracle:thin:@localhost:1521/SERVICENAME
------------------------It is so clear: host not found error for network connection and the other SID servcie name not found means your oracle instance name is not up. check with srvctl status for given servcie name or node, else check CRS_Stat -t if you are using RAC.
-
Can't create connection pool using weblogic 6.1 with Oracle thin driver
Hi !
I have tried to create a connection pool from adminconsole. My CLASSPATH setting
is as follows :
F:\SOAP\soap-2_2\lib;F:\SOAP\soap-2_2;
D:\Oracle\Ora81\jdbc\lib\classes12.zip;
D:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;
D:\Oracle\Ora81\jdbc\lib\classes111.zip;
F:\SOAP\soap-2_2\lib\jaf-1.0.1\activation.jar;
D:\Oracle\Ora8\Apache\Jsdk\src\javax\servlet\http;
D:\Oracle\Ora81\Apache\Jsdk\src\javax\servlet;
D:\Oracle\Ora81\lib;
F:\ant\jakarta-ant1.\bin;
E:\weblogic\oci\classes;
E:\weblogic\oci\classes\weblogic\xml\license;
E:\weblogic\oci\license;
E:\bea\wlserver6.1\lib;
E:\PetStoreHome\petstore1.3;
Following is the configuration.
#Oracle thin driver Method #2
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx;server=test
#Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.thin=thin
# Add an ACL for the connection pool:
weblogic.allow.reserve.weblogic.jdbc.connectionPool.thin=everyone
I did append the file weblogic.properties with the above config. Now when I start
the Weblogic server I get the following error :
Starting WebLogic Server ....
<Nov 29, 2001 2:24:16 PM EST> <Notice> <Management> <Loading configuration file
.\config\petstore\config.xml ...>
<Nov 29, 2001 2:24:22 PM EST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "petstoreServer" for domain "petstore">
<Nov 29, 2001 2:24:26 PM EST> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.SignOnDB) can't be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.EstoreDB) can't be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.InventoryDB) can't be
cr
eated with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(weblogic.jdbc.jts.thin) can't be
created with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <Management> <Application Poller not star
ted for production server.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Tour running on this server. If your browser fails to
launch, point your browser to the URL
"http://burtsun:7001"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <ListenThread listening
on port 7001>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <SSLListenThread listeni
ng on port 7002>
<Nov 29, 2001 2:24:42 PM EST> <Notice> <WebLogicServer> <Started WebLogic Admin
Server "petstoreServer" for domain "petstore" running in Production Mode>
Could anyone please help me ?
Thanks
..MadhuriMadhuri wrote:
>
Hi Joe !
I didn't get what you would like to point out. Actully, I am using same config.,
but not to disclose the info. I gave you @test and username/password xxx/xxx.Ok. Now, assuming your pool looks like what I showed, the issue is probably
that there are multiple Oracle driver zips around, and your standlaone program
is using a different, newer, better one than the server. Our weblogic jar files
include a classes12.zip Oracle thin driver, but there are multiple versions of
classes12.zip, and the latest from oracle is better than the one we sealed into
our packaging. Please use jave -verbose to identify exactly which Oracle sip file
you are using in the successful case, then make sure this zip file comes before
any weblogic stuff in your weblogic server's classpath, so we'll use the same
driver. This should work. Edit the script you sue to start weblogic to verify
the classpath does end up with the oracle driver ahead of all weblogic stuff.
Joe
>
Please let me know.
Thanks
.Madhuri
Joseph Weinstein <[email protected]> wrote:
Madhuri wrote:
Hi Joe !
Here is the sample java code. Please let me know how I can test thisin weblogic
6.1.
Thanks
.MadhuriWell fine! That was easy. Your pool definition didn't have the same URL
or
user or password as this code. Try this for your pool definition:
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@adl-gbsdevel:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=10,\
maxCapacity=10,\
capacityIncrement=1,\
testConnsOnReserve=true,\
testTable=dual,\
props=user=mkelkar;password=mkelkar
Let me know,,,
Joe
Joseph Weinstein <[email protected]> wrote:
The key is in the log:
Could not create pool connection.
The DBMS driver exception was:
java.sql.SQLException: invalid arguments in call
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
Now we need to simplify the problem. Please make a simple 15-line
standalone
Java program like you'd find with the Oracle driver's examples, with
no
weblogic code in the picture. Just make a JDBC connection using Oracle's
driver, and show me that code. Then I can translate that into a pool
definition.
Joe
Madhuri wrote:
Hi Joe !
Thanks for your prompt reply. I tried the way you suggested but
it
still it gives
me the same error. I am attching here the weblogic.log file.
Thanks again
..Madhuri
Joseph Weinstein <[email protected]> wrote:
We'd want to see the log during booting, where the pool
is being created to see why that failed. Try a pool
definition with no blank lines, no whitespace at the
end of lines, and no server property. The thin driver
doesn't like that:
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx
Joe
Madhuri wrote:
Hi !
I have tried to create a connection pool from adminconsole. My
CLASSPATH
setting
is as follows :
F:\SOAP\soap-2_2\lib;F:\SOAP\soap-2_2;
D:\Oracle\Ora81\jdbc\lib\classes12.zip;
D:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;
D:\Oracle\Ora81\jdbc\lib\classes111.zip;
F:\SOAP\soap-2_2\lib\jaf-1.0.1\activation.jar;
D:\Oracle\Ora8\Apache\Jsdk\src\javax\servlet\http;
D:\Oracle\Ora81\Apache\Jsdk\src\javax\servlet;
D:\Oracle\Ora81\lib;
F:\ant\jakarta-ant1.\bin;
E:\weblogic\oci\classes;
E:\weblogic\oci\classes\weblogic\xml\license;
E:\weblogic\oci\license;
E:\bea\wlserver6.1\lib;
E:\PetStoreHome\petstore1.3;
Following is the configuration.
#Oracle thin driver Method #2
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx;server=test
#Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.thin=thin
# Add an ACL for the connection pool:
weblogic.allow.reserve.weblogic.jdbc.connectionPool.thin=everyone
I did append the file weblogic.properties with the above config.
Now
when I start
the Weblogic server I get the following error :
Starting WebLogic Server ....
<Nov 29, 2001 2:24:16 PM EST> <Notice> <Management> <Loading
configuration
file
\config\petstore\config.xml ...>
<Nov 29, 2001 2:24:22 PM EST> <Notice> <WebLogicServer> <Starting
WebLogic
Admin
Server "petstoreServer" for domain "petstore">
<Nov 29, 2001 2:24:26 PM EST> <Notice> <Management> <Starting
discovery
of Manag
ed Server... This feature is on by default, you may turn this
off
by
passing -Dw
eblogic.management.discover=false>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.SignOnDB)
can't
be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.EstoreDB)
can't
be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.InventoryDB)can't be
cr
eated with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(weblogic.jdbc.jts.thin)can't be
created with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <Management> <Application
Poller
not star
ted for production server.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Tour running on this server. If your browser fails to
launch, point your browser to the URL
"http://burtsun:7001"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <ListenThreadlistening
on port 7001>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
ng on port 7002>
<Nov 29, 2001 2:24:42 PM EST> <Notice> <WebLogicServer> <Started
WebLogic
Admin
Server "petstoreServer" for domain "petstore" running in ProductionMode>
Could anyone please help me ?
Thanks
..Madhuri
Name: weblogic.log
weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
Encoding: base64
Name: PrintColumns.java
PrintColumns.java Type: Visual Cafe File (application/x-unknown-content-type-VisualCafeFile.Document)
Encoding: base64 -
How to change the emmbedded ip address in sip using nat
i have traffic on a private ip range sending sip traffic that is being natted to another range on a cisco router. how do i get the nat router to change the ip address embedded in the sip to the nat address.
Hi Daniele,
Thanks. But this is already enabled.
This is my present config and show ver.
sh ver
Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9_NPE-M), Version 15.0(1)M2, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 10-Mar-10 22:27 by prod_rel_team
ROM: System Bootstrap, Version 15.0(1r)M6, RELEASE SOFTWARE (fc1)
NORF50IPT1 uptime is 1 day, 23 hours, 26 minutes
System returned to ROM by reload at 11:21:52 MSD Sat Aug 20 2011
System image file is "flash0:c1900-universalk9_npe-mz.SPA.150-1.M2.bin"
Last reload type: Normal Reload
Last reload reason: Reload Command
interface GigabitEthernet0/0
description link to Avaya PBX
ip address 146.30.106.250 255.255.255.252
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
interface GigabitEthernet0/1
ip address 192.168.211.106 255.255.255.0
ip accounting output-packets
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
ip nat service allow-multipart
ip nat inside source static 192.168.1.10 192.168.211.106 route-map ipt
access-list 1 permit 192.168.1.0 0.0.0.255
route-map ipt permit 10
match ip address 1
here is the output from a debug ip nat sip:-
*Aug 22 10:57:26 MSD: NAT: map match ipt
*Aug 22 10:57:26 MSD: mapping pointer available mapping:0
*Aug 22 10:57:26 MSD: NAT: New entry added to map hash table
*Aug 22 10:57:26 MSD: NAT: i: tcp (192.168.1.10, 52435) -> (192.168.111.2, 5060)
*Aug 22 10:57:26 MSD: NAT: created edit_context (192.168.1.10,52435) -> (192.168.111.2,5060)
*Aug 22 10:57:26 MSD: NAT: s=192.168.1.10->192.168.211.106, d=192.168.111.2
*Aug 22 10:57:26 MSD: NAT: o: tcp (192.168.111.2, 5060) -> (192.168.211.106, 52435)
*Aug 22 10:57:26 MSD: NAT: s=192.168.111.2, d=192.168.211.106->192.168.1.10
NORF50IPT1#
*Aug 22 10:57:52 MSD: NAT: map match ipt
*Aug 22 10:57:52 MSD: mapping pointer available mapping:0
*Aug 22 10:57:52 MSD: NAT:refcount increased to entry in map hash table
*Aug 22 10:57:52 MSD: NAT: i: tcp (192.168.1.10, 45661) -> (192.168.111.2, 5060)
*Aug 22 10:57:52 MSD: NAT: created edit_context (192.168.1.10,45661) -> (192.168.111.2,5060)
*Aug 22 10:57:52 MSD: NAT: s=192.168.1.10->192.168.211.106, d=192.168.111.2
*Aug 22 10:57:52 MSD: NAT: o: tcp (192.168.111.2, 5060) -> (192.168.211.106, 45661)
*Aug 22 10:57:52 MSD: NAT: s=192.168.111.2, d=192.168.211.106->192.168.1.10
I cannot see it changing the embedded ip in the sip. -
I have an email account and they want me to use my (same) email account name as my Apple ID. When I do it says my email is already in use. Is Apply suggesting I need to create a second email address?
The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
Is the email address being used in the account of another Apple ID that you have? -
RE: 1) Changing name and IP address of an AIX 4.2 Server 2)Using NAT
Daniel,
you (normaly) just have to :
1) edit the $FORTE_ROOT/fortedef.sh fileand change the value of variable
FORTE_NS_ADDRESS
2) shutdown and restart forte environment
3) put the new values in the control panel of the client and run !
It worked on our site with the same configuration (Aix 4.2)
Good luck
De : Daniel[SMTP:[email protected]]
Répondre à : Daniel
Date : vendredi 18 juin 1999 13:08
A : [email protected]
Cc : Jose Ignacio
Objet : 1) Changing name and IP address of an AIX 4.2 Server 2)
Using NAT to reach forte
Hello Forte Users :
I have 2 questions to make:
1)
I've installed a Forte Server Central Node (Release 3.0.F.2) in an
IBM RS/6000 with OS AIX 4.2
(The name of the server is Name_1 and the IP address is
125.125.50.50 with mask 255.255.255.0)
Nowadays we had to change the name and IP address of this server
lets say to Name_2 and 125.125.60.60 with mask 255.255.255.0.
After that we try to find any reference to old name and IP address
in the forte directory and all of its subdirectories changing them to
the new ones.
After these changes we found than forte could'nt start the nodemgr
server.
We have too many reasons to avoid installing FORTE again.
Does anybody know if I have to change anything more to make
nodemgr server work.
2)
The second question is about NAT (Network Address Translation).
To reach a Forte Server Central Node from a Forte Client we have
to pass through a Firewall and NAT.
We are researching and at this moment we can not reach the server
from the client, has anybody any suggestion to correctly configure
Forte (Client and Server) to use NAT between them.
If anyone could help me I would be very pleased.
Thank you very much in advance,
Daniel GonzáLucas (EAM Sistemas Informáticos SL, Spain,
e-mail: [email protected])
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>>> 15 Mins is not enough for completely the replication.
>> use repadmin /syncall /aEpd - for force replication.
>> Wait 3 hrs minimum.
Regards,
Biswajit
MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
Blog:
Script Gallary:
LinkedIn:
Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..
Maybe you are looking for
-
I keep getting a "connection was reset error" before step 1 can finish.
I signed up for iTunes match today but everytime I try to match my library it gets to the very end of step 1 and I get this error message "We could not complete your iTunes store request. The network connection was reset. Make sure your network conne
-
Sales order to billing document
dear gurus i am have created a sales order in INR? But it is changed in the devlivety document as EUR? how it is happedn? what are the confifuration setting i should do for this problem? thanks & regards durga prasad
-
Why can't I see the test button in menu?
In Videos I have seen the "test" button to test a form bevore publishing it. Why can't I see this button?
-
Bug when using Sequencer.setTickPosition() ?
HI, I created a Track and added a few ControlChange events in ticks 0,96,192,288,384. This corresponds to beat indicators in a resolution of 96 (PPQ). I set the sequencer for a loop, starting at tick 0, and ending at tick 384. While the sequencer is
-
[SOLVED] Gnome 3.6 Background Pictures folder
Hey guys, Like many of you I just upgraded to Gnome 3.6. After upgrade I am experiancing some rather strange behavior, that I was hoping someone would be able to help me figure out. It is probably embarssingly simple. When I go into settings and go