Categories

Main
Database
Java
Microsoft.NET
Adabas
DB2
Informix
Microsoft SQL Server
MySQL
Oracle
Pervasive.SQL
PostgreSQL
Sybase
Other
ASP
ColdFusion
Crystal Reports
Delphi, C etc
JAVA
Microsoft.NET
Perl and the DBI
PHP
ANSI SQL
Unix Shell Scripts
Visual Basic
XML & XSLT
Corel Paradox
FileMaker
Microsoft Access
Microsoft Excel
Other PC Databases
Applications & Tools
Database Concepts & Design
EJB programming & troubleshooting
EJB design
General J2EE
XML & Web services
Web tier: servlets, JSP, Web frameworks
Performance and scalability
Industry news
TSS feedback
Mobicents Contributors
Mobicents Users
JSLEE Resource Adaptor Types
Planning JavaOne 2008
Sun Tech Days
Other Java conferences
Binary Web Services and XML
Metro and JAXB
GlassFish
GlassFish Plugins
Project jMaki
GlassFish WebTier
Mural
Java Development Tools
Java WS & XML Community News
JAXP
Java SE
6uN Early Access
Java Quick Starter
Java SE Snapshots: Project Feedback
JCK Forum
Feedback and Suggestions
JDK Distros
JDK Open Source
General JSR Discussion
JCP 2.6
JXTA Community Forum
ME Interest
ME Cool Apps
ME General Help
ME Feedback & Suggestions
ME Application Developer Interest
Blu-ray Disc Java
ME Developer Days
Squawk
Mobile Developer Alliance
OpenCable
LWUIT
JavaFX Script Language Discussion
OpenJFX General Discussion
Scene Graph
General Performance Discussion
Your Java Career
NetBeans 6.0
Servlets
JSP
JSF
Portals and Portlets
EJB and Other Java EE Technologies
Distributed Java
Object Relational Mapping
JDBC
Web Services
Swing / AWT / SWT / JFace
JNLP and Web Start
Java Micro Edition
Sockets and Internet Protocols
Threads and Synchronization
Performance
Applets
I/O and Streams
Other Java APIs
Game Development
Java in General (beginner)
Java in General (intermediate)
Java in General (advanced)
Programmer Certification (SCJP)
Developer Certification (SCJD)
Associate Certification (SCJA)
Web Component Certification (SCWCD)
EJB Certification (SCBCD)
Mobile Application Certification (SCMAD)
Architect Certification (SCEA)
Web Services Certification (SCDJWS)
XML Certification
Product and Other Certifications
Mock Exam Errata
Sun Certification Results
Authors' Corral
Book Reviews
Events
Bunkhouse Porch
Teachers' Lounge
Testing
OO, Patterns, UML and Refactoring
IDEs, Version Control and other tools
Ant, Maven and Other Build Tools
Linux / UNIX
Mac OS
HTML and JavaScript
XML and Related Technologies
Agile and Other Processes
General Computing
Security
Groovy
Scala
Other Languages
Struts
Application Frameworks
Other Open Source Projects
BEA/Weblogic
IBM/Websphere
Oracle/OAS
Apache/Tomcat
JBoss
Other Java Products and Servers
JavaRanch
Cattle Drive (java college)
Moderators Only
Trash Can
Jobs Offered
Jobs Wanted
Jobs Discussion
Meaningless Drivel
Programming Diversions
Blatant Advertising
Java Announcements
New To Java
Advanced Java
Java Applets
Networking
Threads and Synchronization
Java 2D
AWT / Swing
SWT / JFace
CLDC and MIDP
CDC and Personal Profile
Sun Java Wireless Toolkit
Enterprise JavaBeans
JavaServer Pages (JSP) and JSTL
Java Servlet
JavaServer Faces
Web Frameworks
Database
XML
Lucene
NetBeans
Eclipse
IntelliJ IDEA
JCreator
Other IDEs
Java Tutorials
Java Tips
Jobs Discussion
Jobs Offered
Jobs Wanted
Professional Certification
Forum Lobby
Java Blogs
Introductions
Reviews / Advertising
Suggestions & Feedback

Resources

Java Database
Linux
Coding
Mobile
Hardware
Software Development
Software Development
iOS,OS X
iOS,OS X
ORACLE
IBM DEVELOPER
IBM DEVELOPER
MSDN
MSDN


Tags

Oracle

Oracle is probably the most popular enterprise database server at the moment. This is the server that powers eBay on the web and countless datawarehouses and VLDBs around the world. Oracle is suited for all applications from OLTP to Data Warehousing. The latest 9i even has a built in OLAP engine.

The Network Adapter could not establish the connection


Hi guys,

I've 5 point to follow when I want open my application:

1. start listener oracle 102
2. start service JDX1
3. start webwork
4. start node pool manager
5. start browser for the application

But when I try to start webworks I've this message:

<22-apr-2008 8.42.31 GMT> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "CSM_ConnectionPool": Eccezione IO: The Network Adapter could not establish the connection>

Could you help me?

Thanks a lot

Could you please post the complete error...or is that message all you get?

hi,

this is the complete message

<21-apr-2008 13.55.22 GMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLog
ic Server with BEA WebLogic JRockit(TM) 1.4.2_08 JVM R24.5.0-61 Version ari-4909
5-20050826-1856-win-ia32 from BEA Systems, Inc.>
<21-apr-2008 13.55.23 GMT> <Info> <Configuration Management> <BEA-150016> <This
server is being started as the administration server.>
<21-apr-2008 13.55.23 GMT> <Info> <Management> <BEA-141107> <Version: WebLogic S
erver 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358
WebLogic XMLX Module 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358 >
<21-apr-2008 13.55.24 GMT> <Notice> <Management> <BEA-140005> <Loading domain co
nfiguration from configuration repository at C:\Manu\manuv722\manu2_scpo\config\
ManugisticsDomain\.\config.xml.>
<21-apr-2008 13.55.30 GMT> <Notice> <Log Management> <BEA-170019> <The server lo
g file C:\Manu\manuv722\manu2_scpo\config\logs\weblogic.l  og is opened. All serve
r side log events will be written to this file.>
SimpleSampleAuthenticationProviderImpl.initialize
<21-apr-2008 13.55.33 GMT> <Notice> <Security> <BEA-090082> <Security initializi
ng using security realm myrealm.>
<21-apr-2008 13.55.34 GMT> <Notice> <WebLogicServer> <BEA-000327> <Starting WebL
ogic Admin Server "WebWORKS" for domain "ManugisticsDomain">
<21-apr-2008 13.55.57 GMT> <Error> <JDBC> <BEA-001150> <Connection Pool "SCPOCon
nectionPool" deployment failed with the following error: 0:Could not create pool
 connection. The DBMS driver exception was: Eccezione IO: The Network Adapter co
uld not establish the connection.>
<21-apr-2008 13.56.02 GMT> <Error> <JDBC> <BEA-001150> <Connection Pool "CSM_Con
nectionPool" deployment failed with the following error 0 Could not create pool
 connection. The DBMS driver exception was: Eccezione IO: The Network Adapter co
uld not establish the connection.>
<21-apr-2008 13.56.02 GMT> <Error> <JDBC> <BEA-001151> <Data Source "SCPODataSou
rce" deployment failed with the following error: DataSource(com.manu.scpoweb.Dat
aSource) can't be created with non-existent Pool (connection or multi) (SCPOConn
ectionPool).>
<21-apr-2008 13.56.02 GMT> <Error> <JDBC> <BEA-001151> <Data Source "CSM_DataSou
rce" deployment failed with the following error DataSource(com.manu.webservices
.DataSource) can't be created with non-existent Pool (connection or multi) (CSM_
ConnectionPool).>
<21-apr-2008 13.56.02 GMT> <Error> <JDBC> <BEA-001151> <Data Source "SCPO Connec
tionPool TX Data Source" deployment failed with the following error: DataSource(
weblogic.jdbc.jts.SCPOConnectionPool) can't be created with non-existent Pool (c
onnection or multi) (SCPOConnectionPool).>
<21-apr-2008 13.56.02 GMT> <Error> <JDBC> <BEA-001151> <Data Source "CSM Connect
ionPool TX Data Source" deployment failed with the following error: DataSource(j
dbc/CSM_ConnectionPool) can't be created with non-existent Pool (connection or m
ulti) (CSM_ConnectionPool).>
[Mon Apr 21 13:56:36 GMT 2008] Start Refreshing Application Cache
com.manu.webservices.db.DBException: Eccezione IO: The Network Adapter could not
 establish the connection
        at com.manu.webservices.db.ConnectionFactoryOracle.cr  eateConnection()Lja
va/sql/Connection;(ConnectionFactoryOracle.java:116)
        at com.manu.webservices.db.ConnectionFactory.getConne  ction()Ljava/sql/Co
nnection;(ConnectionFactory.java:82)
        at com.manu.webservices.security.ApplicationCache.loa  dApplications()V(Ap
plicationCache.java:152)
        at com.manu.webservices.security.ApplicationCache.ini  tialize()V(Applicat
ionCache.java:136)
        at com.manu.webservices.security.ApplicationCache.<in  it>()V(ApplicationC
ache.java:56)
        at com.manu.webservices.security.ApplicationCache.get  Instance()Lcom/manu
/webservices/security/ApplicationCache;(ApplicationCache.java:71)
        at com.manu.webservices.common.Startup.startup(Ljava/lang/String;Ljava/u
til/Hashtable;)Ljava/lang/String;(Startup.java:74)
        at com.manu.webservices.common.startup.StartupImpl.st  artup(Ljava/util/Pr
operties;)V(StartupImpl.java:165)
        at com.manu.webservices.common.startup.StartupServlet  .init(Ljavax/servle
t/ServletConfig;)V(StartupServlet.java:111)
        at weblogic.servlet.internal.ServletStubImpl$ServletI  nitAction.run()Ljav
a/lang/Object;(ServletStubImpl.java:1094)
        at weblogic.security.acl.internal.AuthenticatedSubjec  t.doAs(Lweblogic/se
curity/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Objec
t;(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Lw  eblogic/security/ac
l/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSub
ject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:12
1)
        at weblogic.servlet.internal.ServletStubImpl.createSe  rvlet()Ljavax/servl
et/Servlet;(ServletStubImpl.java:970)
        at weblogic.servlet.internal.ServletStubImpl.createIn  stances()V(ServletS
tubImpl.java:949)
        at weblogic.servlet.internal.ServletStubImpl.prepareS  ervlet(Lweblogic/se
rvlet/internal/RequestCallback;)V(ServletStubImpl.java:888)
        at weblogic.servlet.internal.WebAppServletContext.pre  loadServlet(Ljava/l
ang/String;)V(WebAppServletContext.java:3430)
        at weblogic.servlet.internal.WebAppServletContext.pre  loadServlets()V(Web
AppServletContext.java:3375)
        at weblogic.servlet.internal.WebAppServletContext.pre  loadResources()V(We
bAppServletContext.java:3356)
        at weblogic.servlet.internal.WebAppServletContext.set  Started(Z)V(WebAppS
ervletContext.java:6208)
        at weblogic.servlet.internal.WebAppModule.start()V(We  bAppModule.java:864
)
        at weblogic.j2ee.J2EEApplicationContainer.start([Lweblogic/j2ee/J2EEAppl
icationContainer$Component;)V(J2EEApplicationConta  iner.java:2134)
        at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic/management
/configuration/ComponentMBean;)V(J2EEApplicationContainer.java:21  75)
        at weblogic.j2ee.J2EEApplicationContainer.activate()V  (J2EEApplicationCon
tainer.java:2122)
        at weblogic.management.deploy.slave.SlaveDeployer$App  lication.setActivat
ion(Z)V(SlaveDeployer.java:3099)
        at weblogic.management.deploy.slave.SlaveDeployer.set  ActivationStateForA
llApplications(ZZ)V(SlaveDeployer.java:1768)
        at weblogic.management.deploy.slave.SlaveDeployer.res  ume()V(SlaveDeploye
r.java:351)
        at weblogic.management.deploy.DeploymentManagerServer  LifeCycleImpl.resum
e()V(DeploymentManagerServerLifeCycleImpl.java:229  )
        at weblogic.t3.srvr.SubsystemManager.resume()V(Subsys  temManager.java:136
)
        at weblogic.t3.srvr.T3Srvr.resume()V(T3Srvr.java:965)  
        at weblogic.t3.srvr.T3Srvr.run([Ljava/lang/String;)I(T3Srvr.java:360)
        at weblogic.Server.main([Ljava/lang/String;)V(Server.java:32)
Services failed to start using properties file: webworks_config.xml : com.manu.w
ebservices.common.ManuRuntimeException: Unknown Exception occurred during Applic
ation Cache Initialization = Eccezione IO: The Network Adapter could not establi
sh the connection
<21-apr-2008 13.56.43 GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state
changed to SHUTTING_DOWN>
<21-apr-2008 13.56.43 GMT> <Alert> <WebLogicServer> <BEA-000218> <Server shutdow
n has been requested by <WLS Kernel>>
<21-apr-2008 13.56.43 GMT> <Alert> <WebLogicServer> <BEA-000219> <The shutdown s
equence has been initiated.>

OK, it appears BEA is unhappy & complaining.
How does any of this make  Oracle is the problem?

I think Oracle because the service and the listener are referred to it.

But if it isn't so, can you explain me where I could search an answer?

Thanks a lot

Maybe Metalink note #139775.1 applies?

Quote:
	
	
		
			
				Originally Posted by andreamigliavacca
				I think Oracle because the service and the listener are referred to it.

But if it isn't so, can you explain me where I could search an answer?

Thanks a lot
			
		
	
	


I suggest you use a different client to test connectivity to the DB.

Hi ,

It's not possible to use other DB because my application work only on Oracle

Other suggests?

Thanks a lot

Quote:
	
	
		
			
				Originally Posted by andreamigliavacca
				Hi ,

It's not possible to use other DB because my application work only on Oracle

Other suggests?

Thanks a lot
			
		
	
	


I did NOT say another database.
I said use a different client, not BEA; like sqlplus, TOAD, Data Studio, etc.
Yes, you have a problem.
Nobody knows for sure which component originates the problem.

I writed an error in the last post:

It's not possible to use other client (not DB sure)

When I use Toad o sqlplus I can do everythings

But for my application is necessary BEA

Are you sure that there is a solution?

We use BEA here where I work.  I am not a BEA expert, but if one of the Weblogic admins showed me the errors that you have provided, I would suggest that the problem is in the JDBC configuration setting with the connection pool definition.  I would then compare the JDBC setting to my TNSNAMES setting and try to pinpoint the error.  If that didn't work, then the Weblogic admin would check on a BEA forum or with BEA support to diagnose the problem.

If you can get to the database by every other method you have tried, I would say that the problem is not with the database environment.

Quote:
	
	
		
			
				Originally Posted by andreamigliavacca
				I writed an error in the last post:
When I use Toad o sqlplus I can do everythings
Are you sure that there is a solution?
			
		
	
	


The  solution is to fix BEA because that is where the problem exists.
When you can connect to DB using SQL*PLus this  proves Oracle is working as best it can be.


Related Links

shared memory realm doesnt exist
Synonyms in Oracle-
Comparing rows in table against themselves ??
Deciding on Database
Oracle error- during table creation
Creation of roles
Pls-00410
dbms_jobs
internal error
installing Oracle server and Oracle 9iAS in the same oracle_home
seed database
help me
what is the max no of triggers a table can have in oracle
Not getting the correct output through this query
Database Design Question
oracle apps 11 i issue