Help coderanch get a
new server
by contributing to the fundraiser

Ivan Jouikov

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

Recent posts by Ivan Jouikov

Um no it just won't compile - the old .javas will stay. I'm using Resin btw, good stuff.

Also I said minor changes, like strings, email recipients, calculation adjustments, nothing logical.
THere are 2 servers and I'm not about to keep a double copy of every jar update that I make.

Also, if the client wants me to edit something quick, and it requires tinkering with the source code, I can easily go into the production server and make that change in the source file, and I'm done in seconds.
That's what I ended up doing...

I added an Ant file to the last build task, which made my life so simple. I became enlightened. I think I'm a hippy now. Thanks ant.

Still, managability suffers.
I appreciate people trying to help and all, but like my physcis instructor told me back in college:

Me: Why did you give him a bad grade? He put a lot of effort into it.

Him: Effort applied in the wrong direction is time wasted, which is never good.

What I'm trying to say is when I said it once, then I said it again, and then somebody comes in and says "Dee dee dee, it's easy, just set src to some other folder" when all I said is I need to set srt to THIS folder but I can't... you just can't help it but feel like ripping his liver out and feeding it to your dog.
I'm trying my best not to use profanities here, but read my previous message.

I WANT SOURCES TO BE IN /classes SO THEY COMPILE ON THE SERVER.
Yeah, so they're compiled on the server, rather than my machine.

(so that I don't have a "NoClassDefFoundError" 2 months into website operation because some library was missing on the server)
Err I meant we have these 2 objects.

Should we now have 2 more objects, ClientAddress and SupplierAddress (which keeps our tables neat and clean and minimal performance gain) or just an Address?

It's just that, what happens if all clients addresses need to have an "Mr./Mr.s" field? Or something like that.

I guess you're saying I should go with just one Address, anyone second that?
Say I have 2 objects: Client and Supplier.

Both have billing and shipping addresses. I COULD make 2 tables, ClientAddresses and SupplierAddresses and reference the parent with a ParentID, or I could make one table - Addresses, and reference the child with an AddressID.

Which was is better and why?
Ok very simple question.

I want to keep my source code in my Project/WebContent/WEB-INF/classes, and I want all the compiled classes to go there.

I COULD set up ant to do that, but I'm trying to use "Java Build Path" in the project properties.

When I "Add" that folder as a "Source" folder and remove the one that was there before, I get a "Build path contains duplicate entry: 'WebContent/WEB-INF/classes' for project Project". Now when I look at the "Libaries" tab, that same folder is already specified in the "Web App Libraries".

Oh, and there's no way to delete it (the button is grayed out).

So, wtf do I do? Any help is appreciated, thanks!
Hi!

Date - 1/12/06, location - you will work from home, but we're located near Seattle, WA, USA.

Basically, I need to find an Resin/web expert for a job that my company's doing (http://www.ablogic.net). It's a pretty big project ($10,000+) and we need some consulting particularly regarding Resin/other web server clusters.

Please contact me via MSN admin@ablogic.net so we can discuss the details. If you sound like a knowledgable person, we can work out a deal in which you'd be involved in this project, based on US-level salary, and also potential maintenance contract in the future.

Briefly, we need to set up a web server cluster (preferrably Resin) and connect it to and Oracle RAC.

Again, my msn is admin@ablogic.net.

Thanks for your time.

[ January 12, 2006: Message edited by: Ivan Jouikov ]
[ January 13, 2006: Message edited by: Ivan Jouikov ]
18 years ago
Hi!

Date - 1/12/06, location - you will work from home, but we're located near Seattle, WA, USA.

Basically, I need to find an Oracle expert for a job that my company's doing (http://www.ablogic.net). It's a pretty big project ($10,000+) and we need some consulting particularly regarding Oracle's RAC.

Please contact me via MSN admin@ablogic.net so we can discuss the details. If you sound like a knowledgable person, we can work out a deal in which you'd be involved in this project, based on US-level salary, and also potential maintenance contract in the future.

Briefly, we need to set up a RAC cluster and a web cluster and connect them together. We have a DB person but they don't specialize in Oracle, so we need to bring someone in. Web servers knowledge is a plus.

Again, my msn is admin@ablogic.net.

Thanks for your time.
[ January 13, 2006: Message edited by: Ivan Jouikov ]
18 years ago
Ok I found the solution here:

http://javaalmanac.com/egs/javax.imageio/JpegWrite.html?l=rel

But instead of using the custom ImageWriteParam, use



Otherwise you get exceptions of compression mode not being supported.
19 years ago
I have a jpg image that I load via ImageIO.read()...

I draw some text on the image and save it via ImageIO.write()...

Now the original image was 37kb. The new image is only 5 kb and has significantly lower quality. I wasn't able to find any quality-adjusting methods in the API

(http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/ImageIO.html)

Does anyone know how to preserve the image quality?

Thanks!
19 years ago
Well I'm root to begin with... people are telling me it's some io device problem...

The only thing that my app is using that could use IO is Hibernate which's using database on the same computer...

My cpu and memory are fine, syslog is clean... My java is up to date (1.5.0_04)... When app freezes, DB is still running fine, so this is really confusing..
19 years ago
when I say frozen I mean it doesn't respond and kill -9 wont get rid of it.

Oh and that's some bad news about jstack... so what are my options?
19 years ago