JDev 2.0 & packages

I have package a.b.c. How do I tell JDeveloper 2.0 that the packages start in directory x rather than root?

If you are just trying to use the middle-tier objects (entity objects, view objects, appmodule, and domains) then that should be possible in 9.0.2, but I'd still recommend upgrading to 9.0.3

Similar Messages

  • Jdev creating packages

    jdev creates a package and bean every time I add a page to my faces project through the wizard. I want one package for all of the backing beans in a particular directory, but jdev seems hell-bent on creating a package for each new page. Also, every time I add a component to a page that a package/bean was created for, jdev will create the package and bean again incorrectly.
    I have these packages:
    view.backing
    user
    Jdev keeps creating user.backing package and places all of the beans in there. Any ideas?

    You can prevent the auto-creation of a backing bean by unchecking the preference "Auto Bind JSF Components" in the Tools > Preferences > JSP and HTML Visual Editor screen

  • How to import BC4J package into JDEV project without server.xml file?

    Dear,
    I need to bring the seeded BC4J package into my JDEV OAF project. Usually to do that, once I am sure that all I need is accessible, I open the server.xml file for the BC4J that I need and I am all set - all the items from under that BC4J are brought in.
    How about if there is no server.xml file for that BC4J, for example, under oracle.apps.icx.por.req.webui, and I need to have a controller from under there in my project? Do I create this package (oracle.apps.icx.por.req.webui) manually? If I do that and then open the controller the controller is being brought into JDEV outside the package.
    Thank you.
    Anatoliy

    Sumit,
    Thank for quick response.
    Yes, I agree for the controller.
    But let's say I want to bring over some other xml staff, like some shared regions for example from under that webui. They are also brought outside the package. You have an idea?
    Regards,
    Anatoliy

  • JDev 10.1.2.1: Errors after migration from 9.0.5.2

    We have a rather large project here.
    We're just in the process of migrating to 10.1.2.1 but we're facing a couple of problems. One of them is this:
    When JDev loads the business components (for example when we expand a package containing BCs) we get error messages coming from two VOs (each in a different package) stating that entity attributes of the VO cannot be found.
    The one VO is pretty much dead, you cannot even open the wizard for it.
    In the other VO the attributes are set to transient. I can delete the transient attributes and re-add them from the entity without problem. When I close JDev and reopen it, the attributes are back to transient.
    The only thing I can see that both VOs have in common is the entity. The entity is in a third BC package. I cannot find anything wrong with it. When I rewrite the entity nothing (except the version number) is changed. Same applies to the VOs. No changes worth mentioning when I re-create them and compare them to the 9.0.5.2 versions.
    Now the strange thing is this:
    As I wrote before, the errors come from two VOs in two different packages. The
    entity is in a third package.
    Now I have just observed:
    I close JDev with the package tree in the Applications Navigator closed and
    restart it.
    I then navigate to some random package and open the bc folder -> one error from
    both VOs.
    But when the first bc package is one of the packages with the problem VOs, then
    only one error is produced: from the VO in the other package.
    Example: I open a fourth BC package accounting.bc first -> two errors
    from multiplepatientid.bc.MpiAuthorityDomainLovView and
    staff.bc.StaffMemberAliasEditView.
    When the first BC package I open is staff.bc then I only get the error from
    multiplepatientid.bc.MpiAuthorityDomainLovView. StaffMemberAliasEditView
    works!
    When the first BC package I open is multiplepatientid.bc then I only get the
    error from staff.bc.StaffMemberAliasEditView. MpiAuthorityDomainLovView works!
    Weird isn't it. It seems to depend on the order in which Jdeveloper loads the
    BCs.
    I tried to re-create the project file, to re-migrate the workspace .... nothing has helped.
    The application still works as expected. Just JDev fails to load the business components.
    So, has anyone encountered a similar problem so far?
    I created a TAR for that but the support guy is as puzzled as I am.
    Sascha

    Just for the record:
    This is bug 4669535. We received a one-off patch for it.
    Thanks to everyone at Oracle who was involved.
    Sascha

  • Read-only errors trying to use MDS in JDeveloper 11.1.1.4.0

    JDeveloper 11.1.1.4.0
    I'm trying to set up MDS in our application using the usual docs, cue cards and blog posts.
    We use our own LDAP-based authentication, which we'll set up later. In the meantime, I have a custom UserCC class which just returns one user name.
    In the adf-config.xml setup, in "View", I set to track column.
    In the code I have println statements for each method, my UserCC constructor is called.
    When I rearrange the order of columns, I get the following error messages in my console:
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
    <DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.No other messages or indicators that other forum posts mention, nothing with any more details.
    Here is my UserCC code, built as part of my Models project, put in ...\jdeveloper\jdev\lib\patches
    package oracle.documaker.idocumaker.model;
    import oracle.mds.core.MetadataObject;
    import oracle.mds.core.RestrictedSession;
    import oracle.mds.cust.CacheHint;
    import oracle.mds.cust.CustomizationClass;
    public class UserCC extends CustomizationClass {
        private static final String DEFAULT_LAYER_NAME = "user";
        private String mLayerName = "user";
        public UserCC() {
            System.out.println("XXX In the UserCC Constructor");
        public CacheHint getCacheHint() {
            System.out.println("XXX In the UserCC getCacheHint");
            return CacheHint.USER;
        public String getName() {
            System.out.println("XXX In the UserCC getName");
            return mLayerName;
        public String[] getValue(RestrictedSession sess, MetadataObject mo) {
            System.out.println("XXX I was asked about the user name");
            return (new String[] { "alanabrams" });
    }

    We've always had security on, the only thing that changed was my understanding of how we were doing security.
    Before, I had written a custom UserCC that always returned the same name, after I used the standard UserCC. I had the same results both time.
    The cause of my error message is "MDS repository may be configured incorrectly", which I kind of figured, but there's nothing to point me to diagnose how it is incorrectly configured or how to fix it.

  • Creating a webservice from PL/SQL Package in JDev 11g

    Hi All...
    I have a PL/SQl package and I am using JDEv 11g. I want to create it as a webservice. I want to deploy it in a remote server. Can I deploy it from my client machine. In server Weblogic already started. What are the prerequisites, that we need to deploy a wbservice. I done the following steps.
    1. Create an application.
    2. Right click the package and select Generate Java option.
    3. It create a Java class in the Application sources.
    4. Double click the class and select Create Web Service. It created the web service.
    5. When I select the webservice and click Run it shows the following error. It going to the Default \server. Actually I need it in a remote server.
    [Running application NewWebService on Server Instance DefaultServer...]
    ---- Deployment started. ---- Apr 20, 2009 1:15:40 PM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2009-04-20 13:15:40.205: Writing WAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService\NewWebService-LastNoWebService-webapp
    2009-04-20 13:15:40.222: Wrote WAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService\NewWebService-LastNoWebService-webapp
    2009-04-20 13:15:40.357: Writing EAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService
    2009-04-20 13:15:40.374: Wrote EAR file to D:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\NewWebService
    Deploying Application...
    <Apr 20, 2009 1:15:40 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application NewWebService is not versioned.>
    <Apr 20, 2009 1:15:40 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1240213540593' for task '3'. Error is: 'java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext'
    java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    <Apr 20, 2009 1:15:40 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'NewWebService'.>
    <Apr 20, 2009 1:15:40 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: sqlj.runtime.ref.DefaultContext
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application NewWebService on DefaultServer.: sqlj.runtime.ref.DefaultContext.
    weblogic.application.WrappedDeploymentException: sqlj.runtime.ref.DefaultContext
    #### Deployment incomplete. #### Apr 20, 2009 1:15:40 PM
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
    Caused by: oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
         ... 12 more
    #### Cannot run application NewWebService due to error deploying to DefaultServer.
    [Application NewWebService stopped and undeployed from Server Instance DefaultServer]
    6. when i goto the consoleof weblogic server, already an instance created. But nothing displayed under WebServices.
    7. Select the instance and press 'Start'. While deploying an error came.
    java.lang.Exception: [DeploymentService:290049]Deploy failed for id '1,240,213,727,265' since no targets are reachable.
    Please help me..
    its very urgent...
    Regards,
    Resmi.

    Oh, no - another very urgent question. The world must be about to end ;)
    Resmi, Have a read of [url http://forums.oracle.com/forums/thread.jspa?threadID=883293]this - JDeveloper 11g, as of today, doesn't (at least is not supposed to) support publishing PL/SQL procedures/packages as a web service.
    John

  • Package Creation in JDev 10.1.2

    In JDev 11.1.2 you can create new packaages by right-mouse clicking on the project, then new, then general and selecting package.  How can you create new packages in JDev 10.1.2?
    Thanks

    Hi
    If I need to nest several packages such as oracle.apps.ibe.xxpbs.action, in JDev 10.1.2, I am only presented the ability to create the top level package (oracle) only. Below is the code for which I need to create the correct packages
    package oracle.apps.ibe.xxpbs.action;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public abstract class PBS_IBE_Action
      public abstract String actionPerformed(HttpServletRequest paramHttpServletRequest, HttpServletResponse paramHttpServletResponse, String paramString)
        throws Exception;
    Thanks

  • Problem accessing JDev Generated Web Service on PL/SQL Package

    Hi,
    I'v generated a web service from a pl package using the wizard in JDev for use with Adobe Flex builder. Adobe says they support two types of web services, WSDL 1.1 RPC-Encoded and Document-literal. When I create the web service as Document literal, I am able to consume the web service without errors, however, adobe cannot parse the xml because of the namespace tags. I then created an RPC-encoded type of webservice but then when I run my Flex application, it gives following error:
    [WSDLError faultString="Type tns1:text_xml not resolvable" faultCode="WSDL.BadType" faultDetail="null"]
         at mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::parseMessage()
         at mx.rpc.soap::WSDLOperation/parseMessages()
         at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
         at mx.rpc.soap::Operation/send()
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.rpc.soap.mxml::Operation/send()
         at SandBox/__btnGetEmployees_click()
    It seems that it does not like either something in the encoded message or the WSDL. Below is my WSDL:
    <definitions name="FamWS" targetNamespace="http://labsoma/FamWS.wsdl">

         <types>

         <schema targetNamespace="http://www.oracle.com/webservices/internal">
    <import namespace="http://labsoma/FamWS.wsdl/types/"/>

         <simpleType name="text_xml">
    <restriction base="string"/>
    </simpleType>
    </schema>

         <schema targetNamespace="http://labsoma/FamWS.wsdl/types/">
    <import namespace="http://www.oracle.com/webservices/internal"/>

         <complexType name="ArrayOfGetFamRowUser">

         <complexContent>

         <restriction base="soap11-enc:Array">

         <sequence>
    <element name="item" type="tns:GetFamRowUser"/>
    </sequence>
    <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:GetFamRowUser[]"/>
    </restriction>
    </complexContent>
    </complexType>

         <complexType name="GetFamRowUser">

         <complexContent>

         <extension base="tns:GetFamRowBase">

         <sequence>
    <element name="firstName" type="string"/>
    <element name="id" type="decimal"/>
    <element name="lastName" type="string"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>

         <complexType name="GetFamRowBase">
    <sequence/>
    </complexType>
    </schema>
    </types>
    <message name="FamWS_getFamBeans"/>

         <message name="FamWS_getFamBeansResponse">
    <part name="result" type="tns0:ArrayOfGetFamRowUser"/>
    </message>
    <message name="FamWS_getFamXMLRowSet"/>

         <message name="FamWS_getFamXMLRowSetResponse">
    <part name="result" type="tns1:text_xml"/>
    </message>
    <message name="FamWS_getFamXMLSource"/>

         <message name="FamWS_getFamXMLSourceResponse">
    <part name="result" type="tns1:text_xml"/>
    </message>

         <portType name="FamWS">

         <operation name="getFamBeans">
    <input message="tns:FamWS_getFamBeans"/>
    <output message="tns:FamWS_getFamBeansResponse"/>
    </operation>

         <operation name="getFamXMLRowSet">
    <input message="tns:FamWS_getFamXMLRowSet"/>
    <output message="tns:FamWS_getFamXMLRowSetResponse"/>
    </operation>

         <operation name="getFamXMLSource">
    <input message="tns:FamWS_getFamXMLSource"/>
    <output message="tns:FamWS_getFamXMLSourceResponse"/>
    </operation>
    </portType>

         <binding name="FamWSSoapHttp" type="tns:FamWS">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

         <operation name="getFamBeans">
    <soap:operation soapAction="http://labsoma/FamWS.wsdl/getFamBeans"/>

         <input>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>

         <output>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" parts="result"/>
    </output>
    </operation>

         <operation name="getFamXMLRowSet">
    <soap:operation soapAction="http://labsoma/FamWS.wsdl/getFamXMLRowSet"/>

         <input>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>

         <output>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" parts="result"/>
    </output>
    </operation>

         <operation name="getFamXMLSource">
    <soap:operation soapAction="http://labsoma/FamWS.wsdl/getFamXMLSource"/>

         <input>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>

         <output>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" parts="result"/>
    </output>
    </operation>
    </binding>

         <service name="FamWS">

         <port name="FamWSSoapHttpPort" binding="tns:FamWSSoapHttp">
    <soap:address location="http://glaptop.sharpanalytics.com:8888/SandBox-GetNums-context-root/FamWSSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    I'm not a XML or Web Service guru, so I hope somebody out there has had similar or can help bridge the gap of my Web Service ignorance.
    Thanks

    There are samples and more information on calling Web services from the database here:
    http://otn.oracle.com/tech/webservices/database.html

  • WSDL type names generated by JDev 10.1.2 are prefixed by package name

    Is there a way to prevent JDeveloper to prefix type names with package name? Example:
    package a.test;
    public interface TestWS {
    public PublishType getType( String a) throws Exception;
    When Web Service is generates using this interface, WSDL will have something like:
    <complexType name="a_test_PublishType" jdev:packageName="a.test" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
    Is there a setting to prevent this from happening?
    Thanks,
    Dejan

    By default <c:out/> tag "escapes" the output, option escapeXml is implicitly true
    To change this behaviour add the option: escapeXml="false"
    In your case:
    <c:out value="${bindings.InstituteDescription}" escapeXml="false"/>
    Hope it helped.
    Regards
    Fred

  • How to retrieve DB package from JDev custom context menu

    Hi everyboby,
    I have a question, sorry in advance if it sounds dumb .
    In my JDev project I declaratively added a context menu to a database package (<folder type="PACKAGE">...) . It's to say when log in to a DB and you click on a package you can see the defined custom menu.
    Here is the structure of my custom menu added in the package context menu:
    -MyMenu
         -MySubMenu
    Programmaticaly, I managed to open a JFrame by affecting MySubMenu a java class file (<item className="OpenJFrame"><title>MySubMenu</title></item> for instance) which is in charge of creating the JFrame. Now if I click on MySubMenu a window opens.
    This window simply contains a button "commit package - svn".
    There comes my struggle. The opened window would let me press the button and commit the content of the package but I can't find how to retrieve the name or even the content of the previously clicked package.
    I tried to add a listener to the button and searched for the parent but I miserably failed to access the package.
    Do you have any idea on how I can perform this?
    Thank you.

    Hi',
    I think you are trying to do this "select empName from emp where empID=$empid" and the $empid should dynamically come.
    check this http://kr.forums.oracle.com/forums/thread.jspa?threadID=674513
    -Yatan

  • How to create the BC4J Package in JDev 10g (with OAF)?

    Hi everbody.
    in JDeveloper 10.1.3.1.0
    How to create the BC4J Package for Client Object or Server Object?
    In JDeveloper 9i Ext,
    1. select the Project in Navigator
    2. right-click and select "New Business Components Package... " from the context menu
    3. "Business Component Package Wizard" page appears.
    In JDeveloper 10, I cannot find "New Business Components Package..." from the context menu on the Project.

    Do you have the OA extension installed ?
    If not then please follow the thread Oracle JDev 10g with OAExt for Release 12 now on Metalink
    for more information in this regard.
    --Saroj                                                                                                                                                                                                                                                                                                                                                                                                                   

  • *URGENT* importing third party package into Jdev project

    hi,
    our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
    this is what we do with the package.
    set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
    please note that the "C:\AccBank\beta\" is where the project file locates.
    and follow is the import statement
    import thirdparty.package1.*;
    please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
    Also, please tell me the different purpose between the directory :
    PROJECTFILES and CLASSFILES under the main project directory
    Thank you very much for your time and your help
    Augustina
    null

    Hello,
    I'm not sure about what you mean,
    but in order to use a given package within JDevelopper, you should:
    - select project/project properties,
    - find the libraries tab
    - click "add", then "new"
    - click "class path"
    - click "add ZIP/JAR" and add the various jar files you want to include
    Note: if the included libraries contain subpackages of packages like javax, and you want to deploy your project (as EJB for instance) you will have to edit the deployment profiles in order to add the 3rd party libraries, otherwise, these subpackages won't be deployed (by default, packages suvh as java.lang, javax etc.. are not excluded from the deployment).
    about the PROJECTFILES and CLASSFILES items, they refer to the directories in which your project's source code (PROJECTFILES) and compiled classes (CLASSFILES) are stored
    Hope this helps, Remi
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Augustina:
    hi,
    our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
    this is what we do with the package.
    set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
    please note that the "C:\AccBank\beta\" is where the project file locates.
    and follow is the import statement
    import thirdparty.package1.*;
    please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
    Also, please tell me the different purpose between the directory :
    PROJECTFILES and CLASSFILES under the main project directory
    Thank you very much for your time and your help
    Augustina <HR></BLOCKQUOTE>
    null

  • Error in package while deploying in jDev 11g

    Hi,
    I am following tutorial at http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html . I am using jDev 11g as IDE and its integrated weblogic as server.
    I did made index.jsp and web.xml as said in the tutorial. In the step *"1.8. Create the Controller"* where HelloController.java is created, I am getting following error.
    Project: C:\JDeveloper\mywork\springapp\NewProj\NewProj.jpr
    C:\JDeveloper\mywork\springapp\NewProj\src\springapp\web\HelloController.java
    Error(3,43): package org.springframework.web.servlet.mvc does not exist
    Error(4,39): package org.springframework.web.servlet does not exist
    Error(11,34): package org.apache.commons.logging does not exist
    Error(12,34): package org.apache.commons.logging does not exist
    Error(16,41): cannot find symbol
    Error(18,21): cannot find class Log
    Error(20,12): cannot find class ModelAndView
    Error(18,34): cannot find variable LogFactory
    Error(25,20): cannot find class ModelAndView
    But I hv included the jar files in library by Tools-> Manage Libraries. Also Deploy by Default is checked.
    Kindly check the link below to see the screen shots of included libraries and error.
    https://docs.google.com/open?id=0B1QmVEE-TXMpYTc1NTE2NDItYWQ5NC00NGZkLWJjMTAtMTJiZmNkMTE4Zjg5
    https://docs.google.com/open?id=0B1QmVEE-TXMpODAyMWM3YjItMTZjMC00NGMzLTkyN2MtMDMxNDE4ZGM5YWQ1
    https://docs.google.com/open?id=0B1QmVEE-TXMpZDIyZjYyM2YtYzZkMy00NzJmLTliMDQtMjQzYWE5NTllODE2
    Please guide me.

    Hi,
    Try as follows
    paste relevant libraries to
    "*C:\Documents and Settings\YourLogin\Application Data\JDeveloper\system11.1.1.3.37.xx.xx\DefaultDomain\lib*" path
    and restart the server.
    [This is the domain library directory and is usually located at $DOMAIN_DIR/lib.
    The jars located in this directory will be picked up and added dynamically to the end of the server classpath at server startup. The jars will be ordered lexically in the classpath. The domain library directory is one mechanism that can be used for adding application libraries to the server classpath.
    -Suresh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Importing user defined package in JDEV

    Hi,
    new to the JDEV9i tool. i have a project arranged in packages and am tryin to import this to the jdev9i. i successfully created the workspace and project and added all the packages. I can also view the package tree and package list but when i run my project the files in one directory import the files from the package structure.
    do i have to change Project properties?
    C:\jdev9i\jdev\mywork\Workspace1\Project1\websphinx\workbench\WebGraph.java
    Error(26,14): cannot access class graph.Graph; file graph\Graph.class not found

    It sounds like the Class path is not set up properly. You can configure this manually from the Project Settings dialog (Project > Project Settings). Alternatively, if you import all the packages from the top level, the path should be set for you automatically. For example, if you have your work in a directory structure like this:
    d:\mywork
    d:\mywork\toppackage
    Class1.java
    d:\mywork\toppackage\subpackage1
    Class2.java
    Class3.java
    d:\mywork\toppackage\subpackage2
    Class4.java
    Class5.java
    You can create a new project from existing source by creating a Workspace, then selecting File > New. In the Projects category there is an item called Project from Existing Source. Launch this wizard, and select the top level package from the directory listing (d:\mywork\toppackage in the example above). You then get the option to recurse through subdirectories, picking up all the classes along the way, and the paths will be set automatically. Note that you can use the Categories View button in the Navigator to view the files by package name.
    I hope this helps!
    -- Brian (JDev Team)
    Hi,
    new to the JDEV9i tool. i have a project arranged in packages and am tryin to import this to the jdev9i. i successfully created the workspace and project and added all the packages. I can also view the package tree and package list but when i run my project the files in one directory import the files from the package structure.
    do i have to change Project properties?
    C:\jdev9i\jdev\mywork\Workspace1\Project1\websphinx\workbench\WebGraph.java
    Error(26,14): cannot access class graph.Graph; file graph\Graph.class not found

  • Question (JDev-Extension): Retreive class name with package info

    To JDev Development team:
    I'm developing an JDev 10.1.3 EA1 Addin. I have access to an oracle.ide.model.Node (the currently selected java code file from the Application Navigator / System Navigator).
    Is there a way (inside the Extension API to convert this node to String representation of a qualified java class pointer (package.classname)? Or do I have to use extensive String manipulation on the filename with path?
    Example:
    If the file in the tree is:
    casthouse
      + panel
        + casting
          + CastingPanel.java
        I want to translate this to casthouse.panel.casting.CastingPanel without having to use the Node objects URL.getFile() and manipulate the String object retreived from this, by removing path down to top-level package name and replacing all '/' with '.'.
    I'm sure your API has functions to do this. Either in the JoT packages or in the navigator itself... I've looked, but I cannot find any answers to this in the Extension API javadoc. (ref. post no.4 in Question: Adding extension preferences panels as subnodes in the tree
    Message was edited by:
    Øystein Amundsen

    If you have the Project in which the Node resides, then you can use Jot to get the information that you are looking for. If you don't already have it, you can probably get the project from the Context of the View.
    For example;
    Project prj = ... // Maybe use Context.getProject() to get this value.
    Node node = ...
    JavaManager jMgr = JavaManager.getJavaManager(prj);
    SourceFile srcFile = jMgr.getSourceFile(node.getURL());
    SourceClass srcClass = srcFile.getSourcePrimaryClass();
    String clsName = srcClass.getQualifiedName();

Maybe you are looking for

  • 10g - write back - The system is unable to read the Write Back Template

    hi,experts, I enabled write back on a report. the button (write back) is enabled (not grey) but when I click the button, there is a message The system is unable to read the Write Back Template 'UPDATETESTWRITEBACK'. Please contact your system adminis

  • DDL Replicate Oracle 10gR2 to SQL Server 2005

    Dear Gurus, I have configured OGG and it had succeed to have DML transaction from Oracle to SQL Server. now i'm configuring DDL replication but have problem when i tried to start replicat program in SQL Server 2005, the status is abended. the log sho

  • Oracle VM 3.1.1 with IBM Bladecenter S

    Hi, I need some help for configuration OVM 3.1.1 on Bladecenter S, because the enviroment use SAS connection and when mapped luns to bladeserver, multipath list appear the devices but Oracle VM Manager not appear physical disks. I verified on OVM Ser

  • TS1424 itunes movie rental

    i rented a video on itunes, and it doesn't play the last 30 minutes.  Is there anything I can do to get it to play?

  • Upgrading to new OS

    I have a 2.16 GHz Intel Core 2 Duo with 1GB of memory, running Mac OS X Version 10.4.11 and want to know what's the newest operating system I could upgrade to.  Also can I add more memory?