Rafael Angarita

Ranch Hand
+ Follow
since Jan 09, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Rafael Angarita

Hello everybody,

I'm writing a code generator as an Eclipse plugin using the framework Xtext for developing my DSL. My test project consist of 15000 source files. After doing some optimization specific to Xtext, I keep running into java.lang.OutOfMemoryError: Java heap space when I iterate over the objects representing my source files.

I'm learnig about GC and its related JVM parameters. Im trying this run configuration:



At first, It seems to go very well with an acceptable speed, but after awhile I get:



After it, the application gets really slow, and eventually I get:



I know "promotion failed" has to do with the generations of living objects, but I have experimented with different parameters for the Run Congifuration with no success.

I would really appreciate your help!

Thank you very much.

13 years ago
Hello everybody,

Some time ago I svn ignored a directory. This folder contains many sublevels of directories.

Now I would like to version some files that are inside of one of these ignored subdirectories and I was wondering what is the best way to do it.

Thank you very much for your advise!
Hello, I'm developing an Eclipse plugins, so it would be very useful if I can write errors and warnings to the Eclipse Problems View.

Does anyone know how to do thatm, a useful link, or how to search for it in the internet? I haven't had much luck.

Thank you very much for your help!
Ok, I solved it.

First I check the directory information with svn info, and then changed its url to the right directory in the repo with svn switch.
Hello everybody,

I have this really wierd problem: it seems that my directories bin and src are linked to the same place in the subversion repository. It is ver chaotic since I cannot remove the bin folder from the svn because it will remove the src folder too. Also, there are .java files in the bin folder when I download it from the repository. Those .java files are the ones from the src folder.

I was wondering how to solve this.

Thank you very much, I appreciatte your guidance.
Hello everybody,

I'm developing a plugin for Eclipse which uses several external libraries. This project is shared among 6 programmers using Subversion, therefore I want to make library paths absolutes. I started using the User Library of eclipse, which lets me add all the external libraries I need and keep the path relative. I worked fine because I only had this in the .classpath file:

<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/LIB"/>


One of the libraries I'm placing in this User Library is mysql-connector. The problem comes when I try to configure the plugin dependencies in the Manifest file because I can't choose mysql-connector neither from the list of Required Plugins nor from Runtime libraries.

I could do that before because I had the mysql-connector jar in the plugins directory of Eclipse. I know I will run into this same problem with other libraries I will use in the future.

What should I do? Place mysql-connector in the Eclipse plugins folder? I would really like to keep everything well organized.

Thank you very much for your advise.
Hello everyone, I hope this is the right forum to post this question.

This is my scenario:

I'm the lead software engineer of a team of 6 developers. Our main project (in which we all are going to be working on) depends on many Eclipse plugins and several plugins that are going to be developed by part of the team at the same time that the main project. Each of these plugins are Eclipse projects themselves.

I was wondering how I should manage those dependencies in the subversion repository. When I develope or modify a plugin of the main project, should I commit the .jar plugin to the svn repository so the other developers only have to do svn update and get the last version?

The other thing is that those plugins I'm developing are Eclipse plugins, so they have to be in the dropins or plugins folder of Eclipse in order to work properly. Therefore, even though I put them in the repository, the others developers will have to download the newer versions and copy them to the right Eclipse folders.

I hope I explained my case clearly, I would appreciate any advise you guys can give me.

Thank you very much.

Hello,

I'm creating a distributed application using EJB3 and I want to know how to do the communication between my ejb objects. I think it would be such a mess having explicit calls to my session beans inside others session beans.

I was searching for EJB3 design patterns but I haven't found anything really clear and updated yet.

I'd really appreciate your advise.

Thank you very much.
I'm sorry, I realized what was wrong with it. I was not getting the lock of the EJB properly.
Hello,

I have a doubt about the call of a EJB from a servlet. My EJB does not have the annotation @Asynchronous and my servlet does not wait for it. Here is the sampe code:


Servlet code:



EJB code:



Output:



I never see the EJB output "End EJB" and I always see the servlet output "After EJB". I don't understand why.

Thank you very much.
Hello,

I have read a lot of articles and several topics in this forum about how to choose a java application server, but I still have some doubts. In the real world I have only used GlassFish and I really like it so far.

The main requirements of my application server are: flexible configuration, support for a extremely high number of concurrent users. It will be a system for the mobile communications industry, so it must have high availability as well.

Open Source Applications Servers are my only option.

Thank you very much for your advise.

14 years ago
Yes!...Try enclosing the string comparisons between parenthesis and see what happens!

Hello,

Try this:



Note that I'm using the equals method.
Think about it. (Remember the object references concept)
Hello!

I was wondering if any of you knows about GlassFish ESB. I completed the basic tutorials that can be found on the internet, but I still don't get some things.

I have 2 web services already deployed and a client that consumes them. I would like to orchestrate them according to GlassFish ESB and SOA.

I'd appreciate any advise regarding this.

15 years ago