Eclipse + xdoclet problem
I can't deploy an ejb with this configuration
<session id="Session_CallingHello">
<ejb-ref>
<ejb-ref-name>ejb/FortuneSelector</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>FortuneHome</home>
<remote>Fortune</remote>
<ejb-link>FortuneCookieBean</ejb-link>
</ejb-ref>
</session>because every time I republish my ejb project the <ejb-ref> node is cancelled
up
Similar Messages
-
Crystal Report For Eclipse: POJO problem
Hi all,
I am using crystal report for eclipse basic version and used POJO-method to implement for users to viewing my report.
I did the following:
I created a sql page (create a target table) and import into crystal report (through crystal report designer under eclipse environment) E.g. let's say I created a table with 10 fields and imported into the crystal report.
Then I drag and drop through crystal report for my report design.
Later if I need to add one more field .....
I need to modified my SQL page and re-import the sql page into my crystal report. HOWEVER, through this re-import process, I lost all the detail/information on the existing report (that mean I need to re-design my report through the designer under eclipse environmet).
My question is: Is there any better way for me to implement my report ???
THANKS .. THANKS a lot as this problem make me use a lot of my time ... THANKSIn the sceario you have described (using a SQLPage as the datasource for the report), unfortunately, this is a limitation of the workflow. If you need to change the SQL, then you essentially need to remove and re-add it to the report which means replacing all the fields on the report.
Instead, I would recommend using a class as the report's datasource. The class would represent the fields that would be used in your POJO object. This way if you need to modify the fields in the POJO, you can simply update the class and use the Verify Database to update the report.
-MJ -
Eclipse theme problem under GNOME 3
Because I use dark themes, I have to start Eclipse like this:
env GTK2_RC_FILES=/usr/share/themes/Redmond/gtk-2.0/gtkrc eclipse
But now it's not working correctly. Here is the problem:
http://img263.imageshack.us/img263/6670 … source.png
Everything is looking fine except the sidebars, they're almost unreadable. I tried many GTK2 themes, but just this one and the Industrial works like this, all the other don't.
What should I do?
I have the same problem with Netbeans.
ps.: Please, do not write comments like: "Don't use dark themes"!
Moderator edit:
Please do not include such big pictures in your post: https://wiki.archlinux.org/index.php/Fo … s_and_Code
Last edited by bernarcher (2011-08-21 17:18:02)Hi Unia,
This problem predates the recent Fontconfig changes.
By "suddenly", I mean that at some random time after I login to my GNOME 3 session, the fonts go from normal to corrupted. It could be 30 seconds or it could be 30 minutes.
The fonts don't always stay corrupted, either: for example, at another random point in time, my XChat fonts will go back to normal, but my VirtualBox and Chromium fonts will still be corrupted. If I logout and login again, the problem is fixed, until they decide to randomly break again. -
JSTL 1.1.2, TOMCAT 5.5, JDK 5, Eclipse and Problems
I have been having trouble loading the JSTL library (standard.jar & jstl.jar)
I'm using Eclipse 3.0.2 to do my development work on my JSP pages. So normally I will just create my Tomcat(5.5 on JDK5.0) project using Sysdeo(tm) plugin in its default directory (C:\eclipse\workspace\mytomcatproject).
Then I would begin creating my JSPs and use JSTL(1.1.2) for my development. I'd put those standard.jar/jstl.jar into /WEB-INF/lib as recommended.
The problem is I can't seem to get JSTL library working, even I tried out copy and pasting the example code into my pages.
I have :
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
... //some code
${fn:escapeXml(param["myreq"])} will show out in the JSP exactly "${fn:escapeXml(param["myreq"])}" without processing. Although no runtime errors comes out (meaning the TOMCAT successfully loaded the library) but seems that the taglib is not working!!!
I did some experiments:
Experiment 1 :-
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
(notice the uri, its without /jsp)
and it works for /core taglib, but not the /functions taglib. Meaning somewhere in the TOMCAT library it load the older 1.0 version of JSTL.
When I try using the /functions taglib
<%@ taglib prefix="fn" uri="http://java.sun.com/jstl/functions" %>
TOMCAT will complaint about the non-existence of this JSTL.
Experiment 2 :-
I tried to copy all the JSTL tld into my /WEB-INF/tld and and change my web.xml to include the tld location by using <jsp-config><taglib>.
Doesn't work as well!!! The taglib just didn't get process.
Experiment 3 :-
I tried to modify the <Context> in server.xml to include tldNameAware and tldValidation to TRUE.
Not Working as well!!!
Experiment 4 :-
I comment out the <my_tomcat_home>/conf/server.xml <Context> (the one that Eclipse created for my Tomcat project) and directly paste my project directory into <my_tomcat_home>/webapps and restarted my TOMCAT.
IT WORKS!!!
So does JSTL 1.1.2 only works in TOMCAT webapps home? Seems that TOMCAT only load the /WEB-INF/lib when the project is in its webapps, but when the project is outside of the webapps dir, it seems doesn't process the JSTL lib.
Any idea how to make it work outside the Tomcat webapps cause I try to encourage my team to use Eclipse and CVS.The probable cause of the issue is your web.xml file.
If your web.xml file is declared as being servlet version 2.3, then it disables the JSTL expression language (EL) by default.
ie if you have this:
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>It should change to be this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">Undo all of that hacking you did through the config files.
JSTL needs no tld files, and no entries in web.xml to make it work.
Hope this helps,
evnafets -
Dear All,
Good Morning All.
I have a problem with my Eclipse3.1 that, when I am starting eclipse Its giving a mesasge
"Problem durng startt up.Check the .log file in the .metadata directory of your workspace.". How can I sort out this problem.
Or anyone can tell me the suitable forum to put this problem.
Have a Great Day.!
Thanks in Advance.
Cheers
SuniPlssssss help me.
I can't find out, even thru google.
Thanks in Advance -
hi all,
i have a problem and search everwhere else here, so i think it is better to discuss it here also,
i try to run debug mode in eclipse but not succeeded, i run the debug long ago but not know.
i hknow this is not maybe right place but i think i will get answer quickly here.
i am using jdk1.5 and eclipse 3.2 , xp.
and this is the exception , thanx for now on.
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at org.eclipse.jdi.internal.connect.SocketTransportService.startListening(SocketTransportService.java:275)
at org.eclipse.jdi.internal.connect.SocketTransportImpl.startListening(SocketTransportImpl.java:47)
at org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.startListening(SocketListeningConnectorImpl.java:108)
at org.eclipse.jdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:202)
at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:101)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:639)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:565)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:754)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)seems some other process is running on the same port as the debugger. Try stopping it
-
(Kodo 3.3.4) Generics & Xdoclet problem
My development environment is java version "1.5.0_07" on XP Professional, with eclipse 3.2.
I am using annotations via Xdoclet's @jdo to generate mapping metadata for my model objecs. This particular mapping that follows fails with a
<pre>
kodo.jdbc.meta.MappingInfoNotFoundException: No mapping information was
found for "org.foobar.domain.Person.mCollectionOfStuff".
</pre>
The Xdoclet tags are as follows:
<pre>
* @jdo.field
* collection-type="collection"
* element-type="org.foobar.domain.IData"
* embedded-element="false"
* @jdo.field-vendor-extension vendor-name="kodo"
* key="jdbc-field-map"
* value="one-many"
* @jdo.field-vendor-extension vendor-name="kodo"
* key="jdbc-field-map/ref-column.ID"
* value="DATAID"
* @jdo.field-vendor-extension vendor-name="kodo"
* key="jdbc-field-map/table"
* value="PERSON_DATA"
private List<IData> mCollectionOfStuff;
</pre>
When I remove the Generics friendly declaration to the following, it works:-
<pre>
private List mCollectionOfStuff;
</pre>
Does this mean that KODO 3.3.4 does not support Generics ?Laurent,
I'm very sure my build environment is fine. I can compile, deploy & run without the use of generics for the Collection member. However, I will get a compile-time error when I declared the collection using generics.
Thanks
Gavin -
Hi Guys,
Spec as follows;
MSI Eclipse Plus
Inwin 650W Commander 80+ PSU
i7 920 CPU
6x 2GB Apacer DDR3 10600 1333MHz
MSI N275GTZ (Twin Frozr) GPU
Seagate Barracuda 1Tb 7200 HDD
LG GGC-H20L BluRay/DVD
LG W2343S LCD monitor
Logitech MX5500 Revolution Cordless Desktop
Logitech Z5500 Digital Surround Sound
MS Vista Ultimate 64bit
Bios Rev 1.0
After a week of struggling and the box traveling back to the wholesaler twice the OS is loaded and the MB and graphics drivers. I have faced problems from the incorrect voltage RAM being supplied (1.9V) to a horribly unstable system that boots when it wants to. Currently when the systems boots there is a 25% chance that graphic of the "windows starting" page is corrupted and the PC hangs.
This is using the only current configuration that will boot to hand to OS. I have removed 3x memory modules and only left the Black slots populated. When I populate the blue slots over and above the board quickly overheats and becomes unstable. Upon reboot either cold or hot the system will hang on "DDR init", reboot 3 times or more and sometimes displays the overclock error.
Does anyone know what the problem is and is there a workaround or update to correct this. This PC has cost plenty dough and is frustrating the hell out of me.Max voltage for ram is 1.65V , change the settings manually if needed in the bios.
Try asking a new bios on the MSI on-line support , there is a new one but it is beta i believe. (A7566IMS.111 date 1/06/2009)
They gave me one(beta) for my eclipse (not plus)and mine is running like a rocket. -
Hi,
I had installed and ran eclipse with no problems. I shut down the application and did not use it for about 3 weeks and now I get this startup error.
"""An error has occurred. See the log file {path}/workspace/.metadata/.log"""
This log file shows the ffg error
!SESSION 2006-04-10 09:32:37.531 -----------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.4.2_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64 -clean
!ENTRY org.eclipse.osgi 2006-04-10 09:32:39.450
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /usr/local/src/eclipse/configuration/org.eclipse.osgi/bundles/85/1/.cp/libswt-pi-gtk-3139.so: /usr/local/src/eclipse/configuration/org.eclipse.osgi/bundles/85/1/.cp/libswt-pi-gtk-3139.so: cannot open shared object file: No such file or directory
PLEASE SHOW ME THE WAY!!!If you are running on 64 bit Linux make sure you download the 64 bit eclipse distro and install the 64 bit version of jdk 1.5.
-
Hello All,
I do not know if you are all using the eclipse plugin or if you are using jdeveloper. I do not want to use jdeveloper if possible (we have been using eclipse for some time, and to install jdeveloper just for it's bpel editor seems too heavy.)
It seems that the eclipse plugin requires all of the project artifacts for a BPEL process to be in the actual eclipse project folder. When I move it outside the project and create a linked folder to the artificats the plugin complains with javascript errors and fails to show the bpel process or perform a build.
it's an odd dependency. Has anyone else observed this? Am i out to lunch here? :)I also use a workspace just for BPEL. I think that the plug-in is somehow cohesive with the project directory. Meaning that; you canât just open a BPEL file and have it work. It needs the BPEL file to be in a valid project. This stinks when you start to consider the management of BPEL projects. Project file contain machine specific information. So If I check a BPEL project in to CVS, my peers may not be able to check it out and have it work because their setup is not the same as mine. I typically do not have anything in the eclipse project except references to my check-out area.
I do have some questions about the fate of the eclipse plug in. Will Oracle continue to develop it? Release it to open source? Or abandon it for JDeveloper only. If the eclipse plug in is going to continue they should fix the problem we are discussing. -
ADOBE XDC Editor Plugin for Eclipse - Install Problem
Hi,
We tried to install this plugin to eclipse version 3.2.1. - but clicking on "install new software" eclipse always says it's not an valid update-site. Does anyone knows this problem????
then we tried to install to eclipse version 3.6 (helios), also there automatic install was impossible, so we copied the jar-file to the plugin-directory, but on loading the xdc-file, we only get error-messages.
is someone out there how was able to work with this tool. we need it urgently to run as we have to solve the tray-problematic with adobe forms.
kind regards for any help,
oliverThanx for your reply.
I used JDeveloper with Oracle many years back. That time I found it to be slow. Maybe it must have improved by now.
Today I downloaded EasyEclipse which is built on Excipse 3.1
EasyEclipse
http://www.easyeclipse.org/site/home/index.html
EasyEclipse Plugins
-----> Amateras JSP, HTML, XML editor
-----> Weblogic Server Plugin for Eclipse
-----> JBoss IDE
-----> J2EE Tools
-----> ....................
http://www.easyeclipse.org/site/plugins/index.html
I would say WOW. It satisfies most of my needs. Maybe all u guys might wanna try it too.
Regards
Rohit Kumar -
JavaFX plugin for Eclipse IDE problem with installation
Hello all,
I am following installation instruction from: http://docs.oracle.com/javafx/1.2/gettingstarted/eclipse-plugin/index.html
In my Eclipse IDE "Install new software" -> "Add site" the link http://javafx.com/downloads/eclipse-plugin/ is not recognized as valid software site.
I receive message:
"Unable to read repository at http://javafx.com/downloads/eclipse-plugin/.
http://javafx.com/downloads/eclipse-plugin/ is not a valid repository location."
Please help me to install JavaFX plugin for Eclipse.
Best regards,
Slawek913150 wrote:
I appreciate someone is providing "homemade" plugins but when You want design reliable application it is better to use some widely supported solution.
Tom Schindl is the only one person who takes care about this stuff. For me it is not an option :(
I am using Eclipse because my company uses it. I used to Eclipse. However when it comes to test some new technologies form Java world I see problems.
Oracle drives Java development - they launched GlassFish, Netbeans, JavaFX.... etc. Eclipse has to catch up with every new thing but it takes time.
Assuming NetBeans developers are in better situation. Easy Glassfish integration, embeded support for JavaFX....
I don't like to use two IDE's pararelly.
Is there any chance that official plugin for JavaFX 2.0 will be available?
Funny how you rant about all that and still demand answers about Eclipse in the Oracle Java forum.
This has nothing to do with how Eclipse advances; "Eclipse" is only the bare IDE and a minimal set of plugins. Basically everything that you bolt onto it is a third party, or "home made" plugin. Some plugins will be updated quickly, others more slowly depending on how active the developers are. Its just how Eclipse works. At least try this alternative plugin, perhaps it is usable until a better supported solution opens up for Eclipse. Or use Netbeans. Or use command line tools. Be a true engineer - adapt to the situation and get the job done. -
MSI Eclipse PLUS Problem, HELP ME !!!
Sorry for my poor English, I am an Italian boy!
I bought a MSI Eclipse and I assembled a PC
check all connections and perfect, first switch
black screen, no signal, I think the GPU, the change .....
but nothing, black screen, NO signal video !!!!!
What is the problem ....????
I state that I CPU core i7 930, may be the problem ...????
CPU does not support possible black screen!!
I do not think since at least the post bios should see!!
Help me please!!Thanks Henry for information
I decided to make a change, through a support bracket
put a small fan (60mm) near to the chipset .....
As soon as I made the change post some pictures
Hope will be a nice work!!
Thanks again!!
this is my new PC
Configuration HW my new PC:
Case: Cosmos Black Edition (Fantastic Case)
Power supply: Corsair HXEU 750
Motherboard: MSI Eclipse PLUS X58
CPU: INtel core i7 >> 930
Cooler CPU: Zalman CNPS10X Extreme
RAM: G.Skill Ripjaws DDR3 1600MHz
Graphic Card: Sapphire HD 5770
SSD System: INtel X-25 M/G2
HD Storage: Samsung Spinpoint F3>500GB
Audio Card: CREATIVE SB X-Fi Fatal1ty
System Speakers: Logitech Z2300
Keyboard: Razer Lycosa Mirror Gamer
Mouse: NZXT Avatar Black
Mouse tensioner: Roccat Apuri
Rheobus: Aerocool V12 XT
NEON UV: Revoltec Neon Twin-Set
Group Fan: Noiseblocker BS XL2R
Monitor: BenQ E2420HD
Operating System: Win 7 Home Premium 64bit -
hi friends
i use eclipse for develop my web sites with jsp. and i am (too) junior developer. firstly i need some plugin for eclipse to see jsp components(button,label) like visual studio. and drag and drop the page(:)) is there any plugin for free.
thanks everybodysorry
i only try to convert eclipse like netbeans for jsp development. in netbeans jsp pages have both source for html and code for java.and firstly i want things seems clear. because i am junior jsp developer.
thnks -
Kodo 4.0/ Eclipse Plugin problems
Hi,
I have added Kodo plugin (2.1.0) to Eclipse (3.1.1) plugin folder as
described in the manual. I've also copied all the Kodo libraries and
classes12.jar into Eclipse\plugins\kodo.eclipse_2.1.0 and modified
plugin.xml.
I can see the menu item "Kodo" in Eclipse, but I can't start the Kodo
preferences under Windows->Preferences. Following Error:
Plug-in kodo was unable to load class
kodo.jdbc.integration.eclipse.KodoPlugin.
Does anyone have an idea?
Thanks,
Ingo SchneiderSchneider wrote:
Hi,
I have added Kodo plugin (2.1.0) to Eclipse (3.1.1) plugin folder as
described in the manual. I've also copied all the Kodo libraries and
classes12.jar into Eclipsepluginskodo.eclipse_2.1.0 and modified
plugin.xml.
I can see the menu item "Kodo" in Eclipse, but I can't start the Kodo
preferences under Windows->Preferences. Following Error:
Plug-in kodo was unable to load class
kodo.jdbc.integration.eclipse.KodoPlugin.
Does anyone have an idea?
Thanks,
Ingo SchneiderI use http://www.eclipse.org/dali plugin for EJB3-persistence. It allows
me to have different EJB3 vendors. KODO was ok for me to work with.
Maybe you are looking for
-
I can´t upgrade IOS 5.0 or 4.0. I don´t know what to do!
-
How to modify web.xml init parameters?
Hi all! I need to modify my application's init parameters on the fly. I think that if i can get those parameter through FacesContext, then i should can set them too. Anybody knows if it is possible ou how to do it? Thanks, Cezar
-
Using older Extreme as a wifi extender with new tower extreme
Howdy. Trying to set up extended WiFi and having a terrible time. Have new extreme tower as base station as plugged in to cable modem. Trying to use Los Extreme as extender. Took both to Apple store and asked for help. Tech guy said no problem a
-
When is an item considered sold
Hello, I have been given the task to develope a report that lists Units Sold by SKU for a given time frame. My first thought was just to look at orders(VBAK) and creation date and go from there. The user tells me there are discrepancies when compar
-
Clone Stamp Tool not pasting my selection - PSE 10
When brushing the cloned selection into my image, a crosshair moves around the screen, and the tool pastes whatever's under the crosshair, not my original selection. I unchecked the "Aligned" box, but apparently this isn't the solution. Any help is a