JDevTeam!!!

Hi all!
I need some help!
How do I know where are my ejb4s deployed?
By the way, can I deploy ejb4s remotely?
And finally, when I4m deploying an EJB with JDev tools I get this error:
ORA-29540: class oracle/aurora/rdbms/dbmsjava does not exist.
If it is included in my classpath, might be that I4m not proceeding correctly in order to deploy the ejb?
null

Silvia,
See the following HowTo posted on OTN by a peer a while ago:
http://technet.oracle.com:89/ubb/Forum2/HTML/006494.html
Before you can deploy an EJB to Oracle8i, you will need to make sure your IIOP listener is setup and listening correctly. Check the Oracle8i Enterprise JavaBeans and CORBA Developer's Guide for complete information about setup parameters and such.
Once you have the database side enabled, you will need to create and test an IIOP connection in JDeveloper. It sounds from your error that your database may still need some tweaking. Once you have an IIOP connection, you can double-click on it in the Navigator to display the database browser and view all deployed EJBs.
AFter you have created your EJB, you can choose Project | New Deployment Profile in the IDE to launch the Deployment Profile wizard. From there, you can use the context-sensitive help to find out more information about your deployment options.
I'm not sure what you mean about deploying remotely. YOu can deploy to a remote database, if that is what you mean.
Laura

Similar Messages

  • JdevTeam - Please provide addin code for 9i and Dreamweaver

    Can someone on the JDev team plase post the code for integrating Dreamweaver with Jdev 9i on the JDev source code samples site? This was demonstrated at ODTUG in Las Vegas.
    Thanks!

    I don't know about the ODTUG demo, but the toolmanager extension from the JDeveloper extension exchange can easily be used to get dreamweaver (or any other tool) to execute when you right click on an HTML file.
    Check it out at:
    http://otn.oracle.com/products/jdev/htdocs/partners/addins/exchange/toolmanager/content.html

  • How to get JDev 10.1.2/ADF working with MS SQL Server Identity Column

    Hello JDevTeam & JDevelopers,
    I want to use JDev/ADF with a MS SQL Server 2005 database that contains tables employing IDENTITY Columns.
    Using JDev/ADF and DBSequence with an Oracle database employing before triggers/sequences accomplishes what I am trying to do except I want to accomplish the same thing using a MSSQL Server 2005 database. Unfortunately I cannot change the database.
    I have been able to select records but I am unable to insert records (due to my lack of knowledge) when using MS/SQL Server Identity Columns with JDev/ADF.
    The following are the steps taken thus far.
    Step1: Create table named test in the 2005 MSSQL Server (see script below).
    Step2: Register 3rd Party JDBC Driver with JDeveloper; Using use Tools/Manage Libraries. Create a new entry in User Libraries with the following;
         Library Name     = Ms2005Jdbc
         Class Path     = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu\sqljdbc.jar
         (note: Latest TYPE 4 JDBC driver for Microsoft SQL Server 2005 - free at http://msdn.microsoft.com/data/ref/jdbc/)
    Step3:Create New Database Connection;
         Connection Name = testconn1
         Type = Third Party JDBC Driver
         Authentication Username = sa, Password = password, Check Deploy Password
         Connection
              Driver Class = com.microsoft.sqlserver.jdbc.SQLServerDriver     
              Library = Ms2005Jdbc     
              Classpath = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu
              URL = jdbc:sqlserver://192.168.1.151:1433;instanceName=sqlexpress;databaseName=test
         Test Connection = Success!
    Step5: Create a new application workspace using Web Application default template
    Step6: In Model project, Create new Business Components Diagram.
    Step7: Create new Entity Object. Goto to connections/testconn1, open tables and drag table test onto the diagram.
    Step8: Generate Default Data Model Components by right-clicking on Entity Object. Except all the defaults.
    When I test the Appmodule I select the view object and can scroll through all the records without error. If I try to insert a record, I get JBO-27014: Attribute testid in test is required.
    Going back to the EntityObject I deselect the Mandatory attribute and re-run the test. Now when I try to insert it accepts the value for testname but it does not update the PK testid like it would using an "JDev/ADF/DBSequence/Oracle database/before trigger/sequence" solution.
    Going back to the EntityObject and selecting refresh on insert does not solve this problem either. Changing the URL connection string and adding "SelectMethod=cursor" did not help and changing the SQl Flavor to SQLServer produced errors in the Business Components Browser. I've tried overriding isAttributeChanged() and other things as well.
    I am totally stuck! Can anyone provide a solution?
    Thanks for you help,
    BG...
    Create table named test
    use [testdb]
    go
    set ansi_nulls on
    go
    set quoted_identifier on
    go
    create table [test](
         [testid] [int] identity(0,1) not null,
         [testname] [nvarchar](50) collate sql_latin1_general_cp1_ci_as not null,
    constraint [pk_test] primary key nonclustered
         [testid] asc
    )with (pad_index = off, ignore_dup_key = off) on [primary]
    ) on [primary]

    Figured it out!
    When using the MS SQL Server 2000 Database with the MS JDBC 2000 Driver you specify the SQL Flavor to SQLServer. However setting the SQL Flavor to SQLServer with MS SQL Server 2005 Database and the MS JDBC 2005 Driver will *** fail ***.
    When working with the MS SQL Server 2005 Database and the MS JDBC 2005 Driver you set the SQL Flavor to SQL92 and the Type Map to Java.
    If using a named instance like I am you would specify the URL = jdbc:sqlserver://<db host ip address>:<listening port>;instanceName=<your instance name>;selectMethod=cursor;databaseName=<your database name> (note: leave out the < >)
    The 2005 Driver Class is different then the 2000 and is specified as com.microsoft.sqlserver.jdbc.SQLServerDriver
    Note: In a default MS SQL Server 2005 installation the listening port will change *** everytime *** the host is restarted! You can override this though.
    For the primary key you need to deselect the Mandatory attribute in the EntityObject editor.
    Set Refresh on insert/update = no.
    Set Updateable = never.
    Now my Primary Keys which get their values from the Identity Column are working with ADF in a predictable way.
    Simple enough but I have been away from this stuff for awhile.
    BG...

  • View Link with destination VO in expert mode

    I have view link with the destination View Object in expert mode for applying a custom query.
    The view link doesn't run nicely because it seems to never find the right table.
    Does anyone manage to create this kind of view link based on a custom query in the destination VO?
    Thanks
    Olivier.

    Hi,
    I had also the same problem, I needed to query two tables which are in a Master-Detail relationship, the only way to do this is to write a new bean, extendind the FindForm bean to make a query like this:
    select * from mastertable where condition4mt and pk_mastertable in ( select fk_pk_mastertable from detailtable where condition4dt)
    So after this you get a pointer in the master table, but your condition to the detailtable is not considered from the ViewCurrentRecord Bean. I didn't go further to extend the ViewcurrentRecord bean, because this solved my problem, besides I think it would be also very difficult.
    JDevTEAM !!! are you planing to solve this king of problem ???
    I know that I can force the VO.setWhereClause() to force some condition on the detail, but are you planing to extend the ViewCurrentRecord bean to have also a master-detail view with a restriction also on the detail table ???
    TIA,
    Seb.

  • Where clause - parentheses versus view link

    I have detail View Object DetailVO with where clause "status=1 or status=2" and I add it to AM as detail of masterVO.
    Then the link doesn't work, I suppose BC4J create new where clause as "status=1 or status=2 and :1=....". But it means "status=1 or (status=2 and :1=....)"!!!
    I put detail VO where clause into parentheses "(status=1 or status=2)" and everything was OK - ViewLink worked.
    It is very bad feature of ViewLinks, isn't it?
    Jan

    Well, now I know I must always surround OR clauses with parenthesis.
    But I was very confused about it. My ViewLink didn't work and I did't know why... I think, that if BC4J adds ViewLink condition, that it must handle the ViewObject whereClause and surround it with parenthesis. Otherwise it is very strange behaviour, isn't it? Added ViewLink condition shouldn't affect the original whereClause!
    Any JDevTeam comment?
    Jan

  • JBO HTML - SessionTimeOut isn't working !!! Urgent !!!

    Hi,
    I'm just using JDev 3.1 and after running a JSP Application, closing the browser it seems like the framework is never closing the session. so that after some time when trying again the application main.jsp I get
    the last session, and I could implement a solution like in the bc4jauctions example, with a sign_off.jsp which sets the "ISLOGGEDIN" session parameter to "FALSE" but what if the user kills his browser without setting this value to false, the next time he getts his last session, also no problem, but if we like to implement some security level to the application this could be a big problem for us.
    JDevTeam please advise !!!
    TIA,
    Seb.

    The session cleanup is done by the JSP runtime. When the HttpSession times out, all the contained objects get removed. On of the objects placed on the session implements the HttpSessionBindingListener interface. Wehn this object gets removed from the HttpSession (as a result of the session timing out) , the application module gets checked back into the AM pool.

  • JSP compile warnings

    Folks !
    I have been getting this nuisance warning for ages and I though it was time to get rid of them. Compiling any JSP in JDeveloper I get:
    Warning: package name _jsp.xxxx does not match source file name xxxx
    What is it ?
    Also, anyway to suppress Java compiler warnings so I can look at errors only ?
    thanks a lot,
    -Sanjay

    I have the same problem (many warnings....), but it hasn't cause any problem while running.
    I thing this is becasuse I use uppercase letters inside names of directories.
    Example:
    - my page: public_html/BP/Aplikace.jsp
    - compiled to .java: classes\.jsps\_BP\_Aplikace.java
    - third line of Aplikace.java: package bp;
    So there is the problem: "_BP" (name of directory) versus "_bp" (name of package)!!!
    I thing this is a bug.
    If I am right, I have question for JDevTeam - will it be fixed?

  • Custom VO: checking view link params

    Hi!
    I am writing a custom ViewObjectImpl to retrieve data from webservices.
    I am now implementing master-detail functionality via the view links.
    I know that in the executeQueryForCollection the query will get executed, and that all named parameters will be passed using a Object[]. When the query is executed via a view link, a Bind_Attribute parameter will be passed.
    Only, how can I dynamically map this name on the corresponding view object attribute? The name of the bind parameter contains the attribute name of the source view object, but I need the name of the destination view object attribute.
    I tried looking into the results of getViewLinks(), but I do not find any methods that can return me the view link definition and corresponding attributes.
    Is this possible?
    Jeroen van Veldhuizen

    Hi,
    I had also the same problem, I needed to query two tables which are in a Master-Detail relationship, the only way to do this is to write a new bean, extendind the FindForm bean to make a query like this:
    select * from mastertable where condition4mt and pk_mastertable in ( select fk_pk_mastertable from detailtable where condition4dt)
    So after this you get a pointer in the master table, but your condition to the detailtable is not considered from the ViewCurrentRecord Bean. I didn't go further to extend the ViewcurrentRecord bean, because this solved my problem, besides I think it would be also very difficult.
    JDevTEAM !!! are you planing to solve this king of problem ???
    I know that I can force the VO.setWhereClause() to force some condition on the detail, but are you planing to extend the ViewCurrentRecord bean to have also a master-detail view with a restriction also on the detail table ???
    TIA,
    Seb.

  • Error JBO 250-30

    Help,
    I'm using JD 3.1 with Oracle 8.1.6.
    What is this error JBO 250-30 ?
    Thanks.

    Javateam,
    for your own sake you should not ask such questions. Obviously the meaning of JBO messages is secret and can not be disclosed. Otherwise it would be in the JDeveloper help file.
    I am afraid if JDevTeam would tell you the meaning of the message they would have to terminate you ... ;-(.
    null

Maybe you are looking for

  • Getting disabled screen on ipod not synced to a computer

    I have an ipod touch that was locked to the disabled screen since the wrong pass code  was entered. The ipod was never synced to a computer. The disabled screen tells me to connect to itunes. When I do that itunes tells me to enter the pass code. How

  • The Group Policy Client Side Extension Group Policy Shortcuts may have caused th e Group Policy Service to terminate unexpectedly.

    Hi all, Having an issue with the shortcuts Group Policy extension applying to our Windows 7 machines. It was working until last Wednesday and since then users get a Group Policy Client service error when logging in. We have narrowed it down to the sh

  • SetFileName for print to file doesn't work

    I have a questions about print to file with java.awt: With Java 1.4, when I use setFileName in the JobAttributes class, as soon as the user clicks on Print to File, this file name shows. However, with Java 1.5, this file name does not show, a differe

  • Standalone iSight and Snow Leopard

    I have a Mac Mini with Snow Leopard installed on it and an Apple Display that doesn't have a built-in camera, so I thought I would buy one of those iSight cameras (through Ebay) to be able to use it through Skype and iChat. Could anyone please tell m

  • What is Adobe "AIR"

    Just installed adobe 10. Now i'm getting msg about signing up for  Adobe AIR's down-loads.  What in the world is it??   I just want to edit still pic. and make slide shows. Do I need it?