JSC app in creator..geting SQLException

I had created a JSF simple web application using JSC. It has a table which is loaded through a CachedRowSet. This application works perfectly when I deploy it in the bundled Sun app server. I used the steps mentioned in http://www.jboss.org/wiki/Wiki.jsp?page=JavaStudioCreator and tried to deploy the app in JBOSS 4.0.4GA. I had to create a jboss-web.xml. The application gets deployed but throws an SQL exception when I try to access the home page. A part of the verbose is below.
68 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
RuntimeException: java.sql.SQLException
com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:343)
com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:624)
com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.java:806)
com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:429)
com.sun.rave.web.ui.component.TableRowGroup.getRowCount(TableRowGroup.java:749)
com.sun.rave.web.ui.component.Table.getRowCount(Table.java:307)
com.sun.rave.web.ui.renderer.TableRenderer.renderTitle(TableRenderer.java:400)
com.sun.rave.web.ui.renderer.TableRenderer.encodeBegin(TableRenderer.java:123)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)
com.sun.rave.web.ui.component.Table.encodeBegin(Table.java:811)
javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)
javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:543)
org.apache.jsp.eGrantsSearch_jsp._jspx_meth_ui_table_0(eGrantsSearch_jsp.java:479)
org.apache.jsp.eGrantsSearch_jsp._jspx_meth_ui_form_0(eGrantsSearch_jsp.java:283)
org.apache.jsp.eGrantsSearch_jsp._jspx_meth_ui_body_0(eGrantsSearch_jsp.java:250)
org.apache.jsp.eGrantsSearch_jsp._jspx_meth_ui_html_0(eGrantsSearch_jsp.java:182)
org.apache.jsp.eGrantsSearch_jsp._jspx_meth_ui_page_0(eGrantsSearch_jsp.java:157)
org.apache.jsp.eGrantsSearch_jsp._jspx_meth_f_view_0(eGrantsSearch_jsp.java:127)
org.apache.jsp.eGrantsSearch_jsp._jspService(eGrantsSearch_jsp.java:97)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
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:810)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
java.lang.Thread.run(Thread.java:595)
java.sql.SQLException
com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:347)
com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:126)
com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:950)
com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1410)
com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1219)
com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:329)
. 59 more
javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: sqlserverds not bound]
org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
javax.naming.InitialContext.lookup(InitialContext.java:351)
com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:332)
. 64 more
javax.naming.NameNotFoundException: sqlserverds not bound
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
org.jnp.server.NamingServer.lookup(NamingServer.java:296)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
javax.naming.InitialContext.lookup(InitialContext.java:351)
org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1061)
. 69 more
84 ERROR [[eGrantsSearchApp]] org.apache.jasper.JasperException: java.sql.SQLException
s.FacesException: org.apache.jasper.JasperException: java.sql.SQLException
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:327)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
java.lang.Thread.run(Thread.java:595)
org.apache.jasper.JasperException: java.sql.SQLException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
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:810)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
. 27 more
Any help is highly appreciated.

Stack traces don't match up (no NPE in your case) but there is an issue with table components and MyFaces:
From
http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=108494
Yes, we found the same problem a couple of days ago. It looks like there is a missunderstanding between the Creator components (at least the table) and MyFaces. We don't know yet, on which side the problem is:-(
Until we find out, the only workaround is to remove the MyFaces implementation. According to JBoss website, its very easy to substitute the bundled MyFaces impl with Sun impl. See this link for detailed instructions.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces
Then you will have to add the JSF-RI back into the war file.
I hope this helps.
-- Marco
Also check out http://www.netbeans.org/issues/show_bug.cgi?id=87123
to see if this applies.

Similar Messages

  • Connection/data source caching in JSC App Server?

    Tried to change the data source for one of my apps (changed all data sources on all row sets). I got a connection error despite the fact that the IDE could see the data source.
    I restarted the app server to no avail.
    I finally stopped the app server AND restarted JSC and eveything started working again (except for the Conversion error I'm tracking down :-) ...

    Did the connection error occur at runtime ?
    If so, then it's not recommended to change the datasource
    especially if you change databases. It's not impossible to make
    the changes - you need to edit the Page bean constructor and the
    constructor in the SessionBean and anywhere else you
    initialize the rowset with the URL.
    If you changed the database, then because vendors
    map JDBC types differently, you may need to make
    changes . Typically you'll see conversion errors when changing
    the database.
    JDBC Type (which we call SQL Type) --> Java Type:
    =========================================
    CHAR --> java.lang.String
    VARCHAR --> java.lang.String
    LONGVARCHAR --> java.lang.String
    NUMERIC --> java.math.BigDecimal
    DECIMAL --> java.math.BigDecimal
    BIT --> boolean
    BOOLEAN --> boolean
    TINYINT --> byte
    SMALLINT --> short
    INTEGER --> int
    BIGINT --> long
    REAL --> float
    FLOAT --> double
    DOUBLE --> double
    BINARY --> byte[]
    VARBINARY --> byte[]
    LONGVARBINARY --> byte[]
    DATE --> java.sql.Date
    TIME --> java.sql.Time
    TIMESTAMP --> java.sql.Timestamp
    CLOB --> java.sql.Clob
    BLOB --> java.sql.Blob
    ARRAY --> java.sql.Array
    DISTINCT --> (mapping of underlying type)
    STRUCT --> java.sql.Struct
    REF --> java.sql.Ref
    DATALINK --> java.net.URL
    JAVA_OBJECT --> (underlying Java class)
    Source: JDBC 3.0 Specification, Appendix B
    Also, see this post for more info :
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=47015
    John
    JSC QA

  • Opening a secure socket in Creator app

    Hi All,
    I have this app in Creator which tries to make connection with a server over HTTPS. When I run this java prgram from Eclipse (standalone java program), its able to make connection to the server. But when I try and run the app and make this call to another server from the app, it gives me following error --
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
    I am trying to make the connection using sockets -
    String TARGET_HTTPS_SERVER = "www.server123.com";
    int TARGET_HTTPS_PORT = 443;
    SSLSocketFactory factory = new SSLSocketFactoryImpl();
    Socket socket = factory.createSocket(TARGET_HTTPS_SERVER, TARGET_HTTPS_PORT);
    The difference between the program that I run thru Eclipse and thru Creator is Eclipse uses JDK 1.4.2 and Creator uses 1.5.0. I changed the Project settings from Creator to make use of JDK 1.4.2 but that didnt help. The error persisted.
    When I ran the app in debug mode, I could see the socket info as 5397f6[Unknown 0x0:0x0: Socket[addr=www.server123.com/123.123.123.123,port=443,localport=52994]] while the same socket when created in Eclipse (standalone mode using JDK 1.4.2 showed the socket as f01771[SSL_RSA_EXPORT_WITH_RC4_40_MD5: Socket[addr=www.server123.com/123.123.123.123,port=443,localport=53032]]. It is obvious the problem is in opening the socket. The first one shows ciphers as Unknown while the second one uses RC4_40_MD5.
    Is it a certs issue? I checked that both 1.4.2 and 1.5.0 installations have same size of cacerts.
    Thanks,
    Ashish

    I'm not an expert in all that certificate stuff!
    But the Creator applications run inside the Sun Application Server and that has it's own cacerts.jks per domain. Maybe that's the reason why it can't find the trusted certificate??
    Look at <Creator_home>/SunAppServer8/domains/creator/config/cacerts.jks
    I hope this helps.
    Thanks,
    -- Marco

  • Prblem with testing container-based security apps with JSC/AppServer 8...

    not sure whether this is a JSC or an AppServer issue, correct me if neccessary...
    I'm using container based security to dicate logic based upon user names & roles for my test JSC app. The problem is that when I run the app by autodeploying it to my Sun AppServer 8 instance (same machine, WinXP Pro) the security settings eems to be cached. That is, if I change the security roles or permissions in the container by editing the web.xml file the changes aren't reflected in the app upon redeployment. I have to copy it to a new directory and deploy as a new app to see any security change. It seems that the old usernames and roles are cached -even if I manually restart the app server. Is this a JSC or an ApPServer issue? Am I missing something? Is there an easier way for me reset security data when testing an application? Thanx in advance...
    -J

    while your solution may technically work, it is unusable to me because I can't successfully deploy a war file using JSC after I've manually added container-based descriptors to the web.xml file. In order for me even to be able to deploy the app I need to modify web.xml and sun-web.xml by hand in the build directory

  • Need Help Deploying Creator Project with Derby as Embedded

    HI,
    I have developed a web app using creator and the derby database instance that runs within creator. Now I want to war up the app and include the derby db as an embedded database. I have included the derby jar file in my lib directory and have created a new datasource with the derby embedded driver for testing. I cannot seem to get the db to run as embedded. My data source is setup as follows:
    dataSource name="DerbyTest3"
    driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
    url="jdbc:derby:../sample"
    validationQuery="select * from "
    username="dbadmin"
    password="7237EACC50DB74EF"
    />
    The sample database was copied from the creator source tree and inserted under WEB-INF
    When I try to connect I get the following error:
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: org.apache.jasper.JasperException
    java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Database '../sample' not found.
    Possible Source of Error:
    Class Name: org.apache.jasper.servlet.JspServletWrapper
    File Name: JspServletWrapper.java
    Method Name: service
    Line Number: 384
    any help greatly appreciated.
    gary
    Message was edited by:
    garff
    Message was edited by:
    garff

    One of our developers mentioned this, but it's also in the derby ref manual for the SQLException you're getting:
    http://db.apache.org/derby/docs/10.2/ref/rrefattrib26867.html
    sounds like you needed to append
    ;create=true
    to the JDBC Url...
    HTH,
    skj

  • Help: Using EJB in Creator-2

    The NetBeans 5.5 tutorial is out of sync with the IDE. However, with the IDE I created a simple sessionbean with one business method that returns a hardcoded value of type String. This was housed in a EJBModule called EJBModule1. I added this to Creator-2 and dragged the only method called m1() into the SessionBean of Creator-2. I included a button and a staticText and the code given below. Building the project was successful. When it was run, on clicking the button, the following error was displayed:
    com.sun.data.provider.DataProviderException: java.lang.reflect.InvocationTargetException
    The code:
    public String button1_action() {
    try {           
    String name = (String) getSessionBean1().getMySessionRemoteM15().getResultObject();
    staticText1.setText(name);
    } catch (Exception e) {error(e.toString());}
    return null;
    }

    marysam,
    I am trying to reproduce this, but I am curious as to how you deployed your EJB module, keeping in mid that NB 5.5 and JSC 2u1 use two different versions of the PE app server (9 versus 8.2). I intend to point NB at JSCs' app server, create and deploy the EJB module to PE 8.2 from NB 5.5, then consume the EJB per your description.
    Regards,
    -Brad Mayer

  • SOAP header in my WSDL ignored by Creator

    The soap:header element from the bind section of my WSDL file is being ignored by Creator.
    Creator is picking up the soap:operation element soapAction=..
    and
    My <input> element for a operation has both soap:body and soap:header elements. The soap:body works.
    Any suggestions?

      Here is a valid Soap Request from XMLSPY and
    a Request from a JSC app and the WSDL used to create the both.
    Sample of Reqest generated by XMLSPY
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Header>
              <m:Security_Request xmlns:m="http://psfttemp.org">
                   <m:Username>String</m:Username>
                   <m:Password>String</m:Password>
              </m:Security_Request>
         </SOAP-ENV:Header>
         <SOAP-ENV:Body>
              <m:Get__CompIntfc__USER_PROFILE xmlns:m="http://psfttemp.org">
                   <m:UserID>String</m:UserID>
              </m:Get__CompIntfc__USER_PROFILE>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Sample of a Request from  the JSC generated application
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://psfttemp.org">
         <env:Body>
              <ns0:Get__CompIntfc__USER_PROFILE>
                   <ns0:UserID>DPAT</ns0:UserID>
              </ns0:Get__CompIntfc__USER_PROFILE>
         </env:Body>
    </env:Envelope>
    Original WSDL file
    <?xml version="1.0"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:psftci="http://psfttemp.org" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://psfttemp.org">
         <types>
              <s:schema targetNamespace="http://psfttemp.org" elementFormDefault="qualified">
                   <s:element name="Get__CompIntfc__USER_PROFILE">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="UserID" type="s:string" maxOccurs="1" minOccurs="1"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="Get__CompIntfc__USER_PROFILEResponse">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="UserID" type="s:string" maxOccurs="1" minOccurs="1"/>
                                  <s:element name="UserDescription" type="s:string" maxOccurs="1" minOccurs="0"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="Security_Request">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="Username" type="s:string" maxOccurs="1" minOccurs="1"/>
                                  <s:element name="Password" type="s:string" maxOccurs="1" minOccurs="1"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="detail">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="keyinformation" maxOccurs="1" minOccurs="0"/>
                                  <s:element name="messages" maxOccurs="unbounded" minOccurs="1">
                                       <s:complexType>
                                            <s:sequence>
                                                 <s:element name="type" type="s:string" maxOccurs="1" minOccurs="1"/>
                                                 <s:element name="messagesetnumber" type="s:decimal" maxOccurs="1" minOccurs="0"/>
                                            </s:sequence>
                                       </s:complexType>
                                  </s:element>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
              </s:schema>
         </types>
         <message name="Get__CompIntfc__USER_PROFILESoapIn">
              <part name="parameters" element="psftci:Get__CompIntfc__USER_PROFILE"/>
         </message>
         <message name="Get__CompIntfc__USER_PROFILESoapOut">
              <part name="parameters" element="psftci:Get__CompIntfc__USER_PROFILEResponse"/>
         </message>
         <message name="Security_Request">
              <part name="parameters" element="psftci:Security_Request"/>
         </message>
         <message name="Fault">
              <part name="fault" element="psftci:detail"/>
         </message>
         <portType name="USER_PROFILESoap">
              <operation name="Get__CompIntfc__USER_PROFILE">
                   <input message="psftci:Get__CompIntfc__USER_PROFILESoapIn"/>
                   <output message="psftci:Get__CompIntfc__USER_PROFILESoapOut"/>
                   <fault name="Fault" message="psftci:Fault"/>
              </operation>
         </portType>
         <binding name="USER_PROFILESoap" type="psftci:USER_PROFILESoap">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="Get__CompIntfc__USER_PROFILE">
                   <soap:operation soapAction="#SOAPTOCI#UU_WS" style="document"/>
                   <input>
                        <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                        <soap:header xmlns:n1="http://schemas.xmlsoap.org/wsdl/" message="psftci:Security_Request" part="parameters" use="literal" namespace="http://psfttemp.org"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
                   <fault name="Fault">
                        <soap:fault name="fault" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://psfttemp.org"/>
                   </fault>
              </operation>
         </binding>
         <service name="USER_PROFILECIService">
              <documentation>This is the service for accessing the USER_PROFILE Component Interface using SOAP requests through PeopleSoft's Integration Broker</documentation>
              <port name="USER_PROFILESoap" binding="psftci:USER_PROFILESoap">
                   <soap:address location="http://localhost:14000/PSIGW/HttpListeningConnector"/>
              </port>
         </service>
         <documentation>This component interface is based off of the USERMAINT component.  It is used for User Profile maintenance.</documentation>
    </definitions>

  • Can't burn a dvd even in DVD creator pro??? What's up?

    I'm trying to burn a video that I made in iMovie. I open the app DVD Creator Pro- Burn DVD. Everytime I insert a blank DVD, iTunes opens up and says...
    You’ve inserted a blank DVD. To burn items on the DVD, select the playlist that contains the items you want to burn, and then choose File > Burn Playlist to Disc.  If you haven’t yet created the playlist, choose File > New > Playlist, then drag items from your library to the playlist.
    I don't have my Video saved in iTunes so why does my blank dvd open up there???
    I tried burning it in my DVD Creator Pro, and I get an error every time.
    Thank you
    Cinda

    Make sure that in the System/CDs & DVDs preference pane you don't have iTunes selected to open when you insert a blank DVD.
    OT

  • Creator Freeze Often -- SWING Worker thread also

    I'm developping an app with creator. And I have many freezes in several minutes long as some people mentioned before.
    I'm running win XP on an opeteron 244(1.8G) x2 , with 2G memory. I've updated creator to the latest updates, but it doesn't seem to be better.
    The things I found is that when I edit Session Bean , Creator takes especially long time to come up.
    At that time, SWING worker thread of Creator IDE also stopping, No update of display , I only look window frame.
    You know the SWING has a Single thread model ,so if some logic uses SWING worker's thread long time, all displying process will be stopped.
    Below is the stacktrace just after a few seconds when Creator freeze by editing Session Bean.
    I use the stacktrace tool at http://tmitevski.users.mcs2.netarray.com/trace.do
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode):
    "StackTrace Remote Thread" prio=5 tid=0x48b10418 nid=0x368 waiting on condition [0x00000000..0x4e85fbac]
    "Inactive RequestProcessor thread [Was:TimedWeakReference/org.netbeans.modules.projectapi.TimedWeakReference]" daemon prio=2 tid=0x48cc9e78 nid=0x634 in Object.wait() [0x4e89f000..0x4e89fbe8]
         at java.lang.Object.wait(Native Method)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:692)
         - locked <0x1eeb8620> (a java.lang.Object)
    "Inactive RequestProcessor thread [Was:Default RequestProcessor/org.netbeans.modules.editor.NbEditorUI$2]" daemon prio=2 tid=0x48d00d18 nid=0x814 in Object.wait() [0x4e79f000..0x4e79fce8]
         at java.lang.Object.wait(Native Method)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:692)
         - locked <0x1eeb8690> (a java.lang.Object)
    "Inactive RequestProcessor thread [Was:Java Children Provider/org.netbeans.modules.java.ui.nodes.elements.SourceChildren$4]" daemon prio=2 tid=0x48ce0d98 nid=0xd8c in Object.wait() [0x4e65f000..0x4e65fae8]
         at java.lang.Object.wait(Native Method)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:692)
         - locked <0x1edbfe00> (a java.lang.Object)
    "Inactive RequestProcessor thread [Was:Suggestions Broker/org.netbeans.modules.tasklist.suggestions.SuggestionsBroker$2]" daemon prio=2 tid=0x473e1c80 nid=0x9fc in Object.wait() [0x4b84f000..0x4b84fbe8]
         at java.lang.Object.wait(Native Method)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:692)
         - locked <0x1ed09d38> (a java.lang.Object)
    "Timer-48" prio=7 tid=0x492d4748 nid=0x930 in Object.wait() [0x4e43f000..0x4e43fa68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1eb90290> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-46" prio=7 tid=0x4831ede8 nid=0xff0 in Object.wait() [0x4e71f000..0x4e71fae8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1ea9f428> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-44" prio=7 tid=0x48b26ab0 nid=0xc50 in Object.wait() [0x4e81f000..0x4e81fb68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1dc0d688> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-42" prio=7 tid=0x50f3bb68 nid=0x8f0 in Object.wait() [0x4e7df000..0x4e7dfa68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1db078b8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-40" prio=7 tid=0x48bbde20 nid=0xf0c in Object.wait() [0x4e75f000..0x4e75f9e8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1d85d2b8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-38" prio=7 tid=0x50e67840 nid=0x8a4 in Object.wait() [0x4e6df000..0x4e6dfae8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1d7bc160> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-36" prio=7 tid=0x48ba3f50 nid=0xf58 in Object.wait() [0x4e5df000..0x4e5dfd68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1d7bc1d8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-34" prio=7 tid=0x48abb270 nid=0xee8 in Object.wait() [0x4e53f000..0x4e53fb68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1d339d68> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-32" prio=7 tid=0x47a6e050 nid=0xe98 in Object.wait() [0x4e69f000..0x4e69fa68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1b93e2e8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-30" prio=7 tid=0x4925bd38 nid=0x9a8 in Object.wait() [0x4e4bf000..0x4e4bfa68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1b3022f0> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-28" prio=7 tid=0x4930aae8 nid=0x620 in Object.wait() [0x4b70f000..0x4b70fae8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1af19770> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-26" prio=7 tid=0x485620c8 nid=0x120 in Object.wait() [0x4e59f000..0x4e59fb68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1978f0f8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-24" prio=7 tid=0x46d7e9e8 nid=0xaf8 in Object.wait() [0x4e61f000..0x4e61fbe8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x196f19e8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "VCS Command Tasks Starter Loop" daemon prio=2 tid=0x48aeed00 nid=0x96c in Object.wait() [0x4e4ff000..0x4e4ffbe8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x18841770> (a org.netbeans.modules.vcscore.commands.CommandProcessor)
         at java.lang.Object.wait(Object.java:474)
         at org.netbeans.modules.vcscore.commands.CommandProcessor.executorStarterLoop(CommandProcessor.java:757)
         - locked <0x18841770> (a org.netbeans.modules.vcscore.commands.CommandProcessor)
         at org.netbeans.modules.vcscore.commands.CommandProcessor.access$700(CommandProcessor.java:65)
         at org.netbeans.modules.vcscore.commands.CommandProcessor$5.run(CommandProcessor.java:776)
         at java.lang.Thread.run(Thread.java:595)
    "Timer-16" prio=7 tid=0x46fa81a8 nid=0x69c in Object.wait() [0x4e3ff000..0x4e3ffd68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x151bf408> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "Timer-12" prio=7 tid=0x479eacf0 nid=0x2ec in Object.wait() [0x4b4df000..0x4b4dfce8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.util.TimerThread.mainLoop(Timer.java:483)
         - locked <0x1499b4e8> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "URLdisplayer" prio=7 tid=0x4865de20 nid=0xe2c in Object.wait() [0x4727f000..0x4727fd68]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x12a02bb0> (a org.netbeans.modules.extbrowser.NbDdeBrowserImpl$URLDisplayer)
         at java.lang.Object.wait(Object.java:474)
         at org.netbeans.modules.extbrowser.NbDdeBrowserImpl$URLDisplayer.getNextTask(NbDdeBrowserImpl.java:223)
         - locked <0x12a02bb0> (a org.netbeans.modules.extbrowser.NbDdeBrowserImpl$URLDisplayer)
         at org.netbeans.modules.extbrowser.NbDdeBrowserImpl$URLDisplayer.run(NbDdeBrowserImpl.java:235)
         at java.lang.Thread.run(Thread.java:595)
    "Text-Layout" prio=2 tid=0x475967e8 nid=0xa68 in Object.wait() [0x4b68f000..0x4b68fae8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x129e8cd0> (a org.netbeans.editor.view.spi.ViewLayoutQueue)
         at java.lang.Object.wait(Object.java:474)
         at org.netbeans.editor.view.spi.ViewLayoutQueue.waitForTask(ViewLayoutQueue.java:128)
         - locked <0x129e8cd0> (a org.netbeans.editor.view.spi.ViewLayoutQueue)
         at org.netbeans.editor.view.spi.ViewLayoutQueue$LayoutThread.run(ViewLayoutQueue.java:182)
    "MDR event dispatcher" daemon prio=2 tid=0x47b8b450 nid=0x9c8 in Object.wait() [0x4b88f000..0x4b88fa68]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at org.netbeans.mdr.util.EventNotifier$EventsDelivery.run(EventNotifier.java:257)
         - locked <0x087d1b10> (a java.util.LinkedList)
         at java.lang.Thread.run(Thread.java:595)
    "DestroyJavaVM" prio=5 tid=0x00038890 nid=0x4e4 waiting on condition [0x00000000..0x0007fae8]
    "TimerQueue" daemon prio=5 tid=0x46da6908 nid=0x768 in Object.wait() [0x4716f000..0x4716fb68]
         at java.lang.Object.wait(Native Method)
         at javax.swing.TimerQueue.run(TimerQueue.java:233)
         - locked <0x07b22b68> (a javax.swing.TimerQueue)
         at java.lang.Thread.run(Thread.java:595)
    "AWT-EventQueue-1" prio=7 tid=0x46ea8478 nid=0x990 runnable [0x4820e000..0x4820fbe8]
         at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
         at java.net.InetAddress$1.getHostByAddr(InetAddress.java:842)
         at java.net.InetAddress.getHostFromNameService(InetAddress.java:532)
         at java.net.InetAddress.getHostName(InetAddress.java:475)
         at java.net.InetAddress.getHostName(InetAddress.java:447)
         at java.net.InetSocketAddress.getHostName(InetSocketAddress.java:210)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:341)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:142)
         at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:280)
         at com.mysql.jdbc.Connection.createNewIO(Connection.java:1774)
         at com.mysql.jdbc.Connection.<init>(Connection.java:437)
         at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268)
         at com.sun.rave.sql.DesignTimeDataSource.getConnection(DesignTimeDataSource.java:238)
         at com.sun.rave.sql.DesignTimeDataSource.getConnection(DesignTimeDataSource.java:214)
         at com.sun.sql.rowset.JdbcRowSetXImpl.connect(JdbcRowSetXImpl.java:410)
         at com.sun.sql.rowset.JdbcRowSetXImpl.prepare(JdbcRowSetXImpl.java:532)
         at com.sun.sql.rowset.JdbcRowSetXImpl.execute(JdbcRowSetXImpl.java:349)
         at caico.jsf.svc.itemSvc.<init>(itemSvc.java:81)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.sun.rave.insync.beans.BeansUnit.instantiateBean(BeansUnit.java:884)
         at com.sun.rave.insync.live.LiveUnit.ressurectDesignBean(LiveUnit.java:339)
         at com.sun.rave.insync.live.LiveUnit.resurrect(LiveUnit.java:406)
         at com.sun.rave.insync.live.LiveUnit.sync(LiveUnit.java:294)
         at com.sun.rave.insync.live.LiveUnitWrapper.sync(LiveUnitWrapper.java:115)
         at com.sun.rave.insync.models.FacesModel.syncImpl(FacesModel.java:899)
         at com.sun.rave.insync.Model.sync(Model.java:207)
         at com.sun.rave.insync.Model.sync(Model.java:173)
         at com.sun.rave.insync.ModelSet$WindowManagerPropertyRegistry.processNodes(ModelSet.java:107)
         at com.sun.rave.insync.ModelSet$WindowManagerPropertyRegistry.propertyChange(ModelSet.java:125)
         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:270)
         at org.netbeans.core.windows.RegistryImpl.doFirePropertyChange(RegistryImpl.java:249)
         at org.netbeans.core.windows.RegistryImpl.tryFireChanges(RegistryImpl.java:222)
         at org.netbeans.core.windows.RegistryImpl.selectedNodesChanged(RegistryImpl.java:186)
         at org.netbeans.core.windows.RegistryImpl.topComponentActivated(RegistryImpl.java:138)
         at org.netbeans.core.windows.WindowManagerImpl.notifyRegistryTopComponentActivated(WindowManagerImpl.java:893)
         at org.netbeans.core.windows.Central.setActiveMode(Central.java:182)
         at org.netbeans.core.windows.Central.userActivatedMode(Central.java:1451)
         at org.netbeans.core.windows.view.DefaultView.userActivatedModeView(DefaultView.java:591)
         at org.netbeans.core.windows.view.ui.TabbedHandler$ActivationManager.handleActivation(TabbedHandler.java:477)
         at org.netbeans.core.windows.view.ui.TabbedHandler$ActivationManager.eventDispatched(TabbedHandler.java:425)
         at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
         at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
         at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
         at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
         at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
         at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
         at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
         at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
         at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2099)
         at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:3867)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         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)
    "Creator Error Handler Listener" prio=5 tid=0x4665f3d8 nid=0xf70 runnable [0x481cf000..0x481cfce8]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
         - locked <0x0793baf0> (a java.net.SocksSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:450)
         at java.net.ServerSocket.accept(ServerSocket.java:421)
         at com.sun.rave.errorhandler.DebugServerThread.run(DebugServerThread.java:81)
    "Java2D Disposer" daemon prio=10 tid=0x467d6760 nid=0xa08 in Object.wait() [0x46c8f000..0x46c8fce8]
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
         - locked <0x07451380> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
         at sun.java2d.Disposer.run(Disposer.java:107)
         at java.lang.Thread.run(Thread.java:595)
    "Active Reference Queue Daemon" daemon prio=2 tid=0x467bb638 nid=0xb70 in Object.wait() [0x46c4f000..0x46c4fd68]
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
         - locked <0x07451408> (a java.lang.ref.ReferenceQueue$Lock)
         at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2465)
         at java.lang.Thread.run(Thread.java:595)
    "Timer-0" daemon prio=5 tid=0x4678f2f0 nid=0xaf0 in Object.wait() [0x46c0f000..0x46c0f9e8]
         at java.lang.Object.wait(Native Method)
         at java.util.TimerThread.mainLoop(Timer.java:509)
         - locked <0x07451498> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:462)
    "AWT-Windows" daemon prio=7 tid=0x467a54a0 nid=0x790 runnable [0x46a6f000..0x46a6fa68]
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(WToolkit.java:269)
         at java.lang.Thread.run(Thread.java:595)
    "AWT-Shutdown" prio=5 tid=0x467a5008 nid=0xafc in Object.wait() [0x46a2f000..0x46a2fae8]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x07451568> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:474)
         at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
         - locked <0x07451568> (a java.lang.Object)
         at java.lang.Thread.run(Thread.java:595)
    "CLI Requests Server" daemon prio=5 tid=0x4676b380 nid=0xa64 runnable [0x4693f000..0x4693fbe8]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
         - locked <0x07451720> (a java.net.SocksSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:450)
         at java.net.ServerSocket.accept(ServerSocket.java:421)
         at org.netbeans.CLIHandler$Server.run(CLIHandler.java:758)
    "Low Memory Detector" daemon prio=5 tid=0x00ab83b8 nid=0xee0 runnable [0x00000000..0x00000000]
    "CompilerThread0" daemon prio=10 tid=0x00ab7020 nid=0x9c4 waiting on condition [0x00000000..0x465cfa4c]
    "Signal Dispatcher" daemon prio=10 tid=0x00ab6470 nid=0x31c runnable [0x00000000..0x00000000]
    "Finalizer" daemon prio=9 tid=0x00aa95e0 nid=0x85c in Object.wait() [0x4654f000..0x4654fa68]
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
         - locked <0x074519c0> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x00aa8150 nid=0xf1c in Object.wait() [0x4650f000..0x4650fae8]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:474)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
         - locked <0x07451590> (a java.lang.ref.Reference$Lock)
    "VM Thread" prio=10 tid=0x00aa5780 nid=0x808 runnable
    "VM Periodic Task Thread" prio=10 tid=0x00ab9858 nid=0x1b0 waiting on condition

    Use a SwingUtilities.invokeLater(...) to invoke the main GUI. This will allow the button to repaint itself before the main GUI is invoked.

  • Why I won't be upgrading to Creator 2

    I used the Creator 2 Wizard to import my App from Creator 2004. No errors were reported. However it seems impossible to modify any data tables created with the earlier version. They lose the database bindings and any attempt to re-bind to the database just results in cascading errors. I don't have time for this kind of headache.... Not to mention the errors with dropdowns using MySQL ( Execute not called ), and forms that worked fine but now report similar errors at runtime....

    I read that FAQ before I started the migration process. Unfortunately it does not seem to apply to any of the problems that I experienced. Perhaps you can tell me how to modify the data tables so that they do not lose their bindings to the already applied database. This is the major issue with me and I don't see any convenient workaround. When I simply compile and run the app the data tables work as expected. However, when I go to modify them in the form designer everything quickly goes to hell in a handbasket, i.e they no longer have the underliying database bindings and it just gets worse from there.

  • Implementing a "back button" in a JSC project.

    I would like to give my use a "back button" that acts like the back button on most browsers.
    In other words, add a button to a page and when the user clicks that button, the user will be sent back to the previous page just like if they clicked the back button on the browser.
    I assume that this can be done using the onClick Javascript event for the button, but what exactly needs to be done in that method?
    I searched the Internet and it looks like something like this might work:
    Go back
    But how to convert that to JavaScript inside the JSC app I do not know.
    Does anyone know how this is done?

    Note that I tried adding:
    history.back()to the onClick event, but that didn't do anything.
    My full page code looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <jsp:text><![CDATA[
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    ]]></jsp:text>
        <f:view>
            <html lang="en-US" xml:lang="en-US">
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>DisplayDiagnosis Title</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                    <h:form binding="#{DisplayDiagnosis.form1}" id="form1">
                        <h:panelGrid binding="#{DisplayDiagnosis.centeringGridPanel}" columns="1" id="centeringGridPanel" style="left: 0px; top: 0px; position: absolute">
                            <h:graphicImage binding="#{DisplayDiagnosis.image1}" id="image1" value="resources/myLogo.JPG"/>
                            <h:panelGrid binding="#{DisplayDiagnosis.diagnosisPanel}" columns="3" footerClass="" id="diagnosisPanel"/>
                            <h:panelGroup binding="#{DisplayDiagnosis.groupPanel1}" id="groupPanel1" style="height: 50px; width: 100px">
                                <h:commandButton binding="#{DisplayDiagnosis.button1}" id="button1" onclick="history.back()" value="Back"/>
                            </h:panelGroup>
                        </h:panelGrid>
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>

  • JSC deployment question.

    I have a situation where after my JSC created application is deployed, I need to have the ability to access PDF files that I give the user of my application the ability to select in a listbox.
    At development time, the names and locations of these PDF files (which will be stored locally on the Sun App Server) are not known, so I cannot have JSC bundle them up with the WAR. What I do instead is have my JSC app read from a database and populate a listbox with the names of the PDF files and map those to the local URL (as soon as I figure out what that will be).
    My question is this, once I deply the app, where (what directory) do I place the PDF files under assuming that I am using the bundled Sun Application Server that comes with JSC?
    Thanks!

    Actually, it might be better to read the PDF file directly from the database instead of placing it in the path somewhere and redirecting to it (more security if ever needed...no static files to browse to).
    Let me dig around for an exmple of doing this sort of thing and I'll try to apply it to a JSC project context and post my findings here.
    If anyone has done this before please let me know!
    Thanks.

  • Creator 2 + db4o(OODB)

    Hi,
    I'm working in a web project using Sun Java Studio Creator 2
    I want to use DB4o(OODB) like my database, but I have a problem
    that is:
    the Creator or the sun-appserver-pe8.1_02 are blocking the access to the database file,
    I can't read and write over the db file: D:\work\development\tmp\expertsuite.yap
    but it just occur when I run my app from Creator,
    I deployed my app and run it in the production pc and work fine
    so, my question is:
    why the Creator or the sun-appserver-pe8.1_02 are blocking my db file and how a I can unblocking it
    if some one have any idea, please let me know
    thanks, Mauricio
    the exception throwed is:
    [#|2006-04-27T01:17:47.625+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|[db4o 5.2.002   2006-04-27 01:17:47] |#]
    [#|2006-04-27T01:17:47.656+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    Uncaught Exception. Engine closed.|#]
    [#|2006-04-27T01:17:47.656+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    [db4o 5.2.002   2006-04-27 01:17:47] |#]
    [#|2006-04-27T01:17:47.656+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    Please mail the following to [email protected]:
    <db4o stacktrace>|#]
    [#|2006-04-27T01:17:47.671+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    java.security.AccessControlException: access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
         at com.db4o.JDK_1_2.setAccessible(Unknown Source)
         at com.db4o.Platform4.setAccessible(Unknown Source)
         at com.db4o.reflect.jdk.JdkField.setAccessible(Unknown Source)
         at com.db4o.YapField.<init>(Unknown Source)
         at com.db4o.YapClass.addMembers(Unknown Source)
         at com.db4o.YapClass.checkChanges(Unknown Source)
         at com.db4o.YapClassCollection.readYapClass(Unknown Source)
         at com.db4o.YapClassCollection.getYapClass(Unknown Source)
         at com.db4o.YapStreamBase.getYapClass(Unknown Source)
         at com.db4o.YapField.loadHandler(Unknown Source)
         at com.db4o.YapClass.forceRead(Unknown Source)
         at com.db4o.YapClass.readThis(Unknown Source)
         at com.db4o.YapClassCollection.readYapClass(Unknown Source)
         at com.db4o.YapClassCollection.getYapClass(Unknown Source)
         at com.db4o.YapStreamBase.getYapClass(Unknown Source)
         at com.db4o.YapStreamBase.set3(Unknown Source)
         at com.db4o.YapStreamBase.set2(Unknown Source)
         at com.db4o.YapStreamBase.setAfterReplication(Unknown Source)
         at com.db4o.YapStreamBase.setInternal(Unknown Source)
         at com.db4o.YapStreamBase.setInternal(Unknown Source)
         at com.db4o.YapFile.initBootRecord(Unknown Source)
         at com.db4o.YapFile.readThis(Unknown Source)
         at com.db4o.YapRandomAccessFile.open(Unknown Source)
         at com.db4o.YapRandomAccessFile.<init>(Unknown Source)
         at com.db4o.Sessions.open(Unknown Source)
         at com.db4o.Db4o.openFile(Unknown Source)
         at com.expert.ext.db4o.DBHandler.<init>(DBHandler.java:34)
         at com.expert.dao.DaoDB4OUser.<init>(DaoDB4OUser.java:14)
         at com.expert.FtDB4ODAOFactory.getDaoUser(FtDB4ODAOFactory.java:78)
         at com.expert.BpUser.<init>(BpUser.java:24)
         at com.expert.auth.btnAuth_action(auth.java:298)
         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 com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
         at javax.faces.component.UICommand.broadcast(UICommand.java:312)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    |#]
    [#|2006-04-27T01:17:47.671+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    </db4o stacktrace>|#]
    [#|2006-04-27T01:17:47.687+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    [db4o 5.2.002   2006-04-27 01:17:47] |#]
    [#|2006-04-27T01:17:47.687+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    Exception opening 'D:\work\development\tmp\expertsuite.yap'|#]
    [#|2006-04-27T01:17:47.687+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    [db4o 5.2.002   2006-04-27 01:17:47] |#]
    [#|2006-04-27T01:17:47.687+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    Please mail the following to [email protected]:
    <db4o stacktrace>|#]
    [#|2006-04-27T01:17:47.687+0200|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.stream.err|_ThreadID=16;|
    java.lang.RuntimeException: Uncaught Exception. db4o engine closed.
         at com.db4o.YapStreamBase.fatalException(Unknown Source)
         at com.db4o.YapStreamBase.fatalException(Unknown Source)
         at com.db4o.YapStreamBase.setAfterReplication(Unknown Source)
         at com.db4o.YapStreamBase.setInternal(Unknown Source)
         at com.db4o.YapStreamBase.setInternal(Unknown Source)
         at com.db4o.YapFile.initBootRecord(Unknown Source)
         at com.db4o.YapFile.readThis(Unknown Source)
         at com.db4o.YapRandomAccessFile.open(Unknown Source)
         at com.db4o.YapRandomAccessFile.<init>(Unknown Source)
         at com.db4o.Sessions.open(Unknown Source)
         at com.db4o.Db4o.openFile(Unknown Source)
         at com.expert.ext.db4o.DBHandler.<init>(DBHandler.java:34)
         at com.expert.dao.DaoDB4OUser.<init>(DaoDB4OUser.java:14)
         at com.expert.FtDB4ODAOFactory.getDaoUser(FtDB4ODAOFactory.java:78)
         at com.expert.BpUser.<init>(BpUser.java:24)
         at com.expert.auth.btnAuth_action(auth.java:298)
         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 com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
         at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
         at javax.faces.component.UICommand.broadcast(UICommand.java:312)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    |#]

    changing my question
    some one know how I can give premision to a specific file (C:\anydir\anyfile.txt) using the security policy file of sun-appserver-pe8.1_02 server.policy

  • Deploying a simple servlet with creator 2...

    i need to generate a simple war file around the below servlet:
    import javax.servlet.*;
    import java.io.IOException;
    public class PrimitiveServlet implements Servlet {
    public void init(ServletConfig config) throws ServletException {
    System.out.println("init");
    public void service(ServletRequest request, ServletResponse response)
    throws ServletException, IOException {
    System.out.println("service");
    public void destroy() {
    System.out.println("destroy");
    public String getServletInfo() {
    return null;
    public ServletConfig getServletConfig() {
    return null;
    i am trying to learn java so a lot of my coding is going to be simple stuff... Is JavaStudio too much program... i generated a war file for this that had 10+ components... plus the server.xml did not look correct - when i deployed the war to glass fish it did not work... all help is appreciated...
    Message was edited by:
    huggy77

    I've got a few servlets running alongside my JSC app without problems. They are small basic utilities that do things like fetch file attachments from the database or fetch reports from my report server.
    (If the search facility is now working) you could search the forum for "fileupload" and have a look. Somewhere there's a sample servlet that retrieves an uploaded file.
    That said, the main focus of JSC is to isolate developers from the nitty gritty side of J2EE and you'll most likely find better tools available in, for example, NetBeans and better skilled people to ask on one of the J2EE forums. I think there's even one called "Servlets." I'm not trying to be rude here -- just pointing out that you may be using the wrong tool for the job and may be asking the wrong people about it ;)

  • Error 500 on app update.

    I am trying to update an app i bought from itunes for my iphone. I constantly get the message"The update failed Error 500 internal server error"  I have turned phone on and off, deleted and redownloaded the app but keep geting the same. Any ideas on how to fix this?

    What is your operating system?  Try the offline installer
    Windows: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header
    Mac OS: http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_playe r_11_osx.dmg
    P.S. this is a public forum; please do not post your email address or other private data!

Maybe you are looking for

  • Problem with library and vault

    I would like to know how to take all photos out of Aperture and start over. When I upgraded to V.3, I think I set things up incorrectly. I had a vault but now there is no vault and I now have folders that appear under Projects & Albums that indicate

  • Installer Problems in labview8

    Hi, all I have created the installer with the LV8 application builder successfully, but I encountered several problems when running the installer to install this program to other computers. At the beginning of the install process, the first Error eme

  • Business Objects on SAP R3 or BW data..

    Hello to all. I am looking for an architecture proposal for my company. Our company has SAP R3 source system set up. They also purchased BW licenses but havent done anything with them yet. We are looking to get into Business Objects My question is: w

  • Acrobat 5 not compatible for Windows 8

    I just got a new computer and had downloaded Adobe Acrobat 5 to read pdf files. But this computer has Windows 8 and a screen keeps popping up telling me its not compatible with Windows 8 and that it can cause instability problems. Can anyone please h

  • Iview for userhome user folder

    Hello Portal Experts, I want to create an iview which should open (/userhome/<user-id>) personal folder specific to the logged in user. I found the following thread related to that and I have created a navigational iview and given the path /userhome/