Studio Creator - Pointbase database - ApplicationModel - AppModel4 - DDL ?

Hello,
Does anyone know how i can get the DDL text from the Pointbase database for the AppModel4 tutorial.
Basically, i want to use that DDL to create some tables in Oracle.
In Creator, i see where you can write SQL to query specific tables, but the DESC command doesn't show the DDL apparently!
Thanks very much!

Hi -,
PointBase Travel schema populating java class is available at:
$Creator/startup/samples/PBCreateTravelDB.java
I do have such a java class for populating Travel Schema in Oracle. If you can email your request to CreatorFeedback AT sun DOT com, i can send email that file back to you.
Regards,
Sakthi

Similar Messages

  • 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

  • Integrate Hibernate with Studio Creator

    Hello,
    while I tried to integrate Hibernate to my Studio Creator application, I already despaired by receiving a Sessionfactory.
    Here is my code:
    Configuration cfg = new Configuration().configure(
    new URL("http://localhost:28080/ArtistTrackApp/resources/hibernate.cfg.xml"));
    cfg.addURL(new URL("http://localhost:28080/ArtistTrackApp/resources/Artist.hbm.xml"));
    SessionFactory sessionFactory = cfg.buildSessionFactory();
    The last row throws a courios exception:
    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 org.hibernate.property.BasicPropertyAccessor.getSetterOrNull(BasicPropertyAccessor.java:233)
    at org.hibernate.property.BasicPropertyAccessor.createSetter(BasicPropertyAccessor.java:214)
    at org.hibernate.property.BasicPropertyAccessor.getSetter(BasicPropertyAccessor.java:209)
    at org.hibernate.mapping.Property.getSetter(Property.java:255)
    at org.hibernate.tuple.PojoEntityTuplizer.buildPropertySetter(PojoEntityTuplizer.java:259)
    at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:103)
    at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
    at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
    at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
    at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
    at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
    at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1154)
    at artisttrackapp.StartPage.prerender(StartPage.java:285)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.prerender(ViewHandlerImpl.java:860)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    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)
    The same Code in an eclipse environment works, so the configuration file and the mapping file are definetly right. I suppose it has something to do with the application server thing?!
    What the hell should I do?
    Please help me!
    Greetings

    In order to use Hibernate, you will need to grant the required permissions (detailed below) in the server config. Modify your server.policy file as follows:
    The server.policy file is located under <app server home>\domains\creator\config\server.policy
    // Basic set of required permissions granted to all remaining code
    grant {
         permission java.lang.RuntimePermission  "loadLibrary.*";
         permission java.lang.RuntimePermission  "queuePrintJob";
         permission java.net.SocketPermission    "*", "connect";
         permission java.io.FilePermission       "<<ALL FILES>>", "read,write";
            // work-around for pointbase bug 4864405     
            permission java.io.FilePermission "${com.sun.aas.instanceRoot}${/}lib${/}databases${/}-", "delete";
            permission java.io.FilePermission "${java.io.tmpdir}${/}-", "delete";
         permission java.util.PropertyPermission "*", "read";
         permission java.lang.RuntimePermission     "modifyThreadGroup";
         // -------------------- TRY THIS ----------------------
         // Permission for CGLib, part of Hibernate framework
         permission java.lang.RuntimePermission "getProtectionDomain";
         permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
         permission java.util.PropertyPermission "*", "read, write";
    ...Restart your app server. Do you still get the problem?

  • 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

  • Error in deploying the java studio creator application to tomcat

    Hi,
    I'm trying to deploy my Sun Java Studio application to Apache Tomcat 5.0.28.
    A simple JSF web application built using the creator works fine after deploying the war file under tomcat/weapps directory.
    In case of a application with databse connection I'm getting the
    " com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' "
    above error. My application connects to Oracle database using the Oracle Server type provided by the Studio Creator.
    I have copied
    jstl.jar
    standard.jar
    to webapps\%app%\WEB-INF\lib
    The below url is currently not available ( Page not Found )stated as a solution in most of the querries regarding the deplyment to tomcat.
    http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/deploy_to_tomcat.html
    Thanks for any help
    abhi

    I had similar problems.
    I used mysql with tomcat and have mysql in my Creator environment as well but still had the driver message you experienced.
    I found that simply copying the WAR file into the webapp directory in tomcat caused a faulty deployment (it was creating /etc/tomcat5/localhost/YourProject.xml as a directory, not as a file)
    I updated my Projects/MyProject/build.xml to include a deploy target and I manually execute the ant deploy step (having not figured out how to tweak the internal ant within Creator)
    Note that this requires two jar files (see comments in the ant definition)
    <project name="YourRoster" default="default" basedir=".">
        <description>Builds, tests, and runs the project YourProject.</description>
        <import file="nbproject/build-impl.xml"/>
       <property file="build.properties"/>
       <property name="appdir" value="."/>
       <property name="distdir" value="${appdir}/dist"/>
       <property name="warfile" value="${distdir}/${app}.war"/>
       <property name="builddir" value="${appdir}/build"/>
       <path id="classpath">
          <pathelement location="${servlet.api.jar}"/>
          <pathelement location="${jsp.api.jar}"/>
          <fileset dir="${builddir}/WEB-INF/lib">
             <include name="*.jar"/>
          </fileset>  
       </path>
       <!-- requires tomcat/server/lib/catalina-ant.jar -->
       <target name="lrp-init">
          <tstamp/>
          <fail unless="app" message="Run ant -Dapp=... or update 'build.properties'"/>
       </target>
       <target name="deploy-tomcat" depends="dist"
          description="Deploy web application.">
          <echo message="Deploying ${app} ..."/>
          <taskdef name="deploy"  
             classname="org.apache.catalina.ant.DeployTask"/>
          <deploy url="${manager.url}" username="${username}"
             password="${password}" path="/${app}"
             war="file:${warfile}"/>
       </target>
       <target name="undeploy-tomcat" depends="lrp-init"
          description="Undeploy web application.">
          <echo message="Undeploying ${app} ..."/>
          <taskdef name="undeploy"   
             classname="org.apache.catalina.ant.UndeployTask"/>
          <undeploy url="${manager.url}" username="${username}"
             password="${password}" path="/${app}"/>
       </target>
       <!-- requires ant-contrib (http://ant-contrib.sourceforge.net) -->
       <target name="try.undeploy-tomcat" depends="lrp-init"
          description="Call the undeploy task (which may fail).">
          <taskdef resource="net/sf/antcontrib/antcontrib.properties"/> 
          <trycatch>
             <try>
                <ant target="undeploy-tomcat"/>
             </try>
             <catch/>
          </trycatch>
       </target>
       <target name="redeploy-tomcat" depends="try.undeploy-tomcat,deploy-tomcat"
          description="Undeploy and deploy web application.">
       </target>
    </project>In addition, the build.properties...
    jsf.dir=/opt/jsf-1_1_01
    tomcat.dir=/opt/tomcat5
    app=YourProject
    username=tomcatAdminUser
    password=tomcatPassword
    manager.url=http://localhost:8080/manager
    servlet.api.jar=${tomcat.dir}/common/lib/servlet-api.jar
    jsp.api.jar=${tomcat.dir}/common/lib/jsp-api.jar
    jsf.lib.dir=${jsf.dir}/lib
    jstl.lib.dir=${tomcat.dir}/webapps/jsp-examples/WEB-INF/lib
    commons.lib.dir=${tomcat.dir}/server/lib
    jsf.libs=jsf-api.jar,jsf-impl.jar
    jstl.libs=jstl.jar,standard.jar
    commons.libs=commons-beanutils.jar,commons-digester.jarHope this helps.
    ...Lyall

  • Problem installing  Sun studio creator Please help

    can come one please help me with this
    i am trying to install sun studio creator on ubunutu but i get an error message saying unable to complete the install
    the install logs shows the following error
    (27-Dec-2005 17:37:35), Setup.product.install, com.sun.installer.PostInstallCoreAction, msg1, Sun Java Studio Creator Error encountered while installing Sun Java Studio Creator. Please review the log file under this directory: /home/karl/Creator
    (27-Dec-2005 17:37:40), Setup.product.install, com.sun.installer.PostInstallWizardAction, err, Error setting pointbase port
    (27-Dec-2005 17:37:40), Setup.product.install, com.sun.installer.PostInstallWizardAction, err, Skipping PostInstall actions due to Application Server installation failure with exitcode: -500
    any help would be most appreciated
    karl

    http://forum.java.sun.com/thread.jspa?threadID=5308609

  • Opening .pdf stored in oracle in studio creator

    I used iText libraies to open stored (as Blob or Clob type data) .pdf in oracle 10g release 2 database in studio creator.
    I'm using thin client driver...in oracle
    All things (uploading and retrieving ) works fine with the built in database..(point base)
    But when it comes to connect with oracle and for both retreieving and uploading the stored pdf,it is not working....
    Please help me regarding this matter

    Can you answer a few questions, to help track this down:
    What happens when you try to retrieve or upload a .pdf using Oracle?
    Can you store/retrieve .pdf files from the Oracle DB with a standalong application? That would tell you whether the problem lies with Creator, or Oracle.
    Finally, which JDBC driver are you using? Java Studio Creator bundles some Sun-branded drivers, which are supported. It sounds like you may be using the Oracle driver, which is not as compliant with the JDBC spec.

  • Basic vs Standard componets in Sun Studio Creator

    Hello,
    I am fairly new to JSF and trying to build a JSF webapplication. I am using Sun Studio Creator
    I would like to know what is the difference between the Basic and Standard components...is there a specific one I should be using, or any would be fine ?
    Thank you very much for the help.

    Yes you can create Portlets for JBoss Portal using JSC as I have been doing a project with it! However, it isn't quite straightforward as exporting a war file. You need to delete a couple of JSC exported files, create at least 2 JBoss specific files to make it work in JBoss Portal. Then to use the user restrictions part of JBoss Portal i.e. assigned specific portlets to specific users, you will need to create another file. I'll post on this in due course (once I've found my crib sheet!).
    There are a couple of issues though especially with the table components.:
    The BASIC table in JSC gives you a sort by column and this sends out a stream of error messages in JBP when it is used. Fortunately, the workaround is to just untick the table "sortable" box. That removes the sorting ability and the table works fine as does the paging ability. You can also set the number of rows returned. The major issue you will discover about the BASIC table component is that the empty message i.e. no results returned/found will also give you an endless stream of error data. I worked around it by running a separate SQL query to get a result and then allow the page with the table to be shown otherwise redirect it. Not exactly elegant but it works. The STANDARD table component does not give this error. You don't see these any of errors when deployed in the Pluto portal that comes with JSC.
    I also found that the choice of database is also an issue. JBoss recommends Postgresql but although it did work to a point in JSC, it did throw up an error with dropdown databinding (no idea!). So I changed to Mysql 5 which works fine in JSC but JBP requires a small workaround but prefers Mysql 4. If you're asking why not stick with v4? Well my project required the use of Views which aren't available in v4 let alone foreign keys. Think "compromise" and you will be fine!

  • Cannot create a Sun Java Studio Creator project

    After successfully installing Sun Studio Creator on a machine running Fedora Core 7 I find that I am unable to create a JSF Web Application.
    Studio Creator will create an initial project in the home/john/Creator subdirectory and then create a project.xml file there. The application then hangs while showing the mouse cursor in a wait state that never ends.
    Studio Creator was installed using a config file called "creator-2_1-linux-ml.sp" while running in the -silent mode.
    Why you might ask? Because that is the only way it would install.
    The .sp file contains the following:
    installDir=/home/john/StudioCreator
    jdkHome=�/usr/java/jdk1.6.0_02�
    serialNumber=�trial�
    is.debug=1
    The app was installed using the command ./creator-2_1-linux-ml.bin -silent
    It would not install using xhost + localhost/export DISPLAY=localhost:.0.0
    Any ideas?
    Edited by: skunkboy on Dec 3, 2007 9:05 PM
    Edited by: skunkboy on Dec 3, 2007 9:09 PM

    I am having the same issue. I have kubuntu linux ; downloaded the creator install file "*creator-2_1-linux-ml.bin*" and installed the creator. When studio creator runs, it is unable to create initial project and I see only xml file.
    Eventhough Netbeans works good; but creator has integrated database provided; so it is easy to follow tutorials given on sun website.
    Any clues...

  • 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

  • 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.

  • Can't install Java Studio Creator 2!!!

    Hello,
    First of all I just want to say that I tried a lot to solve this problem myself, I read lots of help and visited lots of website, but couldn't solve this problem !!!!!!!
    I downloaden Java Studio Creator 2 and trying to install it, but while installing the installation just stops without saying anything!!
    I downloaded it several times now coz I thought the file was corrupt, but it didn't work!!.
    I never had the Creator before so the other tips wouldn't work!!!
    At the end of all wizard screens when it should install the Creator 2 the installation exits withouts giving any messages and does nothing more!
    Could someone please give me some advice on how to slove this problem?
    Thanks in advance

    You are probably running out of Ram, and maybe even low on hard disk space to. The minimum system requirement is 512 MB of Ram. I am running 768 MB, but even with that I am virtually maxed out with Creator, a database, and the App server running. Those three items are really needed for development, and I have noticed that if I do actually max out the RAM the Appserver will not start and I have to reboot.
    I would say for development with creator you really need 1 Gig of Ram, which I will be upgrading to in a couple weeks.

  • Help needed with evaluating Sun Studio Creator

    I am evaluating Sun Studio Creator as a platform for developing JSF applications. I really like its WYSIWYG editor, but strugging with how I would fit it in my environment. I currently use a Maven generated EJB layer running on JBoss.
    1) Ideally I would like to package my EJBs and WAR into one EAR and deploy it on JBoss. Is this possible through the IDE? I would still like to keep my Maven scripts for building the EJB layer (basically I like Maven lot more than Ant and I am not willing to give up its functionality). How would I go about doing EJB development using Maven in parallel with front-end development using JSC?
    2) Does Sun Studio Creator somehow lock me into its framework? I see that the code it generates uses custom tags such as the Web UI tags. I have not seen any good documentation justifying why I should be using these custom tag libraries and framework - giving up my freedom to experiment with other approaches. For that matter, I was not able to find a "user guide" on the tag libraries at all - only the javadocs, which are more like reference material. Can someone point me in the right direction?
    3) If I wanted to use just the standard components specified in the JSF specification, which tool bars should I limit myself to? The "Standard" toolbar? Also does it mean that I will need to manually rip out the auto-generated elements such as Web UI tags, framework specific backing beans etc. Would a "seasoned" JSC user even think of using the tool in this way?
    I would really appreciate any guidance you can give me on this topic.
    Thanks.

    Before I forget, I want to pass on the following feedback from my evaluation. Hopefully some of these items can be addressed in the upcoming release. Please note that I am not a JSC power user, so some of the impressions were made during a very limited evaluation period.
    1) It seems that JSC was designed to allow only the use of its framework/components such as the Web UI components etc. It seems pretty hard NOT to use the JSC framework/components and introduce other frameworks such as Tiles. I would prefer if JSC took a more flexible approach of also supporting other ways in which people may want to develop JSF applications.
    2) Support for a robust page templating mechanism. I really don't know how to create large complex web sites without introducing something like Tiles.
    3) Native support for Maven. I am sure people know the goodness of Maven and I should not have to list its advantages. It would be really nice if I can just point to a Maven pom.xml file and build my project, instead of messing around with Ant scripts. This would also mean supporting nested Maven projects.
    4) Full support for packaging and deploying ear files. This means the ability to support EJB projects living side-by-side with Web projects.
    5) It was not clear from the tutorials whether the databound controls work only with databases or can I bind them to in-memory objects. It would be good to allow binding to data transfer objects received from the middle-tier rather that going directly at the database.

  • Cloudscape & Java Studio Creator - Need Connection URL for toursDB

    Has anyone been able to create a data source and connect to the bundled demo databases in the default Cloudscape installation (sample or toursDB) with Java Studio Creator on MacOS X.
    I have Cloudscape running ok and I have Java Studio Creator running and I added the "derby.jar" and "derbytools.jar" files to the jar list in Java Studio creator but I'm not sure what the connection URL should be to connect to the example databases.

    Well, I think I now to having everything working!! I was able to connect to one of the sample Clouldscape databases (bundled with the Cloudscape 10.0 distribution in SJCS) - I had to do the following
    --- 1 --- After downloading a Java tool called DbVisualizer Free 4.1.1 and reviewing its documentation I was able to discover how to set an essential Java System Property for it as well as Sun Java Studio Creator on MacOS X. The property was derby.storage.fileSyncTransactionLog=true. This was needed to work around an Apple Java VM problem by bypassing code that uses write sync (rws) mode. The info for this is on the Apache site at: http://www.ibm.com/Search?q=Cloudscape+failures+on+Mac&v=14?=en&cc=zz&Search.x=47&Search.y=10 and the info for setting system properties on "double clickable Java Apps" on MacOS X can be found at: http://www.dbvis.com/products/dbvis/doc/4.1.1/doc/ug/admin/admin.html
    --- 2 --- Using the tool in *1* above I then actually got it to connect to an existing sample bundled Cloudscape database using the following connection URL jdbc:derby:/pathToTheDatabaseDirectory (needed to add the path to the URL) and the userID and Password as user1,user1 for reasons stated in the following forum link http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=370&thread=66046. I also used the driver class org.apache.derby.jdbc.EmbeddedDriver.
    --- 3 --- Finally, using the config info I used in *2* above I then used the following settings in Sun Java Studio Creator
    DataSource Settings Panel Fields set as follows (for Cloudscape 10.0 installation)
    DisplayName ---> Cloudscape
    JDBC Driver Jar Files ---> derby.jar
    Driver Class Name ---> org.apache.derby.jdbc.EmbeddedDriver
    URL Template ---> jdbc:derby:
    And then......Add Data Source panel fields set as follows
    ---DataSourceName --> datasource1
    ---ServerType____ Cloudscape
    ---HostName ---> left this blank
    UserID -> user1
    ---Password ---> user1
    ---DatabaseURL ---> jdbc:derby:/Applications/IBM/Cloudscape_10.0/derbyDB
    ---DriverClass ---> org.apache.derby.jdbc.EmbeddedDriver
    thanks for your help. I had been able to connect to Cloudscape programmatically (which your blog documents well), but getting the Sun Java Studio Creator (SJSC) IDE configured for Cloudscape wasn't obvious. Hopefully the above info in *1* and *3* will help anyone using the SJSC IDE on MacOS X. The DbVisualizer Free 4.1.1 is a slick tool I discovered along the way as well.

  • Cloudscae & Java Studio Creator - Need Connection URL for toursDB

    Has anyone been able to create a data source and connect to the bundled demo databases in the default Cloudscape installation (sample or toursDB) with Java Studio Creator on MacOS X.
    I have Cloudscape running ok and I have Java Studio Creator running and I added the "derby.jar" and "derbytools.jar" files to the jar list in Java Studio creator but I'm not sure what the connection URL should be to connect to the example databases.

    1. load up the embedded driver.
    2. use jdbc:derby:toursDB as the database URL.

Maybe you are looking for

  • Can I transfer/migrate my mail address book from my old G5 OS 10.4.11 to a new Maverick 10.9.4 ?

    Can I transfer/migrate my mail address book from my old G5 OS 10.4.11 to a new Maverick 10.9.4 ?

  • FCP 7 Sequence Aspect Ratio Issue

    I apologize in advance if I'm using to incorrect terminology. I've upgraded to FCP 7 and my questions concerns aspect ratio. I've just finished two sequences which are ready for export. When I first started capturing video from my Sony DCR-HC-30. I d

  • Running programs designed for 10g Ex on 11g Ex

    I am one of those individuals who over the last couple years has been frustrated because of Oracle 10g will not run on 64bit Windows. I use a Oracle 10g Ex based program that was developed by a third party. It runs successfully on a ADM 64 bit system

  • Where can I find my password

    Where can I find my password to enter my AirPort Extreme WiFi network? Please help.

  • FCE Won't Open - just installed

    I work with a school that is trying to install FCE 4. It seems to install just fine, and when they open it, it starts to load, but then suddenly disappears and nothing opens. They made sure the computer (iBook) met the necessary specs, and other scho