2 problems with jDev 11.1.1.4.0
Hi,
I'm using JDev 11.1.1.4.0 and I'm developing a portal that consumes some portlets.
I have 2 problems:
1) The first one is shown when JDev starts:
AM oracle.webcenter.portal.dt.config.PortalConfigUtil getPageTemplateFromConfig
SEVERE:
java.lang.NullPointerException
+ at oracle.webcenter.portal.dt.config.PortalConfigUtil.getPageTemplateFromConfig(PortalConfigUtil.java:69)+
+ at oracle.webcenter.portal.dt.config.PortalConfigUtil.getDefaultPageTemplate(PortalConfigUtil.java:55)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
2) The second one is about the automatic code that JDev generates when the portal calls the portlet. He generates some HTML (or ADF) code that alterates the HTML page tamplate that I have. It creates a class for the body tag and, doing this, my page can't show the background image.
It puts the portlet code into a html talble's row, and above that row it creates a row with a border (1px). In this situation I have a blue line shown that I don't want and I don't need.
Somebody could help me to fix these problems?
Thanks in advance
You can't, just open a new thread on the other forum.
The problem might be a jdev problem, the reason I would post it on the other forum is that the portal version does things not well known here...
Timo
Similar Messages
-
Problems with JDev 10.1.3
Hi
I am having problem ssetting up the database connection in JDev 10.1.3.
I get the following error:
java.lang.UnsatisfiedLinkError: t2cCreateState
I am assuming this is to do with the environment settings.
Does anyone have a say on this or faced a similar problem with JDev 10.1.3?
Please leme know...have been tryingggggggggg:-|Try having a look at post
how to use Instant Client with JDBC? to see if it gives you any ideas.
Regards,
Lisa Sherriff
JDev QA -
Problems with JDev 11g using JBOSS and ANT
Hi,
I'm trying to migrate to JDev 11g with JBoss ( version 7.X ) as the AppServer
With JDev 10g all works fine with JBoss, even the Remote Debug, all OK
here is the problems I have :
1) ANT
JDev doesn't save my ANT settings
every time I launch ANT : Run Ant Target - I must set the Advance settings
JDev 10g I only need to do that once, the settings are saved but not in the 11g, why ?
2) persistence
I get this error when deploying to JBoss
16:34:50,967 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBA
S015870: Deploy of deployment "prod_v0.0.1_iDigital.menu.ear" was rolled back wi
th failure message {"JBAS014771: Services with missing/unavailable dependencies"
=> ["jboss.persistenceunit.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp
.war#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceun
it.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp.war#InfraModel\"jboss.na
ming.context.java.jdbc.stdDS]","jboss.persistenceunit.\"prod_v0.0.1_iDigital.men
u.ear#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceu
nit.\"prod_v0.0.1_iDigital.menu.ear#InfraModel\"jboss.naming.context.java.jdbc.s
tdDS]"]}
it seems that is something related to dependencies not well configured during build stage of the EAR, but with 10g works fine
BTW, I can't run my project with WebLogic either, gives this error :
<5/Abr/2013 18H27m BST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1365182860563' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
>
<5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'iDigital.menu'.>
<5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
Truncated. see log file for complete stacktrace
can someone give me a clue ?
thanks
Edited by: FernandoLeite on Apr 5, 2013 10:31 AMI can't say many about the ant stuff, but have you tried to put the parameters in a property file and use this to get the parameters to ant?
The reason you can't run the application on WLS is that you have not installed the adf runtime on your wls. The error 'application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].' points to this.
Timo -
Problem with jdev and running projects
I have been using jdev for about 3 months, and this is the first time I saw this problem.
I opened jdev 9.0.2.829, and tried to run a project in a workspace. The run target is in this project, the source path is separate from the other projects, everything is as it should be and was the last time I ran this project. When I build the project, it only compiles source from this project. When I try to run it, or any other project in the workspace, it compiles all source in all the projects in the workspace, and will not continue because of compilation errors. The single project builds fine. I even tried running after building, since usually it will see that it has a good build, and skip that step. Is this a configuration issue that I inadvertantly overlooked?
Help!I have been using jdev for about 3 months, and this is the first time I saw this problem.
I opened jdev 9.0.2.829, and tried to run a project in a workspace. The run target is in this project, the source path is separate from the other projects, everything is as it should be and was the last time I ran this project. When I build the project, it only compiles source from this project. When I try to run it, or any other project in the workspace, it compiles all source in all the projects in the workspace, and will not continue because of compilation errors. The single project builds fine. I even tried running after building, since usually it will see that it has a good build, and skip that step. Is this a configuration issue that I inadvertantly overlooked?
Help! -
File opening problems with JDev 10.1.3
I'm using JDev 10.1.3.0.4 on Linux with these subversions:
ADF Business Components 10.1.3.36.73
CVS Version (External) (CVS) 1.12.12 (client/server)
Java Platform 1.5.0_06
Oracle IDE 10.1.3.36.73
Struts Modeler Version 10.1.3.36.73
UML Modelers Version 10.1.3.36.73
Versioning Support 10.1.3.36.73
Whenever I start JDev this error appears:
java.lang.StackOverflowError
at java.util.HashMap.get(HashMap.java:320)
at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:126)
at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:163)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
The same error appears on the console JDev was started from whenever I open a file.
Are there anyone experiencing the same errors?
AreHi,
Could you follow up in this post Re: BUG: 10.1.3 EA Window Closes When Dragged in the Editor with the requested information?
Regards,
Lisa
JDev QA -
Shared libraries problem with jdev 11.1.1.5.
Hi,
Referencing the blog http://andrejusb.blogspot.ch/2010/07/deploying-adf-applications-as-shared.html,
I created a shared library "SharedWebLibTest" who package several jar files into single WAR file and empty context root path is specified in WAR deployment profile.
There are two client applications ("clientTEST1", "clientTEST2") that reference this library. Shared library reference is registered in weblogic.xml.
The jdev version is 11.1.1.2. All works fine.
From console, the 2 applications are displayed in the section "Applications that reference this Library" of SharedWebLibTest settings.
Now I started to use jdev 11.1.1.5.
Strange thing happens:
From console--> settings for SharedWebLibTest, the list of applications that reference this Library is empty.
But all client applications work normally.
In application "clientTEST1", I move the library-ref from weblogic.xml to the weblogic-application.xml.
From console, the application "clientTEST1" appears under "Applications that reference this Library".
But there is a new problem: Context path conflict
In the deployment of clientTEST1, I saw the message:
Application Redeployed Successfully.+
The following URL context root(s) were defined and can be used as a starting point to test your application:+
http://localhost:7101/clientTEST1+
SharedWebLibTest_+
I did the same modification clientTEST2, deployment fails
+An exception occurred for task [Deployer:149026]deploy application clientTEST2 on DefaultServer.:+*
Context path '/SharedWebLibTest' is already in use by the module: SharedWebLibTest application: clientTEST1.*
Some advices for this problem?
Thanks for your help
DorothyThanks for the reply. BUT the problem is not caused by "cashed info" in WSL.
In jdev 11.1.1.5, Once I registered library-ref to "SharedWebLibTest" in weblogic-application.xml instead of weblogic.xml.
I saw the message below during deployment
The following URL context root(s) were defined and can be used as a starting point to test your application:+
http://127.0.0.1:7101/clientTEST1+
http://127.0.0.1:7101/SharedWeb+
If I move the library-ref to "SharedWebLibTest" from weblogic-application.xml to weblogic.xml.
The following URL context root(s) were defined and can be used as a starting point to test your application:+
http://127.0.0.1:7101/clientTEST1+
OK no more context root conflict when I deploy clientTEST2 that reference also to "SharedWebLibTest"
BUT in console--> settings for SharedWebLibTest, the list of applications that reference this Library is empty -
Java Stored Procedure Deployment Problem with JDev 3.1.1.2
Dear JDeveloper Team:
I am having a problem deploying a test Java stored procedure to the database. In the Deployment Profile Wizard Connection tab, it displays no connection in the connection dropdown even though I have defined some connections that have been sucessfully connected to the database.
Please help.
Thanks,
TomTom,
Verify that your Connections are valid as follows:
Double Click on the Connections folder of JDeveloper Navigator.
This opens up the Connection Manager.
Make sure you have defined JDBC Connections.
Pick your connection of intrest and select Edit... and then press the Test button to test the conneciton.
If this is a valid JDBC connection, then it should appear later when you run the deployment wizard.
-John -
Problem with JDev 10g ADF table component and rangeChangeListener
Hi,
I'm populating an ADF table component from a backing bean and would like the range of rows be changed using custom method on the backing bean.
I have declared table on page as shown below and the table is populated correctly. However the onRangeChanged method in the backing bean never fires when
user hits previous or next. Any ideas of what I missed ?.
Thanks,
Kenneth
<af:table emptyText="No items were found"
value="#{companySearchBean.companies}"
var="company" rows="20"
first="#{companySearchBean.firstCompany}"
rendered="#{companySearchBean.queryExecuted}"
rangeChangeListener="#{companySearchBean.onRangeChanged}">
<af:column sortable="false" headerText="Company Name">
<af:outputText value="#{company.partyName}"/>
</af:column>
<af:column sortable="false" headerText="Party Number"
formatType="number">
<af:outputText value="#{company.partyFileNo}"/>
</af:column>
</af:table>Hi,
I'm populating an ADF table component from a backing bean and would like the range of rows be changed using custom method on the backing bean.
I have declared table on page as shown below and the table is populated correctly. However the onRangeChanged method in the backing bean never fires when
user hits previous or next. Any ideas of what I missed ?.
Thanks,
Kenneth
<af:table emptyText="No items were found"
value="#{companySearchBean.companies}"
var="company" rows="20"
first="#{companySearchBean.firstCompany}"
rendered="#{companySearchBean.queryExecuted}"
rangeChangeListener="#{companySearchBean.onRangeChanged}">
<af:column sortable="false" headerText="Company Name">
<af:outputText value="#{company.partyName}"/>
</af:column>
<af:column sortable="false" headerText="Party Number"
formatType="number">
<af:outputText value="#{company.partyFileNo}"/>
</af:column>
</af:table> -
JDeveloper 10g video problems with Windows Vista
Hi,
I'm using JDev 10g 10.1.3.3 over Windows Vista with Aero active. Since I started using Vista, I have always had problems with JDev. First, the fonts in the JDev panels would mess up and the scrolling would not work well. I made some changes in the way JDev uses the JDK, I don't remember exactly what I did, but I think I made the whole JDev environment to use a newer JDK, which is not engouraged/supported by Oracle. Since then, the scrolling problem was solved. But When I run my app, Aero stops working.
Is there a way to make JDev 10g work perfectly with Vista?
(No, I'm not willing to migrate to 11g, for several reasons, so I need to stick to 10g for now).
Thanks!
Brian
Edited by: BrianBraun on Nov 12, 2008 7:08 AMTry the various tips on this thread:
Using JDeveloper on Vista - some tips -
Strange Problem with Web Object Manager
Hi,
I have a very strange problem with JDev.
When I register a servlet with the Web Object Manager, it does not work (the web server does not find the servlet). This is not the end... If I exit JDev, re-open it and return to the Web Object Manager, instead of the Web Object Manager tree appears a tree labeled JTree with leaves labeled "colors", "sports" and "food"???
No way to recover the Web Object Manager!
I had to re-install JDev.
Any ideas?
Thanks
-DavidThanks but I don't understand. Here is wtgapp.xml:
<?xml version = '1.0'?>
<workspace>
</workspace>
Here is webtogo.ora:
[WEBTOGO]
USE_SYSTEM_CLASSPATH=YES
DEBUG=YES
[FILESYSTEM]
ROOT_DIR=C:\
TYPE=OS
[MIMES]
html=text/html
xml=text/xml
xsl=text/xml
jsp=text/html;handler=oracle.jsp.JspServlet
xsql=text/html;handler=oracle.xml.xsql.XSQLServlet
[APPLICATIONS]
xmlfile=.\wtgapp.xml
[SERVLET_PARAMETERS]
emit_debuginfo=true
bypass_source=true
jspcompiler=oracle.jdeveloper.jsp.JspOjcCompiler
page_repository_root=C:\Program Files\Oracle\JDeveloper 3.1.1.2\myclasses\_pages
after I added my servlet (which was named Servlet1). Where is the problem exactely.
Thanks.
-David
In any case, is the fixed version available?
null -
"Insight Not Available" with JDev 10.1.3.1.0.3984
Hi all,
I'm having problems with JDev 10.1.3.1.0.3984. I often have scriptlet in my JSP pages. My common needs in most common IDEs is their capability of Code Assisst. But, in JDev I found that code assist is not much helpful.
If i'm using object that is declared by JSP Tag like < jsp:useBean ..... >, I found that Code Insight is available, and I can found appropriate methods of my own object. But, if I declared my own object in ordinary scriptlet, I found "Insight not available".
Is there any other way to activate Code Insight while editting scriptlet in JSP without declare all object in JSP Tag UseBean? Or scriptlet is not recomended anymore? I've found in other thread that "Insight not available" is requested features in JDev 11.
Thanks.Hi,
using scriptlets is not fundamentally wrong though it usually is found in older MVC1 style applications. Modern applications use controllers instead.
In Jdeveloper 10.1.3.1 I tried
<%String s = new String ("hello");%>
and when continuing, I can get code insight for s. Note that with usebean zou register a class for a JSP.
Frank -
Problem with toplink in jdev 10.1.3.1.0
I was use toplink 10.1.3, and used aggregate mapping and every thing is ok! but when I migrate to jdeveloper 10.1.3.1.0 I have a problem with aggregate mapping, I got this error
Error: TopLink deployment descriptor generation failed for IndicadoresMap. Please verify that reported problems are corrected and that the deployment descriptor path and name are valid.
I tried change the toplink library in jdeveloper, but nothing change. please help me, because I need user Jdeveloper 10.1.3.1.0. it's very fast than Jdeveloper 10.1.3. thanks for some help
Best Regards.
Vander LitaiffVander,
Please open a support request if you can. It will allow us to track this important issue better and provide us a channel in case we need to see you JDev files.
Doug -
Af:menu Problem in jdev 11.1.1.6 with IE 9
I've oracle ADF fusion web application using jdev version 11.1.1.6 the template there is af:menu that contains many of af:commandmenuItem
When I use IE9 I can't scroll down to click on commandMenuItem as the menu keep scrolling then returns to the first item.
I must navigate using keyboard to reach to the commandMenuItem that I want.
Please I need solution to this problem with IE.
the menu works in firefox with no problem.Hi,
according to certification matrix IE9 should be supported since 11.1.1.5.
http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html#Browsers
But anyhow, this may be a browser specific issue which needs to be reported to Oracle support.
Have your tried to run your application with IE's compatibility view?
I had similar problems with 11.1.1.4.0 (but in this version IE9 isn't officially supported)
regards
Peter -
Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design
CONTEXT
I’ve been working my project with Jdev11.1.1.1, when I migrate to JDev 11.1.1.2. I realized that my project didn’t compile successfully as before besides I couldn’t see the design view in a WYSIWYG mode on my JSF pages.
I had installed (initially) in C:\oracle\Middleware Jdev 11.1.1.1 with WLS 10.3 (default in Installer)
A couple days ago I realized about the new Jdev release JDev 11.1.1.2 and I decided to migrate because of the IDE improvements such as Bugs Solutions, Maven support, code templates, etc).
The new version seemed to be non-compatible with WLS 10.3 because I couldn’t mount it in the same middleware so I installed the new one in C:\oracle\Middleware11g2, JDev 11.1.1.2 with WLS 10.3.1 (default in Installer).
EXAMPLE
I have created a new sample Project named JDev112App, it only has 1 java class, 1 ADF template and 1 JSPx to show the errors and differences between releases of the IDE… However, I also have added the screenshots of the Project in each IDE, also I have included a screenshot of my real project (Business App).
NOTE. Business APP project is under subversion SVN and the migration was done successfully when JDEv 11.1.1.2 opened it (it migrated automatically).
What should I do?? .. thanks
Best Regards,
Screenshot1
http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15778
Screenshot2
http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15779
Example APP
http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15784I think that the problem could be preferences/settings migration from Jdev 11.1.1.1.0 to JDev 11.1.1.2.0, because I migrated not only the application but also the JDev preferences ( "Documents&Settings...Jdeveloper..." ).
I have installed in a new machine without previous version of Jdev the new release JDev 11.1.1.2.0 and when I deploy my test application with errors ( showed in this post ), it works fine and also the design view is correct.
I am not SURE but I think the bug or problem could be also the preference/settings migration between JdeveloperS.
Can anybody tell me the real reason?? How can I fix it ... I don’t want to import each of my settings manually in JDev 11.1.1.2.0 ( I mean templates, javadocs settings, connections, repositories, etc).
Thanks in advance for your help, -
Problem with german characters (Umlaute) when working with JDev for Linux
Hallo ...,
i have a site in uix code under Linux. When i want to use ... confirm("...löschen...?") the JDeveloper can't handle the ö. When i want to use ö i've got an error. It's only when i work under Linux. When i make the same under Windows i can use ä, ö, ü. What can i do?
Any help is appreciated.
Thank youTom Gewecke wrote:
w/ all the keyboards and language settings.
What do you mean by that? The problem being talked about here is an inability to make French accented characters on a German keyboard. What is your problem exactly?
I've posted here because I guess it may be the same bug.
After upgrading I wasn't able to do special characters, including some accented vocals, like "ì", very common in italian language.
Then I've added an english keyboard, removed the italian one and added it again, so the problem with missing accented vocals was solved.
I still have the same problem with special consonants, like "z" and "c": if I hold my thumb on such letters, I have no options like, say, "ż" (such characters are very important for my field (linguistics) and if Apple won't solve this problem I'll be forced to look elsewhere).
Maybe you are looking for
-
How to work with Bangla in ADF (Jdeveloper 11g Release 2)
Hi I am Jahid From Bangladesh. Recently I am working with ADF (Oracle Jdeveloper 11g). I am working with a project like newsroom service. I need to extract bangla and other language text from other site. So i need to work with Multiple language in AD
-
Didn't sync before restore!!Help.
I've had my iPhone since June of last year. I was a complete newbie to the iPhone/iPod world. I had no idea that I needed to do updates and sync my phone. Well, when I found out about picture messaging, I just went ahead and did the update without sy
-
Why does my printer not show up?
Hi all, I have two printers, an HP deskjet 3500 j610 and an HP officejet 6500 E709. When I open my preferences and try to set up the printers, the officejet 6500 is not showing up on the network. The 3500 is set up and working completely fine, howeve
-
Cannot download newest Itune version on Dell windows 7 computer; continue to get Runtime error!!!!!
-
How to select oldest partition and drop
I need to drop the oldest partition of a table on the 1st of every month. I would like to automate this. How do I find the oldest partition? Then drop it? Thanks, jason