Toplink-Map disappeared in Applications Navigator
Hi,
I can no longer find the toplinkmap in the applications navigator. This presumably happened when i changed the database connection in the sessions.xml from a native connection to a j2ee-datasource. The *.mwp-File is physically still there, 'Search in Files' also finds occurences of strings in it, but when double-clicking the according resultitem only a pane with a close-icon shows up. So for some reason jDeveloper ignores the presence of the toplink map. The application itself works fine, but i can no longer inspect or change the toplink map, e.g. can not add/remove queries to/from it.
Any idea someone? Thanks,
Magnus
I fixed it myself by comparing the content of the jpr-File with that one of a 'working' Project.
Similar Messages
-
Reverse engineer Toplink mapping to a ERM diagram
Hi,
We have a Toplink mapping for our application, the problem is that in the database no foreign keys relationship are defined, thus the relations
are only in our Toplink model and not in our database. Id like to create a ERM model with for instance the new "Oracle SQL Developer Data Modeler".
Is there a way do reverse engineer a Toplink model to a ERM diagram?
Regards Jonas.Hi Jonas,
unfortunately there is no support for Toplink.
Regards,
Philip -
Hi all
i m very new to ADF ...
while creating one toplink i selected emp as my table .it asks for toplinkmap in the wizard so i created new and it took some value by default.
now when i rebuild this project it gives following error
TopLink Map 'tlMap1' -> One of the packages is incomplete.
Package dataprj -> One of the descriptors in this package is incomplete.
Descriptor Emp -> No primary keys specified in APPS.EMP table.
End TopLink Map 'tlMap1'
pls help me out to fix this issue.hi user530923
Maybe you should look for the "EMP" node in the "Offline Database Sources" node of your JDeveloper project (using the Applications Navigator in JDeveloper).
If you right-click that "EMP" node, you can select "Properties...". The Edit Offline Table dialog should show. Select "Primary Key Information" on the left. Has a primary key been defined?
You could also check "Decriptor Info" tab for your "Emp" descriptor. Select "Application Sources" > "TopLink" > "tlMap1" in your JDeveloper project, in the Structure pane double-click the "Emp" descriptor and check "Primary Keys" on the "Decriptor Info" tab.
success
Jan Vervecken -
Point Toplink map to exactly same schema but differnt schema
Hi all,
We want to point our Toplink mapping which is generated using a test schema to "real data schema" which has exact same structure.
Is it possible to do it.?
May be it will make more sense if I say, we want to edit WSDL of Database adapter and expect same adapter to go to the new schema connection (which we put there after editing the wsdl).
I hope I explained and its the right place to ask the question.
thanks in advnaceHi there,
the best place to ask DBAdapter questions is probably Integration - Adapters.
Integration - Adapters
If in design time you create your database connection with one username but import tables belonging to a second username, then the toplink-mappings.xml will contain explicit schema references. This can cause troubles switching from development to production.
At this point best thing you can do is edit toplink_mappings.xml and search and replace i.e. "SCOTT." with "". That will reduce any qualified table references in that file with unqualified ones, i.e. SCOTT.EMP -> EMP.
If your (subsequent) problem is at runtime logging in as one user but wanting to interact with tables belonging to a second user, then in application-deployments/default/DbAdapter/oc4j-ra.xml, and in connectors/DbAdapter/DbAdapter/META-INF/ra.xml you could configure the property tableQualifier="<secondUserName>". However you will still need to make sure there are no explicit schema references in toplink_mappings.xml before this advanced 'tableQualifier' setting can take effect. This 'tableQualifier' setting was what Doug was referring to.
Thanks
Steve -
StackOverflowError after adding a table to a TopLink Map
Hello,
I am really puzzled by the next problem. After adding a table (Customer) to an existing TopLink Map, I get the same kind of error for every query in the project that I use.
ERROR J2EE EJB8006 [CustomerToplinkTestPublicFacade:public java.util.List com.companyname.toplinktest.model.CustomerToplinkTestPublicFacadeBean.findCustomersByCompany(java.lang.String,java.lang.String)] exception occurred during method invocation: javax.ejb.EJBException: java.lang.StackOverflowError
I get this with every page and every query, just change the name findCustomersByCompany to the name of the named query. Otherwise all pages seems to have the correct behaviour Removing the Customer-table from the application solved all problems, and they reoccurred after adding the table again.
I have no clue why this happens, the only thing that might be useful is the fact that the Customer-table is also a part of a database view which I already use.
but why would that cause errors on queries it has absolutely no relation to
Kind regards,
Nematahello,
another update on my testcases. I have used the following procedure to narrow down the source of the problem.
First I create one or more TopLink pojo's based on my database tables and views, add them to a session bean and create the data controls. I'm always working with the default named queries (selectAll).
Then I create a .jspx file, drag and drop a data control from the data control palette to create an ADF table with the defaults...
and run... with one of two outcomes.
I either get all the data from the table (correct) or I get a message "no rows yet" and an error message in the log window "2006-05-04 12:37:40.214 ERROR J2EE EJB8006 [testCustomerSession:public java.util.List model.testCustomerSessionBean.findAllCompany()] exception occurred during method invocation: javax.ejb.EJBException: java.lang.StackOverflowError"
This is an overview of the testing I have done:
Objects created | ADF table | Error
Customer | Customer | Yes
Company | Company | No
Customer and Company | Company | Yes
Company and ViewOfCustomer | Company | No
Company and ViewOfCustomer | ViewOfCustomer | No
Company and Person | Company | No
ViewOfCustomer is a database view with the same data as the Customer. So the table Customer seems to cause the problem.
Does anybody have an idea why a database table might cause such distinct problems ?
Kind regards,
Nemata -
Maps Disappear from screen N95
Hi all,
I've got another topic running that I started when frustrated. This is a follow-on.
I've looked here at all the fixes for the NUMEROUS map problems with N95. This is what I'm left with,
I cleared the card and started again. Downloaded the maps (after running the Maps Application once). After I've down loaded the maps I open the application on the phone and great, there are the maps. Within 1 minute the maps disappear and my location indicator is centred on a green screen. Any search I try for locations is returned 'unable to locate'. I've looked through the memory card and everything is still there with no apparent changes, the phone just seems to *lose contact* with the map data.
Can someone PLEASE shed light on this. I've downloaded the same maps 5 times now trying to fix this.I found a solution here:
https://supportforums.blackberry.com/t5/BlackBerry-Q10/quot-no-entries-in-this-view-quot/m-p/2802593...
Please click the Thumbs Up icon if this comment has helped you!
If your issue is resolved, please click the solution button on the resolution!
Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music! -
Vulnerability - Oracle toplink mapping workbench password algorithm
Could someone from Oracle post security contact info. This is regarding a possible vulnerability in TopLink referred to in this posting:
http://marc.theaimsgroup.com/?l=bugtraq&m=107531028325112&w=2
I would like to know Oracle's response to this item before I publish a report to our clients.
Thanks,
Mark HoffmanIt has come to our attention that a 3rd party has published the algorithm used to obfuscate a database password stored in the runtime configuration file (project.xml or java source file) generated by the TopLink Mapping Workbench version 9.0.3.
This database password is NOT used when TopLink is using an application servers database connection pool and this issue does not apply. In this case TopLink uses a specified data source name and the application server manages the database password.
For those not using the app server connection pool, the obfuscation is not meant to offer encryption protection for the password stored in the file. It is a mechanism meant to make the password in the file unreadable to the naked eye. It is not a replacement for proper file permission and access control to protect the file.
It is an optional convenience feature that customers have requested as they have found it to be useful during development and internal testing. The only way the password is saved in the file is if the option that is explicitly marked Save Password (Unencrypted) is used.
For encrypted security protection using technology such as Java Cryptography Extension (JCE), the unencrypted password can be set using APIs provided in the TopLink runtime libraries. A code example follows:
boolean shouldLoginSession = false;
DatabaseSession session = null;
session = (DatabaseSession)SessionManager.getManager().getSession("MySessionName", shouldLoginSession);
String password = //retrieve the password as an unencrypted string from somewhere
session.getLogin().setPassword(password); //note this assumes that the user is already set in the project
session.login();
Guidelines:
1. If you are using the application servers database connection pool, this issue does not apply. TopLink simply specifies a data source name and the application server manages, stores and encrypts the password.
2. If you are not using the application servers database connection pool, use the optional Mapping Workbench feature to store the password in the project.xml or java source file for development or internal testing purposes only if there is proper file permission and access control to protect the file.
3. For deployment or unsecured development environments utilize the TopLink APIs provided that allow secure password encryption technology to be used.
This issue only applies to version 9.0.3 and prior; in 9.0.4 the TopLink Mapping Workbench uses JCE to encrypt the file.
Regards,
Dennis Leung
Oracle Corp. -
What is happening in the most recent keynote when I click on a slide and it pulses (larger-smaller) Two of my slides have disappeared in the navigator although if I play through them they are there and the slides have their orignal number--there are just white spaces where the slide should be and I can only get to the slide by clicking through from the prior slide. How do I get the sldies back into the navigator so I can see them. Oddly, they are show up just find on the light table.
Try removing any transitions or builds on these slides, or delete the slides then recreate them as fresh slides.
There are many playback anomalies in Keynote 6 which Apple have said they will be sorting out next year. -
Can't see EJB objects in Application Navigator after migration
Hello
I can't see any objects in Application Navigator after migration from previous version of JDeveloper (9.2.0.5), in System Navigator view I can see all sources. Has somebody any idea what the reason is?
TomIn the application navigator you should see one node per EJB, when you stand on it you'll see the various source files in the structure window.
-
Error when loading XSLT mapping of the application
Hi,
I am using XSLT mapping in XI.
It is working ok when I test it in Interface Mapping but it gives below error when I test end to end scenario.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">TRANSFORMER_CONF_EX</SAP:Code>
<SAP:P1>com/cba/***.xsl</SAP:P1>
<SAP:P2>urn:**:**</SAP:P2>
<SAP:P3>450326d0-1559-11dd-99a1-d89c0a0a380b</SAP:P3>
<SAP:P4>-1</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error when loading XSLT mapping of the application</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Yes, I have activated it
Regards,
Anirudh.hi
please assure that if you save your xslt stylesheet locally, that it is saved in UTF-8 format, before you import it.
Pls do export the imported archive as a zip file to your local disk and try opening the same. If its not then the zip file which you have uploaded might have got corrupted/is not fully uploaded.
Try activating the imported archive and do a check before you do that. This you can do with a minor change in the description or so.
reward points if found helpfull
regards
chandra.k -
Exception occurred during XSLT mapping of the application
Hi
While Developing XSLT mapping i got the error message as
<SAP:Code area="MAPPING">TRANSFORMER_EXCEPTION</SAP:Code>
<SAP:P1>OTA_VehAvailRateRQ_XSLT</SAP:P1>
<SAP:P2>http://kcdata.com/OTA_VehAvailRate</SAP:P2>
<SAP:P3>b5351710-4911-11dd-a7f7-ed57ac1600cf</SAP:P3>
<SAP:P4>-1</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Exception occurred during XSLT mapping of the application</SAP:Stack>
please provide me your helpHi all,
The Problem is solved as we later realised the actual problem is with the input XML file provided to us.
We tried using a different XML file which was processed succesfully earlier ..and its working all fine now.
Thanx all,
take care -
XML Data Mapping Disappear when Reopening xlf - Xcelsius
Hi,,,
I have created one xcelsius with XML Data maps which works fine. But when I re-open this XLF, the XML data mapping disappear from XML source screen of Excel. It's so much enoying, so every time when i re-open the xlf. I have to map xml data again and then do some formating. after that it works fine.
I guess i have missed some setting. Does anyone has faced such a weired problem with xcelsius.
your quick help in this will be really appreciated.
Regards,
AshishHi,
Its a Fixed Issue ,It has been solved
For Futher Details
http://alteksolutions.com/wp/index.php/2010/10/xcelsius-2008-sp-3-fix-pack-3-now-available/
XML Data Maps Disappear when Reopening xlf
Regards
Naveen -
JDeveloper IDE - Displaying Packages in Application Navigator
Hi All,
I am using JDeveloper 11g Release 2.
I want to customize how the packages are displayed in Jdeveloper. My application package name starts with com.fireblaze.xfb.appuc001 . and project packages are com.fireblaze.xfb.appuc001.model and com.fireblaze.xfb.appuc001.ui. Now in the model package I have further sub-packages like com.fireblaze.xfb.appuc001.model.queries, and many more...
In my case, the Jdeveloper packages are displayed in application navigator are given below:
com.fireblaze.xfb.appuc001.model
com.fireblaze.xfb.appuc001.model.queries.main
com.fireblaze.xfb.appuc001.model.queries.validators
com.fireblaze.xfb.appuc001.model.queries.lovs
com.fireblaze.xfb.appuc001.model.services
What I want is like:
com.fireblaze.xfb.appuc001
--------------------------------------model
-----------------------------------------------queries
----------------------------------------------------------main
-----------------------------------------------------------------view 1
-----------------------------------------------------------------view n
----------------------------------------------------------validators
-----------------------------------------------------------------------view 1
-----------------------------------------------------------------------view n
----------------------------------------------------------lovs
---------------------------------------------------------------view 1
---------------------------------------------------------------view n
-----------------------------------------------services
How to achieve it in JDeveloper 11g?
Any help will be appreciated.
Thanks in advance
Regards
Bilalhi user,
Create Package. and use the source directory box. properly :)
updated lately.
i hope that you are looking for like this.
while creating your eo,vo,am you may see package..
in that you should specify
"while creating your eo:"
com.xxx.model.*eo*"while creating your vo"
com.xxx.model.*vo*"while creating your am"
com.xxx.model.*am* -
Maven project "src" directory not visible in Application Navigator
JDeveloper 11g Release 2 (11.1.2.1.0)
First-time user
I built a Maven application containing two Maven projects in JDeveloper but am unable to see the "src" directory in the Application Navigator. When I attempt to create this directory the tool tells me that it already exists which I found to be true by checking the file system directory C:\JDeveloper\mywork\.
Is this a simple setting that I am missing or is it something more significant?
Thanksin the project propertties. the src should be added in the project source path..
chk
http://www.orastudy.com/oradoc/selfstu/fusion/doc.1111/e15524/img/ui_gs_vc_srcpaths.gif
if you have some file inside the src directory.. then open it normally using the file -> open option. after opening.. right click -> Select in Navigator.
This will show you the folder.. -
How do i make a new file created appear in the Application Navigator?
I am doing an extension to JDeveloper..How do i make the new file that the user has created to appear in the Application Navigator?
What methods can i use?
These are my codes...but it does not work still...
File file = new File(dir ,fileName);
file.createNewFile();
FileWriter fw = new FileWriter(file, false );
PrintWriter pw = new PrintWriter( fw, true );
Workspace workspace = ctx.getWorkspace();
java.net.URL projectURL = workspace.getActiveProjectURL();
URL url = file.toURL();
Node node = new Node(url);
jpr.add(node, true);
node.open();
NavigatorManager.getWorkspaceNavigatorManager().openNavigator(ctx);
ProjectNavigatorManager.getApplicationNavigatorManager().openNavigator(ctx);
EditorManager.getEditorManager().openDefaultEditorInFrame(node.getURL());If it's an IMAP type account then you should get an Edit button at the top of the list of folders that you currently have on your email account. If it's a POP type account then you won't get the Edit button, and you are limited to your existing folders
Maybe you are looking for
-
Supplier Site Contacts Open Interface Import Program is erroring out.
Hi, We are on 12.0.4 on solaris 10. Tomorrow is go-live in one of our client, When we doing data migration. Uploaded the data into Interface table. From there we are running this standard program to push th edata into standard table. Its erroring out
-
My iPod won't Disconnect automatically.
My iPod used to automatically disconnect after it updated. I transfered a file from my MacBook, which I manually added to my iPod. The manual update to the iPod on the MacBook requires that I manually disconnect the iPod from the MacBook. Fine. On my
-
I am able to sign the entire message using Sign.xml as the policy. I want to just sign the body and the timestamp of the message. How do I do that? I am not too familiar with policy files. thanks
-
Hierarchy as Flat Structure through BEx Web
Hello Gurus I want to display a hierarchy as a flat table on the web. I want to see KFs against lowest level nodes, the higher level nodes are included soley to give context. So if my hierarchy is: L1 = A L2 = B L3 = C and my KFs are 1, 2, 3. I want
-
The hourly time bar down the side of ical has gone, how do I get it back?