Jack Tanner | 1 Apr 2005 19:03
Picon
Favicon

jpackage 1.5 to 1.6

I'm running jpackage 1.5 on an FC2 box. I just learned that I need Ant 
1.6.x, and I figure the easiest way to get it is to upgrade to jpackage 1.6.

Will the upgrade work if I just point to the 1.6 jpackage repo and do a 
yum update?

Thanks!
Nicolas Mailhot | 1 Apr 2005 19:43
Favicon

Re: jpackage 1.5 to 1.6

Le vendredi 01 avril 2005 à 12:03 -0500, Jack Tanner a écrit :
> I'm running jpackage 1.5 on an FC2 box. I just learned that I need Ant 
> 1.6.x, and I figure the easiest way to get it is to upgrade to jpackage 1.6.
> 
> Will the upgrade work if I just point to the 1.6 jpackage repo and do a 
> yum update?

It will probably mostly work, and there will probably be some problem
spots too. You should plan for a bit of manual fixup.

(ie don't do it on a critical system that will need to be used at once)

However since jpp 1.5 won't change anymore you will have to upgrade
sooner or later, and it shouldn't be overly hard to do either. The only
thing I'm not sure of is if it's easier to upgrade of remove all jpp 1.5
packages and install 1.6 from scratch. That probably depend on your
package set. If you can wait a little it's probably worth doing a FC4
upgrade first.

Regards,

--

-- 
Nicolas Mailhot
_______________________________________________
JPackage-discuss mailing list
JPackage-discuss@...
https://www.zarb.org/mailman/listinfo/jpackage-discuss
Richard Bullington-McGuire | 1 Apr 2005 23:24

Re: jpackage 1.5 to 1.6

On Fri, 1 Apr 2005, Nicolas Mailhot wrote:

> Le vendredi 01 avril 2005 à 12:03 -0500, Jack Tanner a écrit :
>> I'm running jpackage 1.5 on an FC2 box. I just learned that I need Ant
>> 1.6.x, and I figure the easiest way to get it is to upgrade to jpackage 1.6.
>>
>> Will the upgrade work if I just point to the 1.6 jpackage repo and do a
>> yum update?
>
> It will probably mostly work, and there will probably be some problem
> spots too. You should plan for a bit of manual fixup.
>
> (ie don't do it on a critical system that will need to be used at once)
>
> However since jpp 1.5 won't change anymore you will have to upgrade
> sooner or later, and it shouldn't be overly hard to do either. The only
> thing I'm not sure of is if it's easier to upgrade of remove all jpp 1.5
> packages and install 1.6 from scratch. That probably depend on your
> package set. If you can wait a little it's probably worth doing a FC4
> upgrade first.

Last week, I attempted this (JPackage 1.5 -> 1.6 on FC2) and it Just 
Worked, at least with the set of RPMs that we have installed. Has anyone 
else been lucky this way?

--

-- 
  Richard Bullington-McGuire, Managing Partner, PKR Internet, LLC
  Email: rbulling@...  Web: http://pkrinternet.com/
  Phone: +1 (703) 271 0607  Fax: +1 (703) 271 0580
  PGP key IDs:  RSA: 0x9386230  DH/DSS: 0xDAC3028E
(Continue reading)

Bernard Johnson | 2 Apr 2005 00:12

RPM update request jboss-3.0.8 to jboss-3.2.7

Can someone update this to 3.2.7 - the latest of the 3.x series?

Thanks
Richard Bullington-McGuire | 2 Apr 2005 01:08

Best practices for packaging Web applications?


If I wanted to create an RPM that had a web application in it, designed to 
be deployed into a JPackage-provided Servlet 2.4-compliant container, what 
would be the best way to go about doing this? I'm not aware of any generic 
way to do this within JPackage. Maybe there should be one, maybe not, we 
could probably debate that endlessly.

It's clear that if you wanted to focus on Tomcat 5 integration, you could 
package your web applications in the same way that tomcat5-webapps are 
packaged, in exploded-WAR-file format.

I guess you could package the war file itself with some documentation, and 
let the user sort it out, or have some automagical RPM post-install 
scripts that tried to do the right thing.

What have other people done to solve this problem?

--

-- 
  Richard Bullington-McGuire, Managing Partner, PKR Internet, LLC
  Email: rbulling@...  Web: http://pkrinternet.com/
  Phone: +1 (703) 271 0607  Fax: +1 (703) 271 0580
  PGP key IDs:  RSA: 0x9386230  DH/DSS: 0xDAC3028E
Weiqi Gao | 2 Apr 2005 05:34
Picon
Gravatar

Fwd: Best practices for packaging Web applications?

On Apr 1, 2005 5:08 PM, Richard Bullington-McGuire
<rbulling@...> wrote:
> 
> If I wanted to create an RPM that had a web application in it, designed to
> be deployed into a JPackage-provided Servlet 2.4-compliant container, what
> would be the best way to go about doing this?

The problem is very similar to this one:

"If I want to create an RPM that has a jar file in it, designed to be
run in a JPackage-provided JVM, what would be the best way to go about
doing this?"

I believe it can be solved in similar fashion.

> I'm not aware of any generic way to do this within JPackage. Maybe there should be
> one, maybe not, we could probably debate that endlessly.

Of course there are complicating factors: webapps usually have to have
either its own data directory or database schema/storage.  It may also
require the editing of certain servlet container specific
configuration files, such as adding users or roles to Tomcat's
tomcat-users.xml file.

> It's clear that if you wanted to focus on Tomcat 5 integration, you could
> package your web applications in the same way that tomcat5-webapps are
> packaged, in exploded-WAR-file format.

One complicating factor are jar files that live in the WEB-INF/lib
directory.  If I read the JPackage philosophy correctly, putting
(Continue reading)

Henning P. Schmiedehausen | 2 Apr 2005 17:56
Picon

Re: java-1.4.2_06-fcs required for eclipse?

Thomas Pryds Lauritsen <pryds@...> writes:

>> One should
>> be able to fish older builds from sun site if needed.

>Hmm... I've trawled through http://java.sun.com/ a handful of times now 
>without finding anything.

It _is_ well hidden. However, I stumbled upon it by chance and it _is_
pretty obvious if you know where to look:

http://java.sun.com/products/archive/

e.g.

http://java.sun.com/products/archive/j2se/1.4.2_06/index.html

	Regards
		Henning

--

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@...        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

"Now you can start with implementation and integration and do the
requirements later".  -- Prof. Dr. Dr. h.c. Manfred Broy about the new
german federal software development standard "V-Model XT" 
(Continue reading)

Brad Smith | 3 Apr 2005 19:39

Eclipse 3.0.2 cvs error

I updated to eclipse 3.0.2 and am now seeing this error in the eclipse
log file on boot. I have reduced the traceback in several places. Any
thoughts on a cause? cvs is on this system eclipse 3.0.1 worked fine.
This is a Fedora Core 3 workstation.

Thanks,

Brad

!SESSION Apr 03, 2005 10:31:55.107
---------------------------------------------
eclipse.buildId=200503110845
java.version=1.4.2_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US

!ENTRY org.eclipse.osgi Apr 03, 2005 10:31:55.108
!MESSAGE An error occured while automatically activating bundle
org.eclipse.team.cvs.core (170).
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.compatibility.PluginActivator.start() of
bundle org.eclipse.team.cvs.core.
	at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:975)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start
(BundleContextImpl.java:937)
....
Caused by: java.lang.UnsatisfiedLinkError: no cvs in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
(Continue reading)

Weiqi Gao | 3 Apr 2005 20:16
Picon
Gravatar

Error message when invoking the jython command

Hi,

I just want to report some error messages I received when invoking
jython and groovysh (I have the latest JPackage rpms installed on my
FC3 system):

For jython, I got this:
=================================================================
[weiqi <at> gao-2004 ~]$ jython
/usr/bin/build-classpath: error: could not find servlet Java extension
for this JVM
/usr/bin/build-classpath: error: All specified jars were not found
Jython 2.2a0 on java1.5.0_02 (JIT: null)
>>>
=================================================================

For groovysh, I got this:
=================================================================
[weiqi <at> gao-2004 ~]$ groovysh
groovysh: JAVA_HOME is not defined correctly; can not execute: java
=================================================================

Nothing big, and I have made the corrections needed to get rid of them
on my installation.

Just thought someone on the list might want to know this.

--

-- 
Weiqi Gao (高为奇)
weiqigao@...
(Continue reading)

Brad Smith | 3 Apr 2005 23:55

Re: Eclipse 3.0.2 cvs error

For what it is worth:

I downloaded the 3.0.2 zip file for eclipse, installed it in a directory
and ran it. It worked ok. No errors with cvs. I compared the cvs.jar
file included with the jpackage version of eclipse with the jar file
included in the zip file from eclipse.org and found them to be slightly
different in size. 

I replaced the cvs.jar in the jpackage distribution with the other
cvs.jar file (straight from eclipse). The cvs features in eclipse now
seem to work.

I also noticed directories in the jpackage distribution which are not in
the distribution from eclipse. For example,
org.eclipse.team.cvs.core_3.0.2 is in the jpackage distribution but not
in the original distribution.

Are these differences in file sizes and additional directory structures
necessary in the jpackage version of eclipse?

Thanks,

Brad

On Sun, 2005-04-03 at 10:39 -0700, Brad Smith wrote:
> I updated to eclipse 3.0.2 and am now seeing this error in the eclipse
> log file on boot. I have reduced the traceback in several places. Any
> thoughts on a cause? cvs is on this system eclipse 3.0.1 worked fine.
> This is a Fedora Core 3 workstation.

(Continue reading)


Gmane