I tried to run Artifactory 2.3.4.1 WebSphere 6.1 and finally managed to get it up and running. For WebSphere 6.1 Artifactory 2.3.4.1 is the only option, because WebSphere 6.1 only supports Java 1.5. I followed the instructions on http://wiki.jfrog.org/confluence/display/RTF/Deploying+on+IBM+Websphere http://wiki.jfrog.org/confluence/display/RTF/Deploying+on+IBM+Websphere .
I encountered two major issues: (1) NullPointerException in ArtifactoryApplication and a NameNotFoundException which was posted in http://old.nabble.com/javax.naming.NameNotFoundException-with-Artifaction-on-Websphere-td29229284.html http://old.nabble.com/javax.naming.NameNotFoundException-with-Artifaction-on-Websphere-td29229284.html . (2) File Downloading Problems, since the checksum files were empty when they're downloaded. This seems to be the same issue like in http://forums.jfrog.org/Able-to-view-pom-but-not-download-it-td2646951.html http://forums.jfrog.org/Able-to-view-pom-but-not-download-it-td2646951.html . The first issue (NPE and NNFE) was caused by the fact the servlet was initialized before the WicketApplication. This lead to the fact that ArtifactoryContext was not available in the ServletContext. I solved the problem by removing the "load-on-startup" entries from the servlets in the web.xml, to cause they're loaded after the application initialization. The second issue (Download of checksum files) was caused by the same reason referenced in the post: a missing flush before setting the status caused WebSphere to transmit only empty checksum files, which will break the library resolution and downloading. Therefore I patched the ArtifactoryResponseBase.sendSuccess method by adding a flush(); call before the setStatus(...) line. Additionally I flushed the outputStream (os.flush();) in the sendStream method in the same class. I don't know if the current version of Artifactory is working properly in WebSphere 7 / 8 and I can't check this, because I have no WebSphere 7 / 8 installation available. But imho it is a good idea to check for that behaviour in the current Artifactory releases. -- View this message in context: http://forums.jfrog.org/Artifactory-2-3-4-1-on-WebSphere-6-1-Changes-necessary-tp7153689p7153689.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
