Deploying Java Studio Creator webapps to SJSAS PE 8.1 + Oracle

Has anybody managed to deploy Java Studio Creator webapps to Sun Application Server PE 8.1 ?
Everything works fine in the Java Studio Creator embeded app server (8.0?), but I get the following error when I try to access the database (Oracle 9):
[#|2005-01-25T20:33:48.642+0000|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.container.web|_ThreadID=19;|WebModule[/smwebinterface]userView Initialization Failure
javax.faces.FacesException: java.sql.SQLException: JDBC driver does not support PreparedStatement.getMetaData()
I'm using the latest (9.2.0.5) oracle jdbc drivers downloaded from their webpage.
Thanx,
Pedro

PreparedStatement.getMetaData() is not required to be supported by a J2EE compliant JDBC driver. This is an optional feature. I would suggest that you post on the Creator newsgroup to see if they have a workaround for you as perhaps their is a config setting.

Similar Messages

  • Is it possible to deploy appln created in java Studio creator

    Dear Everyone,
    Is it possible to deploy appln created in java Studio creator.
    regards,
    Ashish SAMANT

    Hi,
    These will help
    http://developers.sun.com/jscreator/learning/tutorials/2/helloweb.html
    "Debug and Deploy" in the tuorials at
    http://developers.sun.com/jscreator/learning/tutorials/2/helloweb.html
    Thanks
    K

  • Problem with Java Studio Creator and Tomcat Server

    Hi Gays ,
    I have problem:
    here is the error from tomcat 5
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: statement handle not executed: getMetaData
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java: 601)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.ja va:316)
    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)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    if i develop application on my pc ( java studio creator with sun apps bundlled) is working perfectly,
    but i migrated application to Tomcat Server ( Database the same - Oracle 10 g)
    i can't show value ( as text) from datasoruce ( is in SessionBean1)
    (Category-.>Subcat->Items->details( url from items table[items.jsp])
    this is a working url "/faces/testpage.jsp?auk_id=31 "
    ( working with sun apps server , but not on Tomcat 5)
    below prerender method in details.java and fragment of details.jsp
    public void prerender() {
    try {
    String idauk = (getExternalContext().getRequestParameterMap().get("auk_id").toString());
    System.out.println("wartosc auk_id " + idauk);
    if (idauk != null) {
    getSessionBean1().getDetailsRowSet().setObject(1,idauk);
    getSessionBean1().getDetailsDataProvider().refresh();
    details.jsp
    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" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{testpage.page1}" id="page1">
    <ui:html binding="#{testpage.html1}" id="html1">
    <ui:head binding="#{testpage.head1}" id="head1">
    <ui:link binding="#{testpage.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{testpage.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{testpage.form1}" id="form1">
    <ui:staticText binding="#{testpage.staticText1}" id="staticText1" style="position: absolute; left: 120px; top: 96px" text="#{SessionBean1.testDataProvider.value['Name']}"/>
    </ui:form>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    Help People ! Any Ideas I'm stuck, why is working with Sun Servet but not with Tomcat and only just thing ?
    Thanks in advance for helping me to resolve the night problem :)

    Hi I found solution, i puted on the page a table -component (with brand new automaticly created dataprovider) , then i set properties visible= false for table, and now I can bind statictext with database field and deploy on tomcat server .
    But i think it is not a elegant solution in page source i habe noused-code.
    Have Any another Ideas. HELP PEOPLE !!!!
    Mariuszek: I use Creator.because right now I can see result of my job and i can qickly change ideas ,
    I tried with JDeveleper but i did'nt find this functionality (wich version do you prefered ?) , unfortunately i have to deploy my application on Tomcat. This is my study project, and i make this to become a Master of Techinal Univeristy ;), Deadline time is 30 th September :(
    greetings

  • Help needed with Sun Java Studio Creator and EJB in a Portlet Project

    Hi
    I have created an web-application with JSF in Sun Java Studio Creator 2. The web application uses a lot of EJB's which acts as the dataProviders. In a typical jsp page i have more that one data providers(the EJB's) getting used. When i run the project everything opens up properly in the browser and the application seems to be fine.
    But when i create a JSP 168 Portlet project and do exactly the same thing for some reason the Apache Pluto(comes as the default Portlet Container with Studio Creator) conks off.
    Then i started going ahead step by step:
    1. First i created a portletpage and added only one dataProvider(EJB) and ran the project...It gets deployed properly in Pluto and the browser comes up and everything shows up fine.
    2. Just to re-confirm i did the same thing with another dataProvider(EJB). So still we have just 1 EJB in the portlet page. As expected it also worked fiine.
    3. Then when I added more that one dataProviders(EJBs) in the porlet page the Apache Pluto conks off(saying that Pluto is not available)
    I tried doing a lot of things but nothing works...Surprisingly the same thing works when u create a JSF web Application project but the same thing does not work when u create a JSR 168 JSF Portlet Project...
    Did anybody face the same problem..Is it a bug in the Studio Creator...Any help would be highly appreciated.

    Hi,
    There are a few discussion threads in the feedbackprograms portal for Creator 2 EA 2. The URL is:
    https://feedbackprograms.sun.com/login.html
    In the EA discussion forum you will find threads which discuss the concerned topic. In specific look for threads titled:
    # Deploying Portlets
    # Taking a JSC Portlet to Tomcat creates a Faces Mapping Error
    # Problem with Pluto when trying to deploy a portlet
    # Request: JSR-168 Portlet Project without JSF
    We kindly request you to post your further queries related to EA in the above mentioned forum.
    Cheers
    Giri

  • How to do internationalization with Sun Java Studio Creator?

    Hi everybody,
    the Sun Java Studio Creator seems to be a great peace of software ;-) Currently I'm trying to design some forms for a hello-world-test-project. My question now is: how can I realize internationalization with property-bundles? I already managed it to create my own bundles, I set up a few locales (de, en, fr) and put in some "SayHello" Variables. But how can I associate my locale-variables in the .propertie-files with the value- or text-attributes of the UI-Components using the form designer?

    well... it's not working!
    I created some locale-properties. Put a
    <f:loadBundle basename="mypackage.mainlocales" var="messages"/>directly under the "<f:view>"-Tag as it is descriped in the manual.
    But when I write something like
    <ui:label binding="#{sites$main$mainmenu.label1}" id="label1" style="position: absolute; left: 312px; top: 168px" text="#{messages.test}"/>The designer crashes with an error-message:
    javax.faces.el.PropertyNotFoundException: Error testing property 'test' in bean of type null
         at com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
         at com.sun.rave.web.ui.faces.UIComponentPropertyResolver.getType(UIComponentPropertyResolver.java:298)
         at com.sun.rave.web.ui.faces.DataProviderPropertyResolver.getType(DataProviderPropertyResolver.java:264)
         at com.sun.jsfcl.data.ResultSetPropertyResolver.getType(ResultSetPropertyResolver.java:141)
         at com.sun.rave.jsfsupp.container.DesignTimePropertyResolver.getType(DesignTimePropertyResolver.java:169)
         at com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
         at com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
         at com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:350)
         at com.sun.rave.web.ui.renderer.ValueHolderDesignTimeRenderer.encodeBegin(ValueHolderDesignTimeRenderer.java:59)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)Nevertheless - when I deploy my application, the locales are processed correctly.
    What am I doing wrong?

  • API JSF Java Studio Creator

    Hi,
    I have to maintain a webapp created with Java Studio Creator. Several pages import the following taglib : "xmlns:ui="http://www.sun.com/web/ui" and beans use classes from com.sun.rave.web.ui.* packages.
    Where can I find APIs about those components and classes?
    Regards.
    PS : my IDE is Eclipse....

    Check the Woodstock project at dev.java.net. I think that it is the same.

  • Errors with Test Web Service in Java Studio Creator...

    Hi...
    I'm a newbie with web services. I've installed Java Studio Creator in my Win XP Pro environment and I've been following the tutorials on how to add a web service to my projects, etc...
    In any case, I've followed the steps to ensure that my Deployment Server and my Built-In Database Server are active, yet whenever I try to test any of the pre-packaged, built-in web services, I always get the following type of error:
    InvocationTargetException
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:459)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    null
    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:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    HTTP Status-Code 404: Not Found - /OrderService; nested exception is: HTTP Status-Code 404: Not Found - /OrderService
    webservice.orderws.OrderService_Stub.getCustomers(OrderService_Stub.java:327)
    webservice.orderws.orderws.OrderWSClient.getCustomers(OrderWSClient.java:50)
    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:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    HTTP Status-Code 404: Not Found - /OrderService
    com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:302)
    com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:252)
    com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:88)
    com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:92)
    webservice.orderws.OrderService_Stub.getCustomers(OrderService_Stub.java:311)
    webservice.orderws.orderws.OrderWSClient.getCustomers(OrderWSClient.java:50)
    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:585)
    com.sun.rave.websvc.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:450)
    com.sun.rave.websvc.ui.TestWebServiceMethodDlg$MethodTask.run(TestWebServiceMethodDlg.java:1031)
    java.lang.Thread.run(Thread.java:595)
    Can anybody give me a clue as to what I've missed? I was under the impression that Java Studio Creator had everything it needed to be able to successfully test these web services. What it looks like to me, is that the actual web service package is not deployed to the development environment. I have no idea where I would find those, if they were not pre-packaged with the software. Any assistance would be greatly appreciated.
    Thanks,
    Brett

    Are you to see the WSDL using the URL on a browser?
    Check for proxy settings configured in the IDE.
    http://developers.sun.com/prodtech/javatools/jscreator/reference/faqs/technical/webservices/proxies.html
    -Sakthi

  • How To Increase heap size in Java Studio Creator 2

    Hi,
    I'd like to know how I can increase the heap size in Java Studio Creator 2.
    I already tried editing creator.conf, but it doesn't seem to work...
    Can anybody help me?
    thanks.

    In the servers window of creator, right-click 'Deployment Server' and choose 'View Admin Console'. A new web page comes up with the web interface to the Sun Application Server 8. Type your username and password that you configured during installation. I think default username is admin and default password either admin or adminadmin. After you're in, click 'Application Server' link in the left window, then click 'JVM Settings' tab, then click 'JVM Options' tab. Add new JVM option -Xms512m to start the server with 512MB. Find the -Xmx option and edit it to something larger, provided you have enough memory on your system.

  • JSF conflict with Sun Java Studio Creator

    I was trying to use JSF but when i was installing Sun Java Studio everything went ok but there was a step saying "Deploying Web Services" that tool a lot of time about 10 minutes. So i cancelled it and the Sun Java Studio Creator was working well then when i was running the small application it didnt do anything. I think something wrong with the application server. I uninstalled Sun Java Studio Creator and installed it again.
    This time no problems in installation. Then when i was creating a new JSF application when i press finish an error(1) appears and the finish button is dimmed so i have to press cancel and another error occurs(2), but the project gives an error message(3)
    I have been trying to solve this problem but i dont know what to do.

    Please check / post the Creator log file ( Tools -> Java Studio Creator Log File)
    Check / post the server log file as well, which will give more info.
    To view the Sun Java System Application Server log file:
    In the Servers window, right-click the Deployment Server node and choose View Server Log.
    In any text editor, open the log file in the following location: install-directory\SunAppServer8\domains\creator\logs\server.log

  • Weblogic 8.1 & Sun Java Studio Creator

    I'm in a new position where I need to deploy web apps created in Sun's Java Studio Creator to Weblogic 8.1, that hits an Oracle 8i back end.
    I'm curious to see if anyone on this board is using a similar mix of technologies. If so, what drivers are you using in your Studio Creator data sources?
    Thanks!

    Check it out. You will see, there is a problem.
    Error message from Sun Java Studio Creator:
    Start file:///C:\Documents and Settings\computer user\.Creator\EA\websvc\TFormat.wsdl 06/25/2004 12:23:22:�Parsing WSDL. Please wait ..WSDL - file:/C:/Documents and Settings/computer user/.Creator/EA/websvc/TFormat.wsdl 06/25/2004 12:23:49:�Error Parsing WSDL. Please see the log file for details. Exception = modeler error: failed to parse document at "file:/C:/Documents and Settings/computer user/.Creator/EA/websvc/TFormat.wsdl": org.xml.sax.SAXParseException: Content is not allowed in prolog.
    }}

  • Java Studio Creator and JDK

    I'm trying to create a game application using java and i've downloaded both java studio creator and JDK. However i'm having problems of writing the program. Should i use notepad and compile it using JDK? Or can i simply use the java studio creator and type in my java codings? And i cant seem to type in any codings in the java studio creator.
    Can someone help me please? Thank you.
    Message was edited by:
    burpyjac

    Hello, Burpyjac!
    I don't understand what you want to do exactly. If you would like to write an applet for a website maybe Java Studio Creator is not what you want, it's an IDE for developing web applications running in an application server like Glassfisch, SJSAS, Tomcat and the like.
    If your game need animation, drawings in a panel and the like you would need another IDE like Netbeans for example to develop an applet. Of course you can just use Notepad, but a IDE like Netbeans is much more comfortable (syntax highlighting, project managment, debugging).
    Java Studio Creator is an IDE for web applications and it is based on Netbeans (if you saw both you will notice). If your game can live without graphics maybe you can use it - but be aware that this applications do not run alone, you need an application server.
    Cheers,
    Jan

  • Java Studio Creator -- web service -- spring -- hibernate -- database

    Hello,
    Has somebody already worked on an architecture 3 tier including : hibernate, spring, a deployment of the classes "spring" in wsdl (Web service).
    With Tomcat and Axis i deploy some web services (classes --> wsdl), with java studio creator i call the web service and the methods ...
    I would know if it possible to deploy some "spring" classes to have finally (wsdl) ?
    Thanks

    Heh heh heh....welcome to the club.
    There are <b>many</b> of us wanting to integrate Spring with JSC.
    I am working on doing this now, and plan to submit a quick tutorial on the subject to this forum once (if) I get it working.
    To start you off in the right direction though, here are some things I <b>think</b> you need to do.
    1) Make JSC Spring aware by adding the Spring.jar file in the Project Navigator (right click...Create New Library Reference).
    2) Add the package structure you need in Project Manager
    3) Add you Spring configuration file (application-context) in web/WEB-INF
    4) Add your ContextLoaderListener to web.xml.
    5) Get a servlet context and use it to get a WebApplicationContext
    6) Use that to retrieve the bean you need to work with

  • JSF using Sun Java Studio Creator 2

    hi every body:
    i developed an application using Sun Java Studio Creator 2 , now by default the url patterns the creator generates is like this:
    ...../faces/page1.jsp
    now i want the ,, i need to change the extension of the page , so i want to replace it from .jsp to .abc for example , and i want to remove the /faces prefix for each page....
    that's all
    thanks in advance

    Modify URL-PATTERN for your Faces Servlet from /faces/* to *.abc in web.xml
    change
    <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
      <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>to
      <servlet>
           <servlet-name>Faces Servlet</servlet-name>
           <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
           <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.abc</url-pattern>
        </servlet-mapping>hope that might help :)
    REGARDS,
    RaHuL

  • Import EJB to Java Studio Creator 2?

    Hey all, I'm not quite sure if this is where I want to ask this question or not. I could not find another place to so I hope here will be fine.
    I've been working with EJB's and deploying them to JBoss for some time now, however I'm not to great on the UI side of web apps so I am eager to try Java Studio Creator 2. The problem I have come accross is that I can't seem to import my old EJB's into Studio Creator 2...
    Any help on this would be appreciated.
    Thanks in advance.

    Hey all, I'm not quite sure if this is where I want to ask this question or not. I could not find another place to so I hope here will be fine.
    I've been working with EJB's and deploying them to JBoss for some time now, however I'm not to great on the UI side of web apps so I am eager to try Java Studio Creator 2. The problem I have come accross is that I can't seem to import my old EJB's into Studio Creator 2...
    Any help on this would be appreciated.
    Thanks in advance.

  • Is Java Studio Creator only for very little projects?

    Hi
    I'm developing a large program with about 100-pages. I found terrible to navigate by ApplicationOutline, Property Binding and Page Navigation.
    1. ApplicationOutline should show subfolder structure hierarchically
    2. Property Binding should open the page of the binding element, and hierarchical property should be alphabetically sorted
    3. Graphical Page Navigation is just a game. I need only a tree view with add/delete management
    of navigation-rule
    Thanks
    Nicola Grippaldi

    "Sun Java Studio Creator 2, Early Access
    Please be aware of the following issues:
    * There are a number of known issues with the Refactoring feature.
    Before using it:
    - Make a backup of your project
    - Read the full Release Notes referenced below
    * Avoid using subfolders for your web pages.
    * You might have deployment problems, such as:
    - OutOfMemory exceptions
    - Theme switching not taking effect
    - Some other deployment failure
    If you do have these deployment problems, then:
    1) Undeploy.
    2) Stop the Application Server.
    2) Clean the build.
    3) Start the Application Server and redeploy.
    * Projects created in Creator 1.0 can be imported, but you cannot
    use the new components on the imported pages. We are investigating
    creating a conversion utility to the new page structure.
    The Sun Java Studio Creator 2 Installation and Release Notes provides
    information on installing and uninstalling the product and describes
    known bugs and issues. The document is located at:
    http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/reference/docs/Installation_ReleaseNotes-ea.html
    Thank you for evaluating our Early Access release."
    This is the content of the README.html.
    Creator is only a preview and you should not try to use it with large web sites. The tool has so many bugs and performance lacks, many features seem not to be tested by Sun that it would be a waste of time.

Maybe you are looking for