Problem configure mysql datasource

Hi, I am trying to use mysql datasource for my application. I had configured MYSQL_DRIVER and then
i had configured gtasappdb datasource with
   driver-class-name = com.mysql.jdbc.Driver
   url               = jdbc:mysql://localhost:3306/appdb
   alias             = appdbdatasource
And then i tried to deploy a EJB application which uses the above 'appdbdatasource'. When the application starts
it says cannot find 'gtasappdb' connectionfactory.
So can anyone tell me what should be done to use mysql for my application, please

Hello mahesh,
There are two ways.
1. You should add a resource reference to the ds alias in the deployment descriptor of the application component.Once you have defined the reference,use the following snippet to access the data source
DataSource ds = (DataSource) context.lookup("java:comp/env/<res-ref-name>").
2. If you have not defined the reference in your application, use the JNDI reference "jdbc/alias".
Hope this helps,
Prasad

Similar Messages

  • Problems creating MySQL Datasource in OC4J

    I was recently tasked with creating a MySQL datasource in my development OC4J container (running through Eclipse, but that's irrelevant). I searched for and found this page: http://www.oracle.com/technology/products/jdev/tips/duff/mysql_and_oc4j3.html which tells me how to do this.
    I searched for and found the Datasource class jar file: mysql-connector-java-3.0.17-ga-bin.jar, installing it in the ORACLE_HOME/applib directory of my container.
    I then fired up the container, and accessed the ascontrol app to add the Datasource (via Administration/JDBC options), and ran into a few problems:
    After entering the "Create Datasource" menu, I filled in the appropriate values for the JNDI name, class name of the Datasource, URL of the database, username and password. When I went to test the connection, I received an error that the Datasource class could not be created, yet in the error message it showed me where the Datasource class was (in which jar), so obviously the container knew about the jar.
    After much playing around, I determined that the ascontrol app itself was the issue. In the orion-application.xml file for the ascontrol found in ORACLE_HOME/application-deployments/ascontrol, I found the line:
    <remove-inherited name="global.libraries"/>
    in the <imported-shared-libraries> tag. This essentially means, "ignore everything in the applib directory". It seems, as the instructions in the page above state, you actually have to manually edit the data-sources.xml file in your ORACLE_HOME/config directory in order to add this datasource, as the ascontrol app is unable to do so without loading the library from applib.
    Now, I just commented out this line in the ascontrol's xml file temporarily, and was able to use the ascontrol to add the datasource, but this seems wrong. Now, finally, I can ask my questions:
    1. Is this really the preferred method for adding a MySQL datasource to an OC4J container?
    2. If not, what is?
    3. If so, why is the ascontrol crippled in this fashion, and should it be fixed so it isn't anymore?

    Tank -- we recently discovered this situation with ASC ourselves. There's some history there in that by importing the global.libraries in the past, there has been problems with some libs that ASC itself needed being overridden -- evidently some common practice with a framework we supply was to use the applib directory in this manner, which caused issues for ASC. So the solution was to remove global.libraries from ASC.
    OK so how to solve it, there's a number of options.
    1. Remove the remove-inherited libraries tag from the ASC deployment descriptor as you've identified. I actually have the ASC team checking on whether this is something they want to do in a patch release.
    2. Put the mysql driver into its own installed shared-library, then import that into each app that needs it. And add it to ASC as an imported-shared-library. That way the same code-source is available in each location. I'd have to say this is probably the preferred option at this point.
    3. Put the mysql jar file into both the j2ee/home/applib directory AND the web-inf/lib directory of the so both apps have at it. This introduces an abstract dependency, which may cause issues if you update one but not the other at some future point. But it should work.
    cheers
    -steve-

  • CF 11: Configuration a datasources to MS SQL Backend with encryption enforced by SQL Server

    Hello List;
    I have the following problem: Configuration a datasources to MS SQL Backend with option encryption enforced (by SQL Server).
    I goggled in the internet for the configuration of the datasource and find multiple articles/advices:
    Configuration a datasource type other with jtds.jdbc.Driver and manual configuration of the connection string:
    1. Downloading the driver and copy to the cfusion/lib directory: Done, the driver was recognized by coldfusion after a restart of the service.
    2. Copying the ntlmauth.dll to the bin directory of jre/bin: Done
    3. Configuration of the jdbc URL: jdbc:jtds:sqlserver://xxxx.xxx.xxx.net:1433/db: Works, I don’t  get a connection timeout
    4. User and PW: Works: I don’T get a login failure.
    5. Advanced settings: Connection String: Maybe here is something wrong: EncryptionMethod=SSL; TrustStore=Path\sqlstore.jks; TrustStorePassword=xxx; ValidateServerCertificate=true; HostNameInCertificate=xxx.xxx.xxx.net;
    Error Message (Coldfusion logs/stack trace):  I/O Error: DB server closed connection. SQLException while attempting to connect: java.sql.SQLException: I/O Error: DB server closed connection..
    Has anybody experiences with this topic/can give me advices/send me screenshots.
    frank

    Hi Stephen;
    we tried: add EncryptionMethod=SSL; ValidateServerCertificate=false; to the connection string;
    And it doesn't work.. Are you sure, that you have enabled encryption enforced in your SQL-Server Settings.
    Oherwise the connection works, but the Connection is not encrypted:
    Coldfusion lies!
    You can controll this by veryfining the open connections on the sqlserver with the query:
    SELECT net_transport, protocol_type, encrypt_option ,auth_scheme, program_name FROM sys.dm_exec_connections AS c JOIN sys.dm_exec_sessions AS s ON c.session_id = s.session_id cross apply sys.dm_exec_sql_text(most_recent_sql_handle) AS d
    There you can see the jtds Connectionand the (programname) and the encryt_option (must be true).
    frank

  • MySQL DataSource configuration with JBOSS

    Hi,
    I am using Eclipse with Lomboz and JBOSS as Application Server. I created a CMP Entity Bean and setup my MySQL Database Server including its JDBC Driver. I also configured several files like login-config.xml, standardjbosscmp-jdbc.xml, standardjaws.xml, mysql-service.xml, and
    I got the following error messages when I tried deploying the bean.
    Please help me in resolving this problem so I can continue my study using these tools.
    15:45:09,547 INFO [Server] JBoss (MX MicroKernel) [3.0.7 (CVSTag=JBoss_3_0_7 Date=200304081816)] Started in 0m:47s:418ms
    15:46:34,970 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss/JBoss/server/default/deploy/mybeans.jar
    15:46:36,392 INFO [EjbModule] Creating
    15:46:36,502 INFO [EjbModule] Deploying TestSession
    15:46:36,652 INFO [EjbModule] Created
    15:46:36,662 INFO [EjbModule] Starting
    15:46:37,033 INFO [EjbModule] Started
    15:46:37,033 INFO [MainDeployer] Deployed package: file:/C:/JBoss/JBoss/server/default/deploy/mybeans.jar
    15:47:33,604 INFO [MainDeployer] Starting deployment of package: file:/C:/JBoss/JBoss/server/default/deploy/myentitybean.jar
    15:47:34,335 INFO [EjbModule] Creating
    15:47:34,395 INFO [EjbModule] Deploying Address
    15:47:35,177 INFO [EjbModule] Created
    15:47:35,177 INFO [EjbModule] Starting
    15:47:41,135 ERROR [MainDeployer] could not start deployment: file:/C:/JBoss/JBoss/server/default/deploy/myentitybean.jar
    java.lang.NoClassDefFoundError: org/jboss/proxy/compiler/Proxies$ProxyTarget
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
         at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:68)
         at org.jboss.proxy.compiler.ProxyCompiler.<init>(ProxyCompiler.java:76)
         at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:580)
         at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:77)
         at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.<init>(JDBCCreateBeanClassInstanceCommand.java:52)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:97)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:436)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369)
         at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
         at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
         at org.jboss.ejb.Container.invoke(Container.java:782)
         at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
         at $Proxy4.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:413)
         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy26.start(Unknown Source)
         at org.jboss.ejb.EjbModule.startService(EjbModule.java:404)
         at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
         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:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
         at $Proxy4.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:413)
         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy10.start(Unknown Source)
         at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy3.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
    15:47:41,175 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@b1c4d3ce{ url=file:/C:/JBoss/JBoss/server/default/deploy/myentitybean.jar, deployedLastModified=0 }
    org.jboss.deployment.DeploymentException: Could not create deployment: file:/C:/JBoss/JBoss/server/default/deploy/myentitybean.jar; - nested throwable: (java.lang.NoClassDefFoundError: org/jboss/proxy/compiler/Proxies$ProxyTarget)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:835)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy3.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:656)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:217)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:230)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:207)
    Caused by: java.lang.NoClassDefFoundError: org/jboss/proxy/compiler/Proxies$ProxyTarget
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
         at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:68)
         at org.jboss.proxy.compiler.ProxyCompiler.<init>(ProxyCompiler.java:76)
         at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:580)
         at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:77)
         at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.<init>(JDBCCreateBeanClassInstanceCommand.java:52)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:97)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:436)
         at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369)
         at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
         at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
         at org.jboss.ejb.Container.invoke(Container.java:782)
         at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
         at $Proxy4.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:413)
         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy26.start(Unknown Source)
         at org.jboss.ejb.EjbModule.startService(EjbModule.java:404)
         at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
         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:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
         at $Proxy4.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:413)
         at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
         at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
         at $Proxy10.start(Unknown Source)
         at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
         ... 15 more
    //==================end of Error message ========================?
    This is how I configured mysql-service.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- ===================================================================== -->
    <!-- -->
    <!-- JBoss Server Configuration -->
    <!-- -->
    <!-- ===================================================================== -->
    <server>
    <!-- ==================================================================== -->
    <!-- New ConnectionManager setup for mysql using 2.0.11 driver -->
    <!-- Build jmx-api (build/build.sh all) and view for config documentation -->
    <!-- ==================================================================== -->
    <mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager"
         name="jboss.jca:service=LocalTxCM,name=MySqlDS">
    <!-- //ABD: 05.22.2003 => Commented.
         Include a login module configuration named MySqlDbRealm.
    Update your login-conf.xml, here is an example for a
    ConfiguredIdentityLoginModule:
    <application-policy name = "MySqlDbRealm">
    <authentication>
    <login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
    <module-option name = "principal">root</module-option>
    <module-option name = "userName">root</module-option>
    <module-option name = "password"></module-option>
    <module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=MySqlDS</module-option>
    </login-module>
    </authentication>
    </application-policy>
    -->
    <!-- //ABD: Commented.
    NOTE: the application-policy name attribute must match SecurityDomainJndiName, and the
    module-option name = "managedConnectionFactoryName"
    must match the object name of the ConnectionManager you are configuring here.
    -->
    <!-- ABD: Uncommented. uncomment out this line if you are using the MySqlDbRealm above -->
    <attribute name="SecurityDomainJndiName">MySqlDbRealm</attribute>
    <depends optional-attribute-name="ManagedConnectionFactoryName">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.RARDeployment"
         name="jboss.jca:service=LocalTxDS,name=MySqlDS">
    <attribute name="JndiName">MySqlDS</attribute>
    <attribute name="ManagedConnectionFactoryProperties">
    <properties>
    <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://localhost:3306/test</config-property>
    <config-property name="DriverClass" type="java.lang.String">com.mysql.jdbc.Driver</config-property>
    <!--set these only if you want only default logins, not through JAAS -->
    <config-property name="UserName" type="java.lang.String">root</config-property>
    <config-property name="Password" type="java.lang.String"></config-property>
    </properties>
    </attribute>
    <!--Below here are advanced properties -->
    <!--hack-->
    <depends optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper</depends>
    </mbean>
    </depends>
    <depends optional-attribute-name="ManagedConnectionPool">
    <!--embedded mbean-->
    <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
    name="jboss.jca:service=LocalTxPool,name=MySqlDS">
    <attribute name="MinSize">0</attribute>
    <attribute name="MaxSize">50</attribute>
    <attribute name="BlockingTimeoutMillis">5000</attribute>
    <attribute name="IdleTimeoutMinutes">15</attribute>
    <!--criteria indicates if Subject (from security domain) or app supplied
    parameters (such as from getConnection(user, pw)) are used to distinguish
    connections in the pool. Choices are
    ByContainerAndApplication (use both),
    ByContainer (use Subject),
    ByApplication (use app supplied params only),
    ByNothing (all connections are equivalent, usually if adapter supports
    reauthentication)-->
    <attribute name="Criteria">ByContainer</attribute>
    </mbean>
    </depends>
    <depends optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedConnectionManager</depends>
    <depends optional-attribute-name="JaasSecurityManagerService">jboss.security:service=JaasSecurityManager</depends>
    <attribute name="TransactionManager">java:/TransactionManager</attribute>
    <!--make the rar deploy! hack till better deployment-->
    <depends>jboss.jca:service=RARDeployer</depends>
    </mbean>
    </server>

    Did you compile your bean with the same JDK which is used for JBoss ?

  • Hyperion configure interface datasource problem

    i installed hyperion 11.1.2.2 and installation finished succesfully.
    I login to console http://ip:19000/workspace and i try to call "configure interface datasource" menu
    i get error message.
    ; nested exception is:
    HTTP transport error: java.net.MalformedURLException: no protocol: Sessions.asmx
    Code: java.rmi.RemoteException
    Description: An error occurred processing the result from the server.
    Actor: none
    Any thoughts would be great. Thanks...

    l Use this URL:
    http(s)://Local_machine_name/hyperion-bpma-server/Sessions.asmx
    If a Sessions page is displayed, then IIS is correctly configured. If there is any error in IIS, check the Event Log to identify the problems. Check the System and Application Log to see if errors were logged by ASP.NET or IIS, and fix any errors. A possible cause is incorrect privileges for the user for the TEMP directory.
    l Check the Event Logs from sources starting with HyS9EPMA. Possible causes are communication errors with Shared Services or the database.
    l The ASPNET user may not have access to certain folders. If the Event Log displays any security-related errors, assign rights to the ASPNET user.
    1. From the command prompt, go to this directory: C:\Windows\Microsoft.NET\Framework\v2.0.50727.
    2. Enter run aspnet_regiis.exe -ga.
    Refer: Pg 105 of http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_1112200.pdf
    HTH-
    Jasmine.

  • Problem running Page with MySQL DataSource

    Hi All,
    Jdev Version 11.1.1.6.0
    I have created a MYSQL Datasource (Datasource got created successfully and tested). The issue is when I am running a jspx page, I am getting below exception.
    java.lang.NoClassDefFoundError: com/mysql/jdbc/MySQLConnection
    I have provided the Class path in Weblogic - Servers - DefaultServer- Server Start tab like C:\Users\jars\Downloads\mysql-connector-java-5.1.25\mysql-connector-java-5.1.25
    But still I am getting this exception. I didn't got any issue when I created a MYSQL connection, and provided Driver Class path.
    Any pointer, what I am missing here.
    Thanks
    AP

    Hi Suresh,
    Thanks for the post. Well there are 2 thing which I require to understand.
    1. We can create MYSQL connection using Jdev and set the classpath which is provided in post. It worked fine.
    2. We can create datasource of MYSQL connection and use it in our Model Project. Here I am struck and giving this exception when running.
    Since it Enterprise Application, creating Datasource is generic way to connecting. I am facing issue after creating datasource. I tried above approaches, but getting exception.
    Can you help me in understand, what is going wrong in step 2.
    Thanks, AP

  • Configuring a Datasource Help (Hyperion Planning)

    Please help. I am installing Hyperion Planning - System 9 Release 9.3.1.1 and get the following error in the Configuration utility when I try to configure a datasource:
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no HspEss
    baseEnv in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.hyperion.planning.olap.HspEssbaseEnv.<clinit>(Unknown Source)
    at com.hyperion.planning.olap.HspEssbaseJniOlap.<clinit>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.TestEssConnection(Unknown Source)
    at com.hyperion.planning.HspDSEssbasePanelManager.TestEssConnection(HspD
    SEssbasePanelManager.java:156)
    at com.hyperion.planning.HspDSEssbasePanelManager.queryExit(HspDSEssbase
    PanelManager.java:132)
    at com.hyperion.cis.config.wizard.ProductCustomInputPanel.queryExit(Prod
    uctCustomInputPanel.java:114)
    at com.installshield.wizard.awt.AWTWizardUI.doNext(Unknown Source)
    at com.installshield.wizard.awt.AWTWizardUI.actionPerformed(Unknown Sour
    ce)
    at com.installshield.wizard.swing.SwingWizardUI.actionPerformed(Unknown
    Source)
    at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationControlle
    r.notifyListeners(Unknown Source)
    at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationControlle
    r.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    OS: Windows Vista SP 1
    Database: Oracle 11g
    App Server: Weblogic 9
    Essbase and Oracle are both up and running and can be accessed via other tools.
    Any help would greatly be appreciated.
    - CP

    Hi,
    The first thing that stands out is that you are running on Vista, it is not officially supported and I know people have had troubles getting planning working with it.
    The error message points to a problem with the connection to essbase.
    Cheers
    John

  • Configuring a DataSource

    I'm trying to configure a DataSource for MySql, but when I try to make a ping to the Connection Pool appears this message: "Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Connection could not be allocated because: Syntax error or access violation message from server: "Incorrect database name 'jdbc:mysql://localhost:3306/tienda'"
    I'm using this parameters:
    DataSource classname = com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    Resource type = javax.sql.DataSource
    database name = jdbc:mysql://localhost:3306/shop
    Can anybody help me?
    Thanks.

    I suppose you use Windows XP and you have create a System DNS throught Administrative Tools in Control Panel.
    If you didn't do it then you should use a Type1 JDBC Driver, an ODBC-JDBC driver. You should donwload the MySQL ODBC Driver and install it.
    Then insert this code in your program.
    try     {
    // load database driver class TYPE1
    Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
    // connect to database
    connection = DriverManager.getConnection( "jdbc:odbc:tienda");
    catch(Exception exc)     {
         System.out.println(exc);
    Else you can use a Type4 JDBC Driver,. In this case you haven't create a System DNS.
    try     {
    // load database driver class TYPE4
    Class.forName("com.mysql.jdbc.Driver");
    // connect to database
    connection = DriverManager.getConnection(LOOK BELOW);
    catch(Exception exc)     {
         System.out.println(exc);
    In connection = DriverManager.getConnection(LOOK BELOW);
    Change LOOK BELOW with
    jdbc:mysql://[host][,failoverhost...][:port]/[database][?propertyName1][=propertyValue1][&propertyName2][=propertyValue2]...
    As MySQL JConnector's Manual instructs.

  • Mysql datasource and WebDynpro

    Hello all!
    I'm new at WD and NW features and I'm trying to figure out the best way to access an external Mysql database with webdynpro.
    I already configured an external mysql datasource at NW CE and it's working fine.
    My doubt is about how I'm going to access this datasource in NWDS? Do I need to create a new Dictionary? How does it work? How do I link this datasource with my WebDynpro project?
    And about the persistence? Must I use JPA, EJB? How do I do it?
    Is there any article about this?

    Hi,
    there are already a lot of examples in the forum of how to connect MySql db with the portal.
    Here is a simple solution:
    If you have already created a datasource:
    try {
                   InitialContext initialContext = new InitialContext();
                   DataSource dataSource = (DataSource)initialContext.lookup("jdbc/YOUR_DB_ALIAS");
                   connection= dataSource.getConnection();
              } catch (SQLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (NamingException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    And you must change YOUR_DB_ALIAS with the real alias name. That is all if you have already created a datasource.
    About what to use: you can use whatever you want. This is just a simple example of how to get your db connection. After that you can do whatever you want with it.
    You can write your one db engine if you want:
                            PreparedStatement stmt = connection.prepareStatement("insert into simple_table simple_values(?)");
                   stmt.setString(1, "Hello world");
                   stmt.execute();
    Or you can use JPA, JDO, EJB, etc... It depends only on your decision. All of them will work.

  • WL7: deploy fails to find configured TX DataSource

    I don't understand why I'm getting the following exception at deployment
    (external-stage):
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name:
    mysql-txdatasource-pool could not be located. Please ensure that the DataSource
    has been deployed successfully and that the JNDI name in your EJB Deployment
    descriptor is correct.
    Here is an excerpt from my "config.xml" that shows the data sources and pools,
    all of which I created in the admin console:
    <JDBCConnectionPool ACLName="admin"
    DriverName="org.gjt.mm.mysql.Driver" Name="mysql-pool"
    Password="{3DES}jkpHRiRP/zU=" Properties="user=admin"
    TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
    TestTableName="Stuff" URL="jdbc:mysql://wondark/mysql" XAPassword="{3DES}jkpHRiRP/zU="/>
    <JDBCDataSource JNDIName="mysql-datasource-pool"
    Name="MySQL DataSource Pool" PoolName="mysql-pool"/>
    <JDBCTxDataSource JNDIName="mysql-txdatasource-pool"
    Name="MySQL Tx Data Source" PoolName="mysql-pool"/>
    Does anyone have any idea why this could be happening, or something that I
    could do to get more information?
    I'm running on Win2k.
    ===================================================================
    David M. Karr ; Java/J2EE/XML/Unix/C++
    [email protected]

    David,
    I'd try to stop the server, add Targets="myserver" to the defintion
    of the pool and datasource and then restart the server and look
    at the shell console/server log for errors.
    Regards,
    Slava Imeshev
    "David M. Karr" <[email protected]> wrote in message
    news:[email protected]...
    "Slava" == Slava Imeshev <[email protected]> writes:
    Slava> Hi David,
    Slava> Couple things about the pools and data sources defintion:
    Slava> 1. Your pool and datasources just didn't start because a targetwas
    Slava> not defined for them. Go to the console and add target to thepool
    Slava> and then to the datasources.
    In the "Targets" tab of the Pool, I put "myserver" in the "chosen" listand
    clicked Apply, which produced the exception listing following this.
    Exception
    java.lang.NullPointerException
    atweblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
    53)
    atweblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
    MBeanAction.java:210)
    atweblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
    ditMBeanAction.java:188)
    atweblogic.management.console.actions.internal.InternalActionContext.setAction
    (InternalActionContext.java:158)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:170)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:945)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :332)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :242)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5363)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:721)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3043)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2466)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.utils.NestedRuntimeException - with nested exception:
    [java.lang.NullPointerException]
    atweblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
    56)
    atweblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
    MBeanAction.java:210)
    atweblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
    ditMBeanAction.java:188)
    atweblogic.management.console.actions.internal.InternalActionContext.setAction
    (InternalActionContext.java:158)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:170)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:945)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :332)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :242)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5363)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:721)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3043)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2466)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------------- nested within: ------------------
    weblogic.management.console.actions.ActionException - with nestedexception:
    [weblogic.utils.NestedRuntimeException - with nested exception:
    [java.lang.NullPointerException]]
    at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:38)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:190)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:945)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :332)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :242)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5363)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:721)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3043)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2466)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    Current Date
    Fri Jun 28 14:43:09 PDT 2002
    Console Release Build
    null
    Console Build
    null
    Server Release Build
    7.0.0.0
    Server Build
    WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
    All Server Product Versions
    WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
    WebLogic XMLX Module 7.0 Thu Apr 25 17:26:07 PDT 2002 180709
    Request Info
    Protocol: HTTP/1.1
    ServerName: wondark
    ServerPort: 7001
    Secure: false
    ContextPath: /console
    ServletPath: /common/error.jsp
    QueryString:MBean=mydomain%3AName%3Dmysql-pool%2CType%3DJDBCConnectionPool
    PathInfo: null
    PathTranslated: null
    RequestURI: /console/common/error.jsp
    AuthType: null
    ContentType: application/x-www-form-urlencoded
    CharacterEncoding: null
    Locale: en_US
    Method: POST
    Session:weblogic.servlet.internal.session.MemorySessionData@2b3afd
    RequestedSessionId:9cXpEaa7cV5TXFJnAUGfx5xKzjbhLrdqm9C7hZHST81m0xSXU2zq!-285718339!102530039338
    5
    RequestedSessionIdFromCookie: true
    RequestedSessionIdFromURL: false
    UserPrincipal: weblogic
    RemoteUser: weblogic
    RemoteAddr: 192.168.1.100
    RemoteHost: wondark
    Parameters
    MBean = mydomain:Name=mysql-pool,Type=JDBCConnectionPool
    chosen_wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.
    Targets-Server = mydomain:Name=myserver,Type=Server
    weblogic.console.submit_form = dataposted
    wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.Targets
    -Server = mydomain:Name=myserver,Type=Server
    >
    Attributes
    wlinternalaction =weblogic.management.console.actions.internal.InternalActionContext@1740fa
    java.util.Locale = en_US
    weblogic.management.console.catalog.Catalog =weblogic.management.console.catalog.XmlCatalog@61c345
    weblogic.management.console.helpers.BrowserHelper = User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a+) Gecko/20020625 IE:
    false Netscape: true Supported: true JavscriptHrefs: true TableCellClick:
    false DocumentReloadedOnResize: true DropdownStretchable: false
    CellSpacingBlank: true EmptyCellBlank: true ImgOnclickSupported: false
    TableBorderFancy: false PartialToWideTables: true DisabledControlSupported:
    false
    weblogic.management.console.helpers.DebugHelper =weblogic.management.console.helpers.DebugHelper@3fe222
    weblogic.management.console.helpers.UnitsHelper =weblogic.management.console.helpers.UnitsHelper@5e6a4f
    weblogic.management.console.helpers.UrlHelper =weblogic.management.console.helpers.UrlHelper@2b0523
    >
    Headers
    Accept =text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
    0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
    Accept-Charset = ISO-8859-1, utf-8;q=0.66, *;q=0.66
    Accept-Encoding = gzip, deflate, compress;q=0.9
    Accept-Language = en-us, en;q=0.50
    Connection = keep-alive
    Content-Length = 300
    Content-Type = application/x-www-form-urlencoded
    Cookie =ADMINCONSOLESESSION=9cXpEaa7cV5TXFJnAUGfx5xKzjbhLrdqm9C7hZHST81m0xSXU2zq!-28
    5718339
    Host = wondark:7001
    Keep-Alive = 300
    Referer =http://wondark:7001/console/actions/mbean/EditMBeanAction?reloadNav=false&ta
    b=targets&MBean=mydomain%3AName%3Dmysql-pool%2CType%3DJDBCConnectionPool
    User-Agent = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a+)Gecko/20020625
    >
    BrowserInfo
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;rv:1.1a+) Gecko/20020625
    IE: false
    Netscape: true
    Supported: true
    JavscriptHrefs: true
    TableCellClick: false
    DocumentReloadedOnResize: true
    DropdownStretchable: false
    CellSpacingBlank: true
    EmptyCellBlank: true
    ImgOnclickSupported: false
    TableBorderFancy: false
    PartialToWideTables: true
    DisabledControlSupported: false
    Errors occurred while processing your request.
    ===================================================================
    David M. Karr ; Java/J2EE/XML/Unix/C++
    [email protected]

  • Problems configuring HP Laserjet M1213nf MFP with Mac via AirPrint

    Hello,
    I have a HP Laserjet M1213nf MFP printer, connected to a Dlink DSL-2730U ADSL router. I am having problems configuring the printer with my Macbook running OSX Yosemite. I can see the printers name in nearby printers but when I try to add the printer, the mac gives me an error saying, "unable to communicate with the printer at this time". The network settings on the printer are configure for iPv4 and iPv6 addresses. 
    Previously, I had the ADSL DSL-2750U model router, and the printer was connected fine. I did not face any issues then. I have been facing problems since I changed my router so the problem should be in the router. I have the IP for the printer reserved in the DHCP reservation list on the router settings using the mac address of the printer.
    Can someone please help me out here? Is there something I am probably missing.
    Rgds
    ~n~

    I talked to the DLink Support. They asked me to disable an option called "MultiAP Isolation" and Voila, the printer is working fine. I can add it to all my devices on the wireless network. I looked up google. Apparently, this isolation feature present in some routers, prevent wifi clients to interact with other devices connected to the wired network and also with each other. Thats why only my desktop which was also connected wired was only able to access the printer and not the laptops connected wirelessly. 
    Problem solved. Thanks for all your help on this one.
    Cheers!

  • Problems with MySQL in JSC 2

    i have problem with MySQL i have a driver i added it in to servers list and i made tests with data source everythink is ok, i see tables but when i drop a table from data source on table componenet(or other) i have errors nullPointerExpection at: (here is very long list of java classes. when i click "view data" of table in data source everythink works, only in components it doesn't. Can sombody help me please. I hope you understood my problem if not i will try to explain it once again.

    i get his Exception:
    A java.lang.NullPointerException exception has occurred.
    Please report this at http://www.netbeans.org/issues.html,
    including a copy of your messages.log file as an attachment.
    The messages.log file is located in your C:\Documents and Settings\Leszczy&#324;ski\.Creator\2_0\var\log folder.
    here are details:
    java.lang.NullPointerException
         at com.mysql.jdbc.PreparedStatement.asSql(PreparedStatement.java:565)
         at com.mysql.jdbc.PreparedStatement.asSql(PreparedStatement.java:507)
         at com.mysql.jdbc.PreparedStatement.toString(PreparedStatement.java:3290)
         at java.lang.String.valueOf(String.java:2577)
         at java.lang.StringBuffer.append(StringBuffer.java:220)
         at com.mysql.jdbc.trace.Tracer.printParameters(Tracer.aj:240)
         at com.mysql.jdbc.trace.Tracer.printEntering(Tracer.aj:167)
         at com.mysql.jdbc.trace.Tracer.entry(Tracer.aj:126)
         at com.mysql.jdbc.trace.Tracer.ajc$before$com_mysql_jdbc_trace_Tracer$1$f51c62b8(Tracer.aj:45)
         at com.mysql.jdbc.Connection.registerStatement(Connection.java)
         at com.mysql.jdbc.Statement.<init>(Statement.java:190)
         at com.mysql.jdbc.PreparedStatement.<init>(PreparedStatement.java:432)
         at com.mysql.jdbc.ServerPreparedStatement.asSql(ServerPreparedStatement.java:343)
         at com.mysql.jdbc.PreparedStatement.asSql(PreparedStatement.java:507)
         at com.mysql.jdbc.ServerPreparedStatement.toString(ServerPreparedStatement.java:2306)
         at java.lang.String.valueOf(String.java:2577)
         at java.lang.StringBuffer.append(StringBuffer.java:220)
         at com.mysql.jdbc.trace.Tracer.printParameters(Tracer.aj:240)
         at com.mysql.jdbc.trace.Tracer.printEntering(Tracer.aj:167)
         at com.mysql.jdbc.trace.Tracer.entry(Tracer.aj:126)
         at com.mysql.jdbc.trace.Tracer.ajc$before$com_mysql_jdbc_trace_Tracer$1$f51c62b8(Tracer.aj:45)
         at com.mysql.jdbc.Connection.registerStatement(Connection.java)
         at com.mysql.jdbc.Statement.<init>(Statement.java:190)
         at com.mysql.jdbc.PreparedStatement.<init>(PreparedStatement.java:414)
         at com.mysql.jdbc.ServerPreparedStatement.<init>(ServerPreparedStatement.java:280)
         at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4288)
         at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4226)
         at com.sun.rave.sql.DesignTimeConnection.prepareStatement(DesignTimeConnection.java:187)
         at com.sun.sql.rowset.CachedRowSetXImpl.getMetaData(CachedRowSetXImpl.java:2334)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getMetaData(CachedRowSetDataProvider.java:1317)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeys(CachedRowSetDataProvider.java:489)
         at com.sun.rave.web.ui.component.table.TableRowGroupDesignState.resetTableColumns(TableRowGroupDesignState.java:261)
         at com.sun.rave.web.ui.component.table.TableRowGroupDesignState.setDataProviderBean(TableRowGroupDesignState.java:163)
         at com.sun.rave.web.ui.component.table.TableDesignState.setDataProviderBean(TableDesignState.java:250)
         at com.sun.rave.web.ui.component.TableDesignInfo.linkBeans(TableDesignInfo.java:162)
         at com.sun.rave.insync.models.FacesModel.linkBeans(FacesModel.java:1042)
         at com.sun.rave.designer.DndHandler.processLinks(DndHandler.java:2126)
         at com.sun.rave.designer.DndHandler.importBean(DndHandler.java:880)
         at com.sun.rave.designer.DndHandler.importItem(DndHandler.java:702)
         at com.sun.rave.designer.DndHandler.importDataDelayed(DndHandler.java:376)
         at com.sun.rave.designer.DndHandler.access$000(DndHandler.java:114)
    [catch] at com.sun.rave.designer.DndHandler$1.run(DndHandler.java:298)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    yes i use JSC 2
    Is it posible that my MySQL is not working properly??
    Micz.

  • Problems configuring Platform Domain with MS Sql Server

    Hi,
    We are having problems configuring a Platform Domain with MS Sql Server 2000.
    We are using Weblogic version 7.0.0.2. These are the steps we followed
    1.We manually created a database called TestDB and created a user account called
    "system", pwd ==>> "weblogic" in SQL server and assigned him as the DB owner for
    the TestDB created.
    2. Changed dbsettings_properties files (Commented pointbase entries and uncommented
    SQL Server entries. I gave the connection parameter as connection=jdbc:weblogic:mssqlserver4:localhost:1433
    in this file.
    3. Modified Config.xml and changed properties for DataSyncPool, WLIPool, CommercePool,WLIPool
    and modified the RDBMS realm properties to point to the database.
    4. ran the create_db script and it seemed to have run fine looking at the log
    file.
    5. I then tried to start the BEA Server instance and I get the following error.
    I am also attaching the config.xml file for reference.
    Appreciate any help/suggestions. Thanks in Advance.
    Vikram
    <Apr 9, 2003 2:57:45 AM EDT> <Error> <RDBMSRealm> <000000> <An error occured cre
    ating a database connection for the realm.
    java.sql.SQLException: Invalid port: weblogic:mssqlserver4:localhost:1433
    at weblogic.jdbc.mssqlserver4.ConnectionInfo.<init>(ConnectionInfo.java:
    193)
    at weblogic.jdbc.mssqlserver4.ConnectDriver.parse(ConnectDriver.java:333
    at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:1
    02)
    at com.bea.p13n.security.realm.RDBMSDelegate.<init>(RDBMSDelegate.java:1
    69)
    at com.bea.p13n.security.realm.RDBMSDelegate$DFactory.getInstance(RDBMSD
    elegate.java:962)
    at com.bea.p13n.security.realm.internal.Pool.<init>(Pool.java:53)
    at com.bea.p13n.security.realm.RDBMSRealm.createPool(RDBMSRealm.java:153
    at com.bea.p13n.security.realm.RDBMSRealm.<init>(RDBMSRealm.java:140)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:232)
    at weblogic.security.acl.Realm.getRealm(Realm.java:87)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    <Apr 9, 2003 2:57:45 AM EDT> <Emergency> <WebLogicServer> <000342> <Unable to
    in
    itialize the server: Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    [config.xml]

    Try removing the server section from the SchemaProperties line.
    Preferrably do not use localhost or hostnames in the server
    configuration file.
    <RDBMSRealm
    Name="wlcsRealm"
    DatabaseDriver="weblogic.jdbc.mssqlserver4.Driver"
    DatabasePassword="weblogic"
    DatabaseURL="jdbc:weblogic:mssqlserver4:yourIPAddress:1433"
    RealmClassName="com.bea.p13n.security.realm.RDBMSRealm"
    SchemaProperties="user=system;password=weblogic"/>
    Also consider ...
    If you have a new Portal database created in SQL Server?
    Does the user system have the Portal database as his default database?
    -- Jim
    Vikram wrote:
    Hi,
    We are having problems configuring a Platform Domain with MS Sql Server 2000.
    We are using Weblogic version 7.0.0.2. These are the steps we followed
    1.We manually created a database called TestDB and created a user account called
    "system", pwd ==>> "weblogic" in SQL server and assigned him as the DB owner for
    the TestDB created.
    2. Changed dbsettings_properties files (Commented pointbase entries and uncommented
    SQL Server entries. I gave the connection parameter as connection=jdbc:weblogic:mssqlserver4:localhost:1433
    in this file.
    3. Modified Config.xml and changed properties for DataSyncPool, WLIPool, CommercePool,WLIPool
    and modified the RDBMS realm properties to point to the database.
    4. ran the create_db script and it seemed to have run fine looking at the log
    file.
    5. I then tried to start the BEA Server instance and I get the following error.
    I am also attaching the config.xml file for reference.
    Appreciate any help/suggestions. Thanks in Advance.
    Vikram
    <Apr 9, 2003 2:57:45 AM EDT> <Error> <RDBMSRealm> <000000> <An error occured cre
    ating a database connection for the realm.
    java.sql.SQLException: Invalid port: weblogic:mssqlserver4:localhost:1433
    at weblogic.jdbc.mssqlserver4.ConnectionInfo.<init>(ConnectionInfo.java:
    193)
    at weblogic.jdbc.mssqlserver4.ConnectDriver.parse(ConnectDriver.java:333
    at weblogic.jdbc.mssqlserver4.ConnectDriver.connect(ConnectDriver.java:1
    02)
    at com.bea.p13n.security.realm.RDBMSDelegate.<init>(RDBMSDelegate.java:1
    69)
    at com.bea.p13n.security.realm.RDBMSDelegate$DFactory.getInstance(RDBMSD
    elegate.java:962)
    at com.bea.p13n.security.realm.internal.Pool.<init>(Pool.java:53)
    at com.bea.p13n.security.realm.RDBMSRealm.createPool(RDBMSRealm.java:153
    at com.bea.p13n.security.realm.RDBMSRealm.<init>(RDBMSRealm.java:140)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:232)
    at weblogic.security.acl.Realm.getRealm(Realm.java:87)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    <Apr 9, 2003 2:57:45 AM EDT> <Emergency> <WebLogicServer> <000342> <Unable to
    in
    itialize the server: Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.R
    DBMSException: An error occured creating a database connection for the realm.]
    java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSExcepti
    on: An error occured creating a database connection for the realm.]
    at weblogic.security.acl.Realm.getRealm(Realm.java:94)
    at weblogic.security.acl.Realm.getRealm(Realm.java:65)
    at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
    a:353)
    at weblogic.security.providers.realmadapter.AuthorizationProviderImpl.in
    itialize(AuthorizationProviderImpl.java:72)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvid
    er(SecurityServiceManager.java:1875)
    at weblogic.security.service.AuthorizationManager.initialize(Authorizati
    onManager.java:206)
    at weblogic.security.service.AuthorizationManager.<init>(AuthorizationMa
    nager.java:127)
    at weblogic.security.service.SecurityServiceManager.doATZ(SecurityServic
    eManager.java:1613)
    at weblogic.security.service.SecurityServiceManager.initializeRealm(Secu
    rityServiceManager.java:1426)
    at weblogic.security.service.SecurityServiceManager.loadRealm(SecuritySe
    rviceManager.java:1365)
    at weblogic.security.service.SecurityServiceManager.initializeRealms(Sec
    urityServiceManager.java:1487)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
    erviceManager.java:1207)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    <Domain Name="epmsDomain">
    <Log
    FileName="logs/wl-domain.log"
    Name="epmsDomain"
    />
    <!-- Configuration Wizard Cluster and Admin/Managed Node support -->
    <Server
    Name="platformServer"
         ListenAddress="localhost"
    ListenPort="7501"
    NativeIOEnabled="true"
    TransactionLogFilePrefix="logs/"
    >
    <SSL
    Name="platformServer"
    ListenPort="7502"
    Enabled="true"
    ServerCertificateChainFileName="ca.pem"
    ServerCertificateFileName="democert.pem"
    ServerKeyFileName="demokey.pem"
    />
    <Log
    FileName="logs/weblogic.log"
    />
    <WebServer
    DefaultWebApp="splashPage"
    LogFileName="./logs/access.log"
    LoggingEnabled="true"
    Name="platformServer"
    />
    </Server>
    <!-- WLP Pool -->
    <JDBCConnectionPool
    Name="commercePool"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    URL="jdbc:weblogic:mssqlserver4:localhost:1433"
    Properties="user=system;password=weblogic;server=jdbc:weblogic:mssqlserver4:localhost:1433"
    Password="weblogic"
    InitialCapacity="20"
    MaxCapacity="20"
    CapacityIncrement="1"
    RefreshMinutes="0"
    ShrinkingEnabled="false"
    Targets="platformServer"
    TestConnectionsOnReserve="false"
    TestTableName="WEBLOGIC_IS_ALIVE"
    />
    <!-- WLI Pool -->
    <JDBCConnectionPool
    CapacityIncrement="2"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    InitialCapacity="8"
    LoginDelaySeconds="1"
    MaxCapacity="36"
    Name="wliPool"
    Properties="user=system;password=weblogic;server=jdbc:weblogic:mssqlserver4:localhost:1433"
    Password="weblogic"
    RefreshMinutes="0"
    ShrinkPeriodMinutes="15"
    ShrinkingEnabled="true"
    Targets="platformServer"
    URL="jdbc:weblogic:mssqlserver4:localhost:1433"
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="false"
    JNDIName="weblogic.jdbc.jts.commercePool"
    Name="commercePool"
    PoolName="commercePool"
    Targets="platformServer"
    />
    <JDBCDataSource
    JNDIName="weblogic.jdbc.pool.commercePool"
    Name="commercePool"
    PoolName="commercePool"
    Targets="platformServer"
    />
    <JDBCDataSource
    JNDIName="WLAI_DataSource"
    Name="WLAI_DataSource"
    PoolName="wliPool"
    Targets="platformServer"
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="true"
    JNDIName="com.bea.wlpi.TXDataSource"
    Name="TXDataSource"
    PoolName="wliPool"
    Targets="platformServer"
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="true"
    JNDIName="WLCHub.DS"
    Name="WLCHub.DS"
    PoolName="wliPool"
    Targets="platformServer"/>
    />
    <!-- Configure WebLogic Workshop to run in Platform domain -->
    <JDBCTxDataSource
         EnableTwoPhaseCommit="true"
    JNDIName="cgDataSource"
    Name="cgDataSource"
    PoolName="commercePool"
    Targets="platformServer"/>
    <JDBCTxDataSource
    EnableTwoPhaseCommit="true"
    JNDIName="cgSampleDataSource"
    Name="cgSampleDataSource"
    PoolName="commercePool"
    Targets="platformServer"/>
    <JMSConnectionFactory JNDIName="weblogic.jws.jms.QueueConnectionFactory"
    Name="cgQueue" Targets="platformServer"/>
    <JMSJDBCStore ConnectionPool="commercePool" Name="cgJDBCStore" PrefixName="WEBLOGIC"/>
    <JMSServer Name="cgJMSServer" Store="cgJDBCStore" Targets="platformServer">
    <JMSQueue JNDIName="jws.queue" Name="cgJWSQueue" StoreEnabled="default"/>
    </JMSServer>
    <JTA Name="epmsDomain" TimeoutSeconds="3600"/>
    <!-- End: Configure WebLogic Workshop to run in Platform domain -->
    <!-- WLP DATASYNC -->
    <JDBCConnectionPool
    Name="dataSyncPool"
    DriverName="weblogic.jdbc.mssqlserver4.Driver"
    URL="jdbc:weblogic:mssqlserver4:localhost:1433"
    Properties="user=system;password=weblogic;server=jdbc:weblogic:mssqlserver4:localhost:1433"
    Password="WEBLOGIC"
    InitialCapacity="1"
    MaxCapacity="5"
    CapacityIncrement="1"
    RefreshMinutes="0"
    ShrinkingEnabled="false"
    TestConnectionsOnReserve="false"
    TestTableName="WEBLOGIC_IS_ALIVE"
    Targets="platformServer"/>
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="false"
    JNDIName="weblogic.jdbc.jts.dataSyncPool"
    Name="dataSyncPool"
    PoolName="dataSyncPool"
    Targets="platformServer"/>
    />
    <!-- General Config -->
    <Security
    GuestDisabled="false"
    Name="epmsDomain"
    PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm"
    CompatibilityMode="true"
    />
    <PasswordPolicy
    Name="wl_default_password_policy"
    />
    <Realm
    Name="wl_default_realm"
    CachingRealm="wlcsCachingRealm"
    FileRealm="wl_default_file_realm"
    />
    <CachingRealm
    BasicRealm="wlcsRealm"
    CacheCaseSensitive="true"
    Name="wlcsCachingRealm"
    />
    <RDBMSRealm DatabaseDriver="weblogic.jdbc.mssqlserver4.Driver"
    DatabasePassword="weblogic"
    DatabaseURL="jdbc:weblogic:mssqlserver4:localhost:1433"
    SchemaProperties="user=system;password=weblogic;server=jdbc:weblogic:mssqlserver4:localhost:1433"
    Name="wlcsRealm"
    RealmClassName="com.bea.p13n.security.realm.RDBMSRealm"/>
    <FileRealm
    Name="wl_default_file_realm"
    />
    <StartupClass
    ClassName="com.beasys.commerce.ebusiness.security.KeyBootstrap"
    FailureIsFatal="false"
    Name="KeyBootstrap"
    Targets="platformServer"
    />
    <!-- WLI configuraion for Platform -->
    <JMSConnectionFactory Name="WLI_B2B_TopicFactory"
    JNDIName="com.bea.wli.b2b.server.TopicConnectionFactory"
    AllowCloseInOnMessage="true"
    UserTransactionsEnabled="true"
    Targets="platformServer"
    />
    <JMSConnectionFactory
    AllowCloseInOnMessage="true"
    JNDIName="com.bea.wli.b2b.rosettanet.QueueConnectionFactory"
    Name="RNQueueFactory"
    Targets="platformServer"
    UserTransactionsEnabled="true"
    />
    <JMSConnectionFactory
    AllowCloseInOnMessage="false"
    DefaultDeliveryMode="Persistent"
    DefaultPriority="4"
    DefaultTimeToLive="0"
    JNDIName="com.bea.wlai.JMSConnectionFactory"
    MessagesMaximum="10"
    Name="WLAI_JMSConnectionFactory"
    OverrunPolicy="KeepOld"
    UserTransactionsEnabled="true"
    Targets="platformServer"/>
    />
    <JMSConnectionFactory
    AllowCloseInOnMessage="true"
    JNDIName="com.bea.wlpi.TopicConnectionFactory"
    Name="wlpiFactory"
    Targets="platformServer"
    UserTransactionsEnabled="true"
    />
    <JMSConnectionFactory
    AllowCloseInOnMessage="true"
    JNDIName="com.bea.wlpi.QueueConnectionFactory"
    Name="wlpiQueueFactory"
    Targets="platformServer"
    UserTransactionsEnabled="true"
    />
    <JMSJDBCStore
    ConnectionPool="wliPool"
    Name="JMSWLIStore"
    PrefixName="PBPUBLIC"
    />
    <JMSServer Name="WLIJMSServer"
    Targets="platformServer"
    TemporaryTemplate="TemporaryTemplate"
    Store="JMSWLIStore">
    <JMSTemplate Name="TemporaryTemplate"/>
    <!-- B2B -->
    <JMSQueue Name="WLI_B2B_RNEncoderQueue"
    JNDIName="com.bea.wli.b2b.rosettanet.EncoderQueue"/>
    <JMSTopic Name="WLI_B2B_Topic"
    JNDIName="com.bea.wli.b2b.server.B2BTopic"/>
    <JMSQueue Name="WLI_B2B_OutboundQueue"
    JNDIName="com.bea.b2b.OutboundQueue"/>
    <!-- BPM -->
    <JMSTopic Name="wlpiEvent"
    JNDIName="com.bea.wlpi.EventTopic"/>
    <JMSQueue Name="WLI_BPM_Timer"
    JNDIName="com.bea.wli.bpm.TimerQueue"
    StoreEnabled="true"
    Template="WLI_JMSTemplate"/>
    <JMSQueue Name="WLI_BPM_Event"
    JNDIName="com.bea.wli.bpm.EventQueue"
    StoreEnabled="true"
    Template="WLI_JMSTemplate"/>
    <JMSQueue Name="WLI_BPM_ValidatingEvent"
    JNDIName="com.bea.wli.bpm.ValidatingEventQueue"
    StoreEnabled="true"
    Template="WLI_JMSTemplate"/>
    <JMSTopic Name="WLI_BPM_Error"
    JNDIName="com.bea.wli.bpm.ErrorTopic"/>
    <JMSTopic Name="WLI_BPM_Audit"
    JNDIName="com.bea.wli.bpm.AuditTopic"/>
    <JMSTopic Name="WLI_BPM_Notify"
    JNDIName="com.bea.wli.bpm.NotifyTopic"/>
    <!-- AI -->
    <JMSQueue Name="WLAI_ASYNC_REQUEST_QUEUE"
    JNDIName="com.bea.wlai.ASYNC_REQUEST_QUEUE"/>
    <JMSQueue Name="WLAI_ASYNC_RESPONSE_QUEUE"
    JNDIName="com.bea.wlai.ASYNC_RESPONSE_QUEUE"/>
    <JMSQueue Name="WLAI_EVENT_QUEUE"
    JNDIName="com.bea.wlai.EVENT_QUEUE"/>
    <JMSTopic Name="WLAI_EVENT_TOPIC"
    JNDIName="com.bea.wlai.EVENT_TOPIC"/>
         <!-- App View control -->
         <JMSQueue JNDIName="com.bea.wlai.WORKSHOP_ASYNC_RESPONSE_QUEUE" Name="WLAI_WORKSHOP_ASYNC_RESPONSE_QUEUE"/>
         <JMSQueue JNDIName="com.bea.wlai.WORKSHOP_EVENT_QUEUE" Name="WLAI_WORKSHOP_EVENT_QUEUE"/>
    <!-- WLI -->
    <JMSQueue Name="WLI_FailedEvent"
    JNDIName="com.bea.wli.FailedEventQueue"
    StoreEnabled="true"/>
    <JMSTemplate Name="WLI_JMSTemplate"
    ErrorDestination="WLI_FailedEvent"
    RedeliveryDelayOverride="60000"
    RedeliveryLimit="10"/>
    </JMSServer>
    <JMSJDBCStore Name="JMSWLIStore"
    ConnectionPool="wliPool"
    PrefixName="platformServer"/>
    <!-- Distributed queue/topic configuration for WLI components -->
    <!-- End WLI configuraion for Platform -->
    <!--===========================================================================-->
    <!-- Configure the J2EE enterprise applications supporting the Platform -->
    <!--===========================================================================-->
    <!-- The enterprise application containing the WLS-based Tax and Payment WebService -->
    <Application
    Deployed="true"
    Name="taxWSApp"
    Path="C:/bea/user_projects/epmsDomain/beaApps/taxWSApp"
    TwoPhase="true"
    >
    <EJBComponent
    Name="tax"
    URI="tax.jar"
    Targets="platformServer"
    />
    <WebAppComponent
    Name="tax-webservice"
    URI="tax-ws"
    Targets="platformServer"
    />
    </Application>
    <Application
    Deployed="true"
    Name="paymentWSApp"
    Path="C:/bea/user_projects/epmsDomain/beaApps/paymentWSApp"
    TwoPhase="true"
    >
    <EJBComponent
    Name="payment"
    URI="payment.jar"
    Targets="platformServer"
    />
    <WebAppComponent
    Name="payment-edit webservice"
    URI="pay-ws"
    Targets="platformServer"
    />
    </Application>
    <!-- The enterprise application containing the installed/online links documentation -->
    <Application
    Deployed="true"
    Name="wlpDocsApp"
    Notes=""
    Path="C:/bea/weblogic700/portal/lib"
    TwoPhase="true"
    >
    <WebAppComponent
    IndexDirectoryEnabled="false"
    Name="wlpDocs"
    Targets="platformServer"
    URI="wlpDocs.war"
    ServletReloadCheckSecs="300"
    />
    </Application>
    <!-- The enterprise application containing the WLP components -->
    <Application
    Deployed="true"
    Name="portalApp"
    Notes=""
    Path="C:/bea/user_projects/epmsDomain/beaApps/portalApp"
    TwoPhase="true"
    >
    <ApplicationConfiguration
    Name="portalApp"
    Targets="platformServer"
    URI="META-INF/application-config.xml"
    />
    <EJBComponent
    Name="events"
    Targets="platformServer"
    URI="events.jar"
    />
    <EJBComponent
    Name="pipeline"
    Targets="platformServer"
    URI="pipeline.jar"
    />
    <EJBComponent
    Name="property"
    Targets="platformServer"
    URI="property.jar"
    />
    <EJBComponent
    Name="rules"
    Targets="platformServer"
    URI="rules.jar"
    />
    <EJBComponent
    Name="usermgmt"
    Targets="platformServer"
    URI="usermgmt.jar"
    />
    <EJBComponent
    Name="customer"
    Targets="platformServer"
    URI="customer.jar"
    />
    <EJBComponent
    Name="ebusiness"
    Targets="platformServer"
    URI="ebusiness.jar"
    />
    <EJBComponent
    Name="portal"
    Targets="platformServer"
    URI="portal.jar"
    />
    <EJBComponent
    Name="campaign"
    Targets="platformServer"
    URI="campaign.jar"
    />
    <EJBComponent
    Name="catalogws"
    Targets="platformServer"
    URI="catalogws.jar"
    />
    <EJBComponent
    Name="document"
    Targets="platformServer"
    URI="document.jar"
    />
    <EJBComponent
    Name="ejbadvisor"
    Targets="platformServer"
    URI="ejbadvisor.jar"
    />
    <EJBComponent
    Name="mail"
    Targets="platformServer"
    URI="mail.jar"
    />
    <EJBComponent
    Name="placeholder"
    Targets="platformServer"
    URI="placeholder.jar"
    />
    <WebAppComponent
    Name="toolSupport"
    Targets="platformServer"
    URI="toolSupport"
    ServletReloadCheckSecs="300"
    />
    <WebAppComponent
    Name="tools"
    Targets="platformServer"
    URI="tools"
    ServletReloadCheckSecs="300"
    />
    <WebAppComponent
    Name="datasync"
    Targets="platformServer"
    URI="datasync"
    ServletReloadCheckSecs="300"
    />
    <WebAppComponent
    Name="splashPage"
    Targets="platformServer"
    URI="splashPage"
    ServletReloadCheckSecs="300"
    />
    <!-- The enterprise application containing the WLP P13N Console components -->
    </Application>
    <Application
    Deployed="true"
    TwoPhase="true"
    StagedTargets="platformServer"
    Name="p13nConsoleApp"
    Path="C:/bea/weblogic700/portal/lib"
    >
    <WebAppComponent
    Name="p13nConsole"
    ServletReloadCheckSecs="300"
    Targets="platformServer"
    URI="p13nConsole.war"
    />
    </Application>
    <!-- The enterprise application containing the WLI components -->
    <Application Deployed="true" LoadOrder="900" Name="EAI" Path="C:/bea/weblogic700/samples/workshop/wlai/ear/" TwoPhase="true">
    <EJBComponent
    DeploymentOrder="100"
    Name="repository-ejb.jar"
         Targets="platformServer"
    URI="repository-ejb.jar"/>
    <EJBComponent Name="WLI-B2B Startup"
    DeploymentOrder="200"
    Targets="platformServer"
    URI="b2b-startup.jar"/>
    <EJBComponent DeploymentOrder="300" Name="b2b-rosettanet.jar" Targets="platformServer" URI="b2b-rosettanet.jar"/>
    <WebAppComponent DeploymentOrder="400" Name="b2b.war" Targets="platformServer" URI="b2b.war"/>
    <WebAppComponent DeploymentOrder="500" Name="b2bconsole.war" Targets="platformServer" URI="b2bconsole.war"/>
    <EJBComponent DeploymentOrder="600" Name="WLI-AI Server" Targets="platformServer" URI="wlai-server-ejb.jar"/>
    <WebAppComponent DeploymentOrder="700" Name="wlai" Targets="platformServer" URI="wlai.war"/>
    <EJBComponent DeploymentOrder="800" Name="WLI-AI Async Processor" Targets="platformServer" URI="wlai-asyncprocessor-ejb.jar"/>
    <EJBComponent DeploymentOrder="900" Name="WLI-AI Event Processor" Targets="platformServer" URI="wlai-eventprocessor-ejb.jar"/>
    <EJBComponent DeploymentOrder="1000" Name="wlpi-ejb.jar" Targets="platformServer" URI="wlpi-ejb.jar"/>
    <EJBComponent DeploymentOrder="1100" Name="wlpi-master-ejb.jar" Targets="platformServer" URI="wlpi-master-ejb.jar"/>
    <EJBComponent DeploymentOrder="1200" Name="wlpi-mdb-ejb.jar" Targets="platformServer" URI="wlpi-mdb-ejb.jar"/>
    <EJBComponent DeploymentOrder="1300" Name="WLXTEJB.jar" Targets="platformServer" URI="WLXTEJB.jar"/>

  • Handshaking Problem ( JSP & MySql )

    Dear All
    I am facing the foolowing problem with mysql and servlet:
    exception
    javax.servlet.ServletException: Communication failure during handshake. Is there a server running on localhost:3306?
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.jobcard16_jsp._jspService(org.apache.jsp.jobcard16_jsp:1599)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
         com.mysql.jdbc.MysqlIO.init(MysqlIO.java:619)
         com.mysql.jdbc.Connection.createNewIO(Connection.java:1605)
         com.mysql.jdbc.Connection.connectionInit(Connection.java:1056)
         com.mysql.jdbc.Driver.connect(Driver.java:297)
         java.sql.DriverManager.getConnection(Unknown Source)
         java.sql.DriverManager.getConnection(Unknown Source)
         org.apache.jsp.jobcard16_jsp._jspService(org.apache.jsp.jobcard16_jsp:88)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    nikhil_p_chavan wrote:
    Yes, there is MySql running on 3306.The exception says it is not. This can have the following (logical) causes:
    1) MySQL is actually not running on 3306.
    2) MySQL does not allow connections.
    3) Some firewall software is blocking MySQL.
    4) Some firewall software is blocking port 3306.
    And in the future please don't mark the topic as answered while your actual problem is not solved. I was under the impression that it was answered right after my first reply and when you confirmed that there was no MySQL server at post 3306.

  • Workspace 'configure interface datasource' error

    Hi All
    I have just installed Hyperion 11.1.2.2 on a linux 32 bit machine. The installation and configuration finished succesfully.
    When I logged in to console http://ip:9000/workspace and click on "configure interface datasource"
    i get error message.
    ; nested exception is:
    HTTP transport error: java.net.MalformedURLException: no protocol: Sessions.asmx
    Code: java.rmi.RemoteException
    Description: An error occurred processing the result from the server.
    Actor: none
    Any Help

    Thanks John. Yes, I have configured the embbeded Http server. I am accessing the url from the linux system directly.
    Do you mean the below by wondows component?
    11.1.2.2.0 Client Installers for Microsoft Windows     V32789-01
    I have not configured this on linux.
    Thanks!

Maybe you are looking for

  • Can I use a 5v 1000mA charger with the 700?

    I have a usb car charger that outputs 5v and 1000mA.  I think it came with an older Nokia but I am not sure.  Is it safe to use this with my 700?

  • Pdf file extension with Interenet explorer

    Hello everybody i am new to this group, I have a button on my screen written in jsp. on clicking it i should generate pdf file on the fly and send it to the front end.I am abe to create the pdf file and send to the front end by setting the response m

  • How do I empty "cache"?

    How do I empty "cache"?

  • SYS packages are invalid in oracle 10g (10.2.0.4)

    I am using Oracle 10g (10.2.0.4) in AIX 6.1 server . According to OEM advice I remove the 'utl_file' privelege from PUBLIC user . In that moment I get some packages of the 'SYS' schema invalid . I again give the grant permission of the 'UTL_FILE' to

  • Mail notification settings

    Recently, when i connect my iPhone to my computer, the mail settings change from fetch to push on the phone. It only changes for my main .me email and none of the email accounts, one of which is also a .me. I even changed my mail preference on the iM