Cannot connect to MySQL database

Hi
I'm new to flex builder 3... and have therefore looked at
lynda.com to learn about the product and get started fast. And here
they show you how to create a connection to a MySQL database using
MAMP on a mac (or WAMP on the PC) - I'm on the mac ;-).
I have installed the MAMP server with both MySQL, Apache and
PHP running on defalt ports. And I have created a simple database
in MySQL... The site is running fine and so is the MySQL (I have
tested with simple HTML etc)... but when I try to connect to the
database using the wizard in Flex, I get the following message:
Unable to connect to the database....
If I look at the details it say (hold on):
com.mysql.jdbc.CommunicationsException: Communications link
failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.NoRouteToHostException: No route to host
STACKTRACE:
java.net.SocketException: java.net.NoRouteToHostException: No
route to host
at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
at
com.mysql.jdbc.Connection.createNewIO(Connection.java:2555)
at
com.mysql.jdbc.Connection.<init>(Connection.java:1485)
at
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at
org.eclipse.datatools.connectivity.db.generic.JDBCConnection.createConnection(JDBCConnect ion.java:87)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverCo nnectionBase.java:104)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53 )
at
org.eclipse.datatools.connectivity.db.generic.JDBCConnectionFactory.createConnection(JDBC ConnectionFactory.java:52)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Co nnectionFactoryProvider.java:77)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Connection Profile.java:354)
at
com.adobe.datatools.derived.wizards.BaseConnectionProfilePage.testConnectionSimple(BaseCo nnectionProfilePage.java:70)
at
com.adobe.datatools.derived.wizards.BaseConnectionProfilePage.testConnection(BaseConnecti onProfilePage.java:51)
at
org.eclipse.datatools.connectivity.ui.wizards.ConnectionProfileDetailsPage$1.widgetSelect ed(ConnectionProfileDetailsPage.java:85)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2954)
at
org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
com.adobe.flexbuilder.dbwizard.ui.DbWizard$8.widgetSelected(DbWizard.java:598)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2954)
at
org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
com.adobe.flexbuilder.dbwizard.actions.DBWizardAction.run(DBWizardAction.java:69)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :402)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2954)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at
org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :112)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
** END NESTED EXCEPTION **
.... and more ...
What the h.. does that mean - Plz advice someoone ... I'm
really stock here ;-(
Kind regards
Brian

Thanks for the answer, but I must be doing something very
wrong - as I still havn't found the correct solution ;-(
I have as mentioned tried both the default MySQL port (3306)
and the one used by MAMP (8889) but without any luck.
I do restart the MySQL server each time - and MAMP even does
that by default when changing the port number.
If I open myphpadmin the DB is running and as told I can
connect to it using Dreamwaever...
But If I run the command "telnet localhost 8889" you told my
to, in terminal I get the following message:
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
So here it looks as if I can't connect ??? The same happens
if I try the default port 3306.
Everytime I test in the wizard I get the message:
com.mysql.jdbc.CommunicationsException: Communications link
failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: java.net.NoRouteToHostException: No route to host
STACKTRACE:
java.net.SocketException: java.net.NoRouteToHostException: No
route to host
at
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:....
etc
And yes it is the Data -> Create Application from Database
wizard that I'm trying to use.
I don't undersatnd why the lynda.com video tell that it is
important to change the MAMP's settings to the default port instead
of using the MAMP ports, when you say it is not like that ? They
even show how to disable the default Apache webserver to use the
MAMP one on port 80.
Hope the terminal message can give someone a hint to the
posible problem.
Thanks in advance

Similar Messages

  • Connection to db rejected.Cannot connect to MySQL server

    here is the excaption
    connectToDb:02 - connection to db rejected.Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.net.BindException)
    and her is the class
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class DBconnect
    {  final static private String _url        = "jdbc:mysql://localhost:3306/diamonds";     //final static private String _driver     = "sun.jdbc.odbc.JdbcOdbcDriver";
        //final static private String _url        = "jdbc:odbc:diamonds";     //final static private String _driver     = "sun.jdbc.odbc.JdbcOdbcDriver";
        public Connection     _con                     = null;
         //private static Driver          driver          = null;
         private static Properties     properties     = null;
         Statement stmt                                 = null;
         public PrintStream     out;
            **connectToDb **
            public void connectToDb()        throws IOException
            //connect to the server and open the database
             try{
                   Class.forName("org.gjt.mm.mysql.Driver");
                   //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   //driver = (Driver)Class.forName (_driver).newInstance();
                   properties = new Properties();
                properties.put("user","sa");
                   properties.put("password","");
            catch (ClassNotFoundException e)
                   System.out.println("class not found:");
                   e.printStackTrace();
              catch (Exception e) {
                        e.printStackTrace();
                 throw new IOException("connectToDb:01- JDBC driver not found."+e.getMessage());
         synchronized void open()throws Exception
              try
                   if(_con == null)
                        try
                             _con = DriverManager.getConnection(_url,properties);
                             //_con = driver.connect(_url,properties);
                        catch (SQLException e)
                             e.printStackTrace();
                             System.out.println("connectToDb:02 - connection to db rejected."+e.getMessage());
                        stmt = _con.createStatement();
              catch (Exception e)
                   e.printStackTrace();
                   System.out.println("connectToDb:02 - connection to db rejected."+e.getMessage());
         synchronized void close()
              try
                   if(_con != null)
                        if(!_con.isClosed())
                             stmt.close();
                             _con.close();
                             _con = null;
              catch (Exception e)
                   System.out.println("es:fail to close connection!!");
    }the problem occars when there are a lot of queries that the project is sending to the DB (about 10000) the last half queries fails and send an excaption .
    after 2 minutes the system seems like working fine.
    I am stack with this problem about a year and cann't resolve it.
    any idea????
    regards
    amnon m

    well...new it seems to work fine, but is it ok to
    keep connection open for good ???
    isn't there any other alternative ???I am bit confused are you pooling the connections?
    If so, actually the connections will not always stay open.. they will time out after a while when they are not in use but to specifically answer your question.. how could it possible be a bad thing. If the server/your app was getting bogged down with opening and closing connections then pooling solves this..
    Finally as to your question of the alternatives... if the problem was opening and closing connections and reusing them through a pool solved this then I think the answer is no. If you don't like a specific part of the way the pool works it is probably configurable in some way and you could always implement your own pool.. although I wouldn't overly recommend that. The bottom line is that you need to keep your connections open for reuse.. pooling is the simplest way to achieve this.. but no there is no alternative to keeping your connections open if you are having the load problems you described.

  • BIB-16633 Cannot connect because the database version is incompatible with

    BIB-16633 Cannot connect because the database version is incompatible with Feb 15, 2005 9:28 PM
    Reply
    why is this?
    oracle.dss.connection.common.ConnectionException: BIB-16633 Cannot connect because the database version is incompatible with this BI Beans version.
    at oracle.dss.connection.server.drivers.mdm.MDMConnectionDriverImpl.connect(MDMConnectionDriverImpl.java:147)
    at oracle.dss.connection.server.ConnectionImpl.connect(ConnectionImpl.java:285)
    at oracle.dss.connection.client.Connection.connect(Connection.java:425)
    at oracle.dss.connection.client.Connection.connect(Connection.java:342)
    at oracle.dss.addins.designer.OLAPSource.test(OLAPSource.java:284)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel.testConnection(OlapPanel.java:244)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel.btnTest_actionPerformed(OlapPanel.java:378)
    at oracle.dss.addins.wizard.configFileEditor.OlapPanel$3.actionPerformed(OlapPanel.java:120)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog$1.run(Dialog.java:540)
    at java.awt.Dialog.show(Dialog.java:561)
    at java.awt.Component.show(Component.java:1133)
    at java.awt.Component.setVisible(Component.java:1088)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.dss.addins.wizard.configFileEditor.ConfigFileEditorWizard.run(ConfigFileEditorWizard.java:229)
    at oracle.dss.addins.designer.BIDesignerImpl.editConfigFile(BIDesignerImpl.java:1428)
    at oracle.dss.addins.designer.BIDesignerAddin.openBIDesignerSettings(BIDesignerAddin.java:990)
    at oracle.dss.addins.designer.BIDesignerAddin.actionPerformed(BIDesignerAddin.java:807)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
    at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Lisa Sherriff
    Posts: 137
    OTN Member Since: Jan, 2001
    Re: BIB-16633 Cannot connect because the database version is incompatible w ( In Reply To : BIB-16633 Cannot connect because the database version is incompatible with ) Feb 16, 2005 1:32 AM
    Reply
    Hi,
    From the 10.1.2 BI Beans Install Guide it says:
    OracleBI Beans supports data stored in Oracle9i Enterprise Edition or Oracle Database 10g Enterprise Edition. However, only particular releases and patchsets are supported:
    * Oracle9i Release 2 Enterprise Edition, as follows:
    o 9.2.0.6 for all platforms.
    o 9.2.0.5 with the latest OLAP patch for Windows-only.
    * Oracle Database 10g Release 1 Enterprise Edition with the latest OLAP patch.
    From the error message it would appear that the Database is not one of the above.
    Thanks,
    Lisa
    JDev QA
    401488
    Posts: 48
    OTN Member Since: Aug, 2002
    Re: BIB-16633 Cannot connect because the database version is incompatible with ( In Reply To : BIB-16633 Cannot connect because the database version is incompatible with ) Feb 18, 2005 8:01 PM
    Reply
    Hi,
    Please note that we have follwing versions of DB up and running:-
    1)Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    2)Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning and Real Application Clusters options
    JServer Release 9.2.0.5.0 - Production
    Pls let us know the solution to resolve this problem ASAP.
    Thanks.

    You are not using a supported version of the database. BI Beans/OLAP only support the following database versions:
    10g - 10.1.0.3 with additional OLAP patch
    9i - 9205 with additional OLAP patch
    9i - 9206
    I would suggest that you have not applied all the required database patches to your instance.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oraclc Corporation

  • VB6 source code cannot connect to Oracle database after compile to file.exe

    Hi All,
    I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
    Here is sample of my code connection.
    Option Explicit
    Private wsData As New ADODB.Connection
    wsData.ConnectionString = _
    "Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
    wsData.Open
    End sub
    Rgads,
    Ats.

    Hi,
    I believe you're in the wrong forum, this forum is for Oracle Application Express.

  • I can't connect to MySQL database from The JSP Standard Tag Library

    Hi All !
    I have a problem, please help me anybody !
    I don't connect to MySQL database from jsp page using JSTL tag but from servlet all work correctly. I set my path and put �mysql-connector-java-3.1.13-bin.jar� in ENVIRONMENT WinXP(classpath=C:\Java\jdk1.5.0_10\jre\lib\ext\mysql-connector-java-3.1.13-bin.jar) and in War project folder �WEB-INF/lib� and in [TomcatServer]\common\lib.
    I have in folder�WEB-INF/lib� following files:
    antlr.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-fileupload.jar
    commons-logging.jar
    commons-validator.jar
    jakarta-oro.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    mysql-connector-java-3.1.13-bin.jar
    standard.jar
    struts.jar
    I'm using:
    NetBeans 5.5 Build200610171010 (bundled Tomcat 5.5.17)
    Ent.Pack 20061020 Visual Wb Pack 061103
    OS WinXP SP2
    Java 1.5.0_10
    MySQL 5.0.18-nt
    1:<%@page contentType="text/html"%>
    2:<%@page pageEncoding="UTF-8"%>
    8: <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    9: <%@taglib uri="http://java.sun.com/jstl/sql" prefix="sql"%>
    10:
    11: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    12: "http://www.w3.org/TR/html4/loose.dtd">
    13:
    14: <sql:setDataSource var="ds"
    15: driver="com.mysql.jdbc.Driver"
    16: url="jdbc:mysql://localhost:3306/test"
    17: user="root"
    18: password="xxxx"/>
    19:
    20:
    21:<sql:query sql="select name, age from People" var="res"
    22: dataSource="${ds}"/>
    I have received report on mistake when entered code at the top:
    �/index.jsp [21;0] According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions�
    I used instead of (dataSource="${ds}")->(dataSource="ds") but this did not work.
    After build and run I have received
    =========================================START=================================
    HTTP Status 500
    type Exception report:
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /index.jsp(21,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    org.apache.jasper.JasperException: /index.jsp(21,0) According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:146)
    org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:955)
    org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:710)
    org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
    org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
    org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
    org.apache.jasper.compiler.Validator.validate(Validator.java:1489)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    Apache Tomcat/5.5.17
    =======================================END================================
    Error: "According to TLD or attribute directive in tag file, attribute dataSource does not accept any expressions" - but according to documentation such parameter possible.
    BUT WHEN JOINING With DATABASE FROM SERVLET ALL WORK FINE.
    I read this doc - [http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html], this applicable if I Tomcat Admin, but i'am not Admin
    I simply user, i.e. I want to place its database on virtual host (Tomcat+(JSP-JSTL)+MySQL).
    There is idea how can resolve this problem
    Thank you in advance ;)

    For all how have similar problem.
    Decision instead of these ways
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    it is necessary to indicate these
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

  • Connection error mysql database in Dreamweaver

    the error message is - HTTP error code 404 file not found. here are some possible reasons
    screen shot - http://netwizlk.site50.net/images/DW-error.jpg
    1)there is no testing server running on the server machine.
    2)the testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMhTTPDB.php verify that the URL prefix maps to the root of the site.
    guy pls help me to solve this problem. I tried several times to connect my mysql database with dreamweaver but ended up having this error I reinstalled dreamweaver cs4 and XAMPP still the error is not rectified my both remote and local files are stored in XAMPP server location called in c:\xampp\htdocs\htdocs\myweb
    anybody who could give me a speedy solution for this issue will be highly appreciated thanks alot guys.

    c:\xampp\htdocs\htdocs\myweb
    MM serverscripts must be at the root level of the virtual server, that is directly in the htdocs folder.
    Mylenium

  • Connecting a MYSQL database in Dreamweaver

    Hi All,
    I'm tryting to connect a mysql database based locally and am getting the error:
    HTTP Error Code 404 File Not Found. Here are some possible reasons for the problem:
    1) There is no testing server running on the server machine.
    2) The testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMHTTPDB.php. Verify that
    the URL Prefix maps to the root of the site.
    What does this mean?
    How do I start the testing server? I'm unable to locate the folder where the database files are stored as the database has been created locally on my machine.  Everything hace been created locally so I know that point 2) could well be irrelavant.
    Please can somebody help?
    Many Thanks
    Gordon

    The functions for connecting to a database were mostly deprecated.  But if you enable them in CS6 Cloud/CC then they will be the same.

  • Unable to connect to MySQL Database using MX

    I am unable to connect to MySQL database hosted on a remote
    server. I get the following error message:
    "HTTP Error Code 404 File Not Found. Here are some possible
    reason for the problem:
    1) There is no testing server running on the server machine.
    2) The testing server specified for this site does not map to
    the
    http://72.9.255.2/~keyitems/_mmServerScripts/MMHTTPDB.php
    URL. Verify that the URL Prefix maps to the root of the site."
    I have specified a testing server. My url is "
    http://72.9.255.2/~keyitems/........."
    For the URL prefix to the site's root folder, I listed the
    following:
    1.
    http://72.9.255.2/~keyitems/
    this did not work. I got the above error message.
    2.
    http://72.9.255.2/ this did not work
    also. I got the above error message.
    Any input would be great as I do not know where to start !!!
    Thank you

    Hi Ravi
    Glad to hear you solved this. It is very gratifying when one solves it alone, don't you think?
    Best wishes
    Michael

  • Connecting to mysql database using DBLOGIN

    I am trying to connect to a mysql database through GG command interface and am unable to get the DBLOGIN to work correctly. Here is what I am getting:-
    mysql world -u root -p<password> (as user OS user mysql- works!)
    GGSCI (rac1) 5> DBLOGIN SOURCEDB world, USERID root, PASSWORD <password>
    2010-11-08 16:29:17 WARNING OGG-00769 MySQL Login failed: . SQL error (2002). Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    ERROR: Failed to connect to MySQL database engine for HOST localhost, DATABASE world, USER root, PORT 0.
    I am not too familiar with mysql and will appreciate help and also pointer to documents that walk through setting up and testing Golden Gate with mysql.
    Thanks,
    Satish

    hi.
    i have same problem can't connect to mysql using dblogin on ggsci, please helpme
    this my.cnf configuration
    # Example MySQL config file for small systems.
    # This is for a system with little memory (<= 64M) where MySQL is only used
    # from time to time and it's important that the mysqld daemon
    # doesn't use much resources.
    # You can copy this file to
    # /etc/my.cnf to set global options,
    # mysql-data-dir/my.cnf to set server-specific options (in this
    # installation this directory is /var/lib/mysql) or
    # ~/.my.cnf to set user-specific options.
    # In this file, you can use all long options that a program supports.
    # If you want to know which options a program supports, run the program
    # with the "--help" option.
    # The following options will be passed to all MySQL clients
    [client]
    #password     = your_password
    port          = 3306
    socket          = /tmp/mysql.sock
    #socket = /var/run/mysqld/mysqld.sock
    # Here follows entries for some specific programs
    # The MySQL server
    [mysqld]
    port          = 3306
    socket = /tmp/mysql.sock
    #socket          = /var/run/mysqld/mysqld.sock
    skip-locking
    key_buffer_size = 16K
    max_allowed_packet = 1M
    table_open_cache = 4
    sort_buffer_size = 64K
    read_buffer_size = 256K
    read_rnd_buffer_size = 256K
    net_buffer_length = 2K
    thread_stack = 128K
    # Don't listen on a TCP/IP port at all. This can be a security enhancement,
    # if all processes that need to connect to mysqld run on the same host.
    # All interaction with mysqld must be made via Unix sockets or named pipes.
    # Note that using this option without enabling named pipes on Windows
    # (using the "enable-named-pipe" option) will render mysqld useless!
    #skip-networking
    server-id     = 1
    # Uncomment the following if you want to log updates
    #log-bin=mysql-bin
    # binary logging format - mixed recommended
    #binlog_format=mixed
    # Uncomment the following if you are using InnoDB tables
    #innodb_data_home_dir = /var/lib/mysql/
    #innodb_data_file_path = ibdata1:10M:autoextend
    #innodb_log_group_home_dir = /var/lib/mysql/
    # You can set .._buffer_pool_size up to 50 - 80 %
    # of RAM but beware of setting memory usage too high
    #innodb_buffer_pool_size = 16M
    #innodb_additional_mem_pool_size = 2M
    # Set .._log_file_size to 25 % of buffer pool size
    #innodb_log_file_size = 5M
    #innodb_log_buffer_size = 8M
    #innodb_flush_log_at_trx_commit = 1
    #innodb_lock_wait_timeout = 50
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [mysql]
    no-auto-rehash
    # Remove the next comment character if you are not familiar with SQL
    #safe-updates
    [myisamchk]
    key_buffer_size = 8M
    sort_buffer_size = 8M
    [mysqlhotcopy]
    interactive-timeout

  • Can I connect to MySQL database

    sorry for my English...
    I'm absolutely new in Flex
    can I connect to MySQL database?
    I read here that I need to create a java class file and edit
    an xml to create connection to oracle, can I connect to MySQL
    server too, I think that the PHP-XML is too slow to work with lare
    amounts of data... so can you post me MXML, the XML, and the JAVA
    class file, with I will be able to send sql to mysql server and get
    the response?
    or FDS is a stand-alone SQL server?

    Flex is not a SQL server.
    The Flex SDK and compiler supports developing applications
    that run in the Flash player.
    Flex Data Services is deployed as a Java web application that
    simplifies integrating Flex clients with Java server-side resources
    (including interacting with SQL databases via Java).
    FlexBuilder is an IDE for developing Flex apps.
    I'd recommend spending some time browsing the Flex product
    area on adobe.com.
    Best,
    Seth

  • Connecting to MySQL Database with Servlet

    Hi All,
    I want to connect to MySQL Database from servlet.
    I am using Tomcat websever 3.3.1, where i have to set classpath of mysql jdbc driver.
    I tried by copying mysql jdbc driver in so many directiories of Tomcat server but it is
    giving me error like "no specified driver find"
    So please send me all the solutions and how to set the classpath to connect to
    mysql database.
    Thanks

    U r correct that so many people are giving me solutions but that are not working for me
    I think i not correct in setting the classapath to mysql jdbc driver.
    1)I have unjarred correctly and all the classes are present in that.
    yes driver class is there in that .
    2)Now i am using new version of the mysqljdbc that is 2.0.13
    If now any driver after this send me url i will download it and use it
    3)I am unable to under stand what is yourcontext in
    yourcontext/web-inf/lib?
    This is my directory structure.
    c:tomcat in this i have
    bin
    conf
    doc
    lib
    logs
    modules
    native
    webapps
    work
    in bin there are no subdirectories
    in conf i have
    auto,jserv,jk,users
    in doc i have
    appdev,images
    sample( in appdev)
    etc,lib,src,web(in sample)
    images(in sample\web)
    in lib i have
    apps
    common
    container(c:\tomcat\lib)
    in logs,modules there are no subdirectories
    in native (c:\tomcat\native) i have
    mod_jk
    mod_jserv
    in mod_jk i have
    apache 1.3
    common
    iis
    jni
    netscape
    nt_service
    in webapps i have (c:tomcat\webapps)
    Admin,Examples,root
    in Admin i have (c:\tomcat\webapps\admin)
    contextadmin
    Meta-inf
    Test
    Web-inf
    in web-inf (c:\tomcat\webapps\admin\web-inf)
    Classes,lib,script
    in classes i have (c:\tomcat\webapps\admin\web-inf\classes)
    tadm
    in examples (c:\tomcat\webapps\examples) i have
    Images,Jsp,Meta-inf,Servlets,Web-inf
    in web-inf (c:\tomcat\webapps\examples\web-inf) i have
         Classes,jsp
    in classed (c:\tomcat\webapps\examplesweb-inf\classes) i have
    Cal
    Checkbox
    Colors
    Dates
    Error
    Examples
    Num
    Sessions
    in jsp (c:\tomcat\webapps\examples\web-inf\jsp) i have
    applet          
    I think this is enough to give correct answer for me .
    Thanks

  • CONNECTING TO MySql DATABASE FROM Jdeveloper

    Hi,
    How can i connect to MySql database form Oracle Jdeveloper version 11.1.2.0.0.
    I was trying to create connection using create database connection dialog box but it is giving this error:
    Test failed: Driver class not found.
    Verify the Driver location
    Please can I get step by step procedure on how to create this connection.
    Thanks.

    Connect JDeveloper to a MySQL database - YouTube
    http://people.cis.ksu.edu/~hankley/d764/tut06/Ross_mySQL/mySQL.htm
    Hil &amp;amp; Co IT Solutions: Connecting to MySQL in JDeveloper

  • Cs3 connect to mysql database

    hi,
    i am having problems with my xp machine running cs3. when i try to connect to mysql database it throws back http error code 405 method not allowed.
    i downloaded the script replacement files after googling however that still never resolved the issue. can anyone help?
    many thanks

    This may, or may not, help...
    For those using MySQL - Installing PHP and MySQL on Windows
    XP
    http://www.webassist.com/professional/products/solutionrecipes.asp

  • Cannot connect to the database. java.sql.SQLException:

    Hi,
    I am trying to connect to Pointbase database through an applcation written under J2EE environment. I am able to connect with other database under Pointbase. I am trying to connect using the code as follows:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("Jdbc:Odbc:study", dbUserID, dbPassword);
    and I am getting the Exception as shown delow :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: access denied (java.lang.RuntimePermission exitVM)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    root cause
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
         java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         java.security.AccessController.checkPermission(AccessController.java:401)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         java.lang.SecurityManager.checkExit(SecurityManager.java:736)
         com.sun.enterprise.J2EESecurityManager.checkExit(J2EESecurityManager.java:70)
         java.lang.Runtime.exit(Runtime.java:88)
         java.lang.System.exit(System.java:715)
         org.apache.jsp.login_jsp._jspService(login_jsp.java:76)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0
    Please help.
    NNJ

    Thanks for the reply. I have attached the server.log herewith :
    [#|2008-10-05T11:44:45.945+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1006:Uploading the file to:[C:\Documents and Settings\Administrator\Local Settings\Temp\s1astempdomain1server-1629282413\server\study.war]|#]
    [#|2008-10-05T11:44:45.955+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1007:Uploaded the remote file at: [C:\Documents and Settings\Administrator\Local Settings\Temp\s1astempdomain1server-1629282413\server\study.war]|#]
    [#|2008-10-05T11:44:46.225+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- undeploy web/study]|#]
    [#|2008-10-05T11:44:46.686+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2008-10-05T11:44:47.947+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5109: EJBC - START of EJBC for [study]|#]
    [#|2008-10-05T11:44:47.977+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|Processing beans ...|#]
    [#|2008-10-05T11:44:47.987+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|DPL5110: EJBC - END of EJBC for [study]|#]
    [#|2008-10-05T11:44:48.158+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|Total Deployment Time: 2043 msec, Total EJB Compiler Module Time: 40 msec, Portion spent EJB Compiling: 1%
    Breakdown of EJBC Module Time: Total Time for EJBC: 40 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),
    |#]
    [#|2008-10-05T11:44:48.278+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.deployment|_ThreadID=12;|deployed with moduleid = study|#]
    [#|2008-10-05T11:44:48.378+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- deploy web/study]|#]
    [#|2008-10-05T11:44:48.488+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=12;|WEB0100: Loading web module [study] in virtual server [server] at [study]|#]
    [#|2008-10-05T11:44:51.202+0530|INFO|sun-appserver-pe8.0|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2008-10-05T11:46:06.771+0530|WARNING|sun-appserver-pe8.0|javax.enterprise.system.stream.err|_ThreadID=16;|Cannot connect to the database. java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified|#]
    [#|2008-10-05T11:46:06.871+0530|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=16;|StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
         at java.security.AccessController.checkPermission(AccessController.java:401)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
         at java.lang.SecurityManager.checkExit(SecurityManager.java:736)
         at com.sun.enterprise.J2EESecurityManager.checkExit(J2EESecurityManager.java:70)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:715)
         at org.apache.jsp.login_jsp._jspService(login_jsp.java:76)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         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.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:102)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:192)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:261)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:200)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:180)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:582)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:161)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:979)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:692)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:647)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:691)
         at java.lang.Thread.run(Thread.java:534)
    |#]
    regards,
    NNJ

  • Smpatch analyze: Failure: Cannot connect to retrieve Database/current.zip:

    I get the following error when I run smpatch analyze:
    Failure: Cannot connect to retrieve Database/current.zip: Connection reset
    I was successfully able to register the system, but keep getting this error with smpatch analyze. I snooped the traffic and saw packets to & from getupdates1.sun.com on port 443, so there is not a firewall problem.
    Did I miss a step in the installation?
    Thanks

    Looks like the root cause (to me at least) is confusion between the contracted support server and the public updates server. They appear not to be the same...
    Since late September all my Sol 8 "smpatch" clients were broken, giving me "Response code was 500" because the LPS / Update Connection Proxy was set to https://getupdates1.sun.com/ which is apparently the public site. ( https://getupdates.sun.com/ didn't work either.)
    My Solaris 10 clients were working fine through the LPS, however - or so I thought.
    When I just noticed that the patchpro.patch.source on Solaris 8 with 124270-01 is showing https://updateserver.sun.com/solaris/ as the default, I tried that as the LPS patch source URL, and now everything works again - for the first time in weeks.
    Disclaimer: We are a support contract customer, so I don't know if this info applies to everyone. My LPS has been registered (has "entitlement") since I set it up in February, so it was a complete surprise that Solaris 8 smpatch clients started failing even after I put 124270-01 on the client and 121118-08 on the Sol 10 LPS.
    Hope this helps...
    -- Stefan

Maybe you are looking for