ibm-rad

why can't my EAR project see the annotated EJBs and Entities in my JPA project?

南笙酒味 提交于 2019-12-12 03:18:23
问题 I'm using IBM RAD 7 (aka Eclipse 3.4) and WebSphere 7. I have a workspace with a basic EJB setup; projects TestEAR, TestEJB, TestJPA, TestWeb. I can annotate an ejb ("@Stateless EntityService") in the TestEJB project and it works fine. But if I put an ejb ("@Stateless EntityDAO") in the TestJPA project it doesn't get injected in the EntityService. If I move EntityDAO to the TestEJB project it works fine. Also, if I annotate a class an entity ("@Entity MyEntity") it is not known as an entity

What is Eclipse “Dynamic Web Module” number, why isn't JAX-RS in the project facets list?

百般思念 提交于 2019-12-11 07:37:12
问题 I'm trying to build a JAX-RS based web service using IBM RAD 7.5.5 (which is basically Eclipse + plugins) and WebSphere 6.1. When I create a new Dynamic Web Project, I get the "New Dynamic Web Project" dialog box. For "Target Runtime", when I pick "WebSphere 6.1", the "Dynamic Web Module" is 2.4 and when I modify the Configuration there is no "JAX-RS (REST web services)" to select in the list. However, for "Target Runtime", when I pick "WebSphere 7.0", the "Dynamic Web Module" is 2.5 and

Websphere won't start

风格不统一 提交于 2019-12-11 05:14:46
问题 I keep getting the following error on my IBM Websphere server [4/22/15 16:20:35:203 EDT] 00000000 AdminTool A ADMU0111E: Program exiting with error: java.lang.NullPointerException at com.ibm.ws.management.launcher.LaunchCommand.processDefaultJvmOptions(LaunchCommand.java:1246) at com.ibm.ws.management.launcher.LaunchCommand.setParamsFromJavaProcessDef(LaunchCommand.java:1200) at com.ibm.ws.management.launcher.LaunchCommand.setParamsFromProcessDef(LaunchCommand.java:617) at com.ibm.ws

Prevent a SOAP message from being sent with content-type as “multipart/related”

谁说胖子不能爱 提交于 2019-12-10 23:43:25
问题 I am sending a SOAP message from a webservice client (code was generated by IBM RAD 7.5) to a host, and it with a webservice fault and a message that in the hosts' log reads as "content not allowed in prolog". When I send the same content with SoapUI or a simple apache HttpClient test client, the message is received and processed by the host, and I get the expected response. As far as I can tell, the difference is in the HTTP headers that are being sent. RAD-generated client: POST /ws

How to view and edit cacerts file?

别来无恙 提交于 2019-12-10 12:49:33
问题 Using RAD 8.5 with WAS 8.5 runtime, I am getting an exception on my console: The keystore located at "C:\IBM\Websphere85\jdk\jre\lib\security\cacerts" failed to load due to the following error: DerInputStream.getLength(): lengthTag=109, too big.. After searching for the error I got this link which suggests to edit the file and remove blank lines/extra characters. How do I edit the file? I am on windows environment and the file seems to be base64 encoded. 回答1: Here's a way to actually solve

Maven to copy JAR when adding dependencies

不想你离开。 提交于 2019-12-09 09:44:31
问题 I'm currently using IBM Rational Application Development (IBM Eclipse distro) for Portlet development and having a small issue with Maven integration. Here's the situation: 1) IBM RAD has the ability to deploy a Portlet directly from within itself (RUN/DEBUG) In this case, I'm not using Maven generated WAR at all because IBM RAD seems to create the WAR themselves automagically and push it to IBM WebSphere Portal. Which isn't a big deal so far. 2) Maven dependencies are not copied to

JVM debug port 7779 is in use

北城以北 提交于 2019-12-09 06:55:09
问题 I am using RAD 8. When I start the server in debug mode, it displays a error message states that JVM debug port 7779 is in use . I had this problem many times as I know this port was used by RAD. So I had to stop the process with image name "Java" under Window Task Manager>Processes . But however for the first time I face this issue without no such "java" process running in Window task manager . In my knowledge none of the IBM product does use this port presently. I have even tried to restart

Can not access Administrative Console

我的梦境 提交于 2019-12-08 11:48:27
问题 Good day, Previously administrative console can access successfully. Start from today, not sure why it can not be access. I working on RAD 8.5, I right click on my Server, point to Administration , then click on Run Administrative Console . Then I hit error as follow: SRVE0255E: A WebGroup/Virtual Host to handle /ibm/console has not been defined. SRVE0255E: A WebGroup/Virtual Host to handle localhost:9060 has not been defined. IBM WebSphere Application Server My server is working fine,

RAD 8 does not recognize that WAS has started

。_饼干妹妹 提交于 2019-12-05 09:23:29
I have recently experienced a new problem using RAD 8.0.2. When I launch a WAS server from within RAD, with or without any apps published to it, WAS will start and will show output in the console. I can even access the server from my web browser. However, RAD never recognizes that WAS has started successfully and after the timeout limit is reached, RAD claims that the server failed to start. I have tried this with WAS 6.1 and 7.0 test environments and WebSphere Portal 6.1 external environment and I always get the same result. Naturally, this makes development extremely difficult and I am

Lombok slowing down build process in large project

☆樱花仙子☆ 提交于 2019-12-05 01:39:34
问题 If I use Lombok in a project (about 15 separate projects - EJB, Web,...) Lombok slows down the build Process about 2-3 times. Is there any solution for this, or is that a disadvantage of Lombok? Just to see the size of the project, it's about 400 @Getter , 120 @Data , 250 @Setter and 100 @EqualsAndHashCode . Environment: IBM Rational Application Developer 8.0.4 with newest Version of Lombok (0.11.6) Any ideas to make it faster? 回答1: Finally, there is an edge-build available, which speeds up