glassfish installation failure in linux on azure
while installing glassfish on Ubuntu server on Azure I found these lines of codes and thus I was unable to complete the installation. please help to fix this .
Exception in thread "main" java.io.FileNotFoundException: glassfish/imq/var/opt/sun/install/contents/mq/templates/Splash_ko_KR.jpg (No such file or directory)
See also questions close to this topic
Why should Jersey 1.x conflitct with Jersey 2.x?
I keep reading in all sorts of Java libraries, which are using the Jersey HTTP client package, that I should be careful because they use Jersey 2.x and if I have Jersey 1.x in my classpath already, it may cause some conflicts.
But, Jersey project changed group id and package names when it was incorporated into Glassfish project, starting with version 2.x.
Since package names are different, what conflicts could there be? If I have Jersey 1.x in my deployable, those classes will be used, because of Jersey 2.x, provided by the Glassfish Runtime, are entirely different classes, with different names.
Likewise, if I have Jersey 1.x in my deployable, and some dependency comes and adds Jersey 2.x, the only problem that I may have is the following: without a deployment descriptor, Glassfish will use its version of the library, not the provided one. But in any case, no problem should occur because I have both Jersey 1.x and 2.x in my classpath, right?
Please advise, am I missing something? What's all the fuss about?
Where are the pre-requisites that I need to know before I can learn glassfish HK2 framework?
Can someone also tell what are the necessary pre-requisites to understand HK2 effectively.
I know Java Framework to a good extent. But I do not know Java networking or Servlets.
GlassFish Server 4.1.1, deploy, null, false The module has not been deployed
I am new to netbeans and glassfish. When I try to run the sample on mac this is what I get. Any clue? The server is up. I could write my own project, but suddenly I cannot run it again. Tried installing netbeans again.
ant -f /Users/*/NetBeansProjects/myproject -Dnb.internal.action.name=run -Ddirectory.deployment.supported=true -DforceRedeploy=false -Dnb.wait.for.caches=true -Dbrowser.context=/Users/*/NetBeansProjects/myproject run init: deps-module-jar: deps-ear-jar: deps-jar: Created dir: /Users/*/NetBeansProjects/myproject/build/web/WEB-INF/classes Created dir: /Users/*/NetBeansProjects/myproject/build/web/META-INF Copying 1 file to /Users/*/NetBeansProjects/myproject/build/web/META-INF Copying 1 file to /Users/*/NetBeansProjects/myproject/build/web library-inclusion-in-archive: library-inclusion-in-manifest: Created dir: /Users/*/NetBeansProjects/myproject/build/empty Created dir: /Users/*/NetBeansProjects/myproject/build/generated-sources/ap-source-output compile: compile-jsps: Starting GlassFish Server 4.1.1 GlassFish Server 4.1.1 is running. In-place deployment at /Users/*/NetBeansProjects/myproject/build/web GlassFish Server 4.1.1, deploy, null, false /Users/*/NetBeansProjects/myproject/nbproject/build-impl.xml:1045: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 29 seconds)
And my glassfish server output has only Info and Warnings:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0 objc: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java (0x10b1284c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10b1f04e0). One of the two will be used. Which one is undefined. Listening for transport dt_socket at address: 9009 Launching GlassFish on Felix platform Nov 15, 2017 10:05:57 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner. Nov 15, 2017 10:05:57 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations WARNING: Skipping entry because it is not an absolute URI. Nov 15, 2017 10:05:57 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations WARNING: Skipping entry because it is not an absolute URI. Nov 15, 2017 10:05:57 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles WARNING: Can not start bundle file:/Applications/NetBeans/glassfish-4.1.1/glassfish/modules/core.jar because it is not contained in the list of installed bundles. Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@4b9e955f in service registry. #!## LogManagerService.postConstruct : rootFolder=/Applications/NetBeans/glassfish-4.1.1/glassfish #!## LogManagerService.postConstruct : templateDir=/Applications/NetBeans/glassfish-4.1.1/glassfish/lib/templates #!## LogManagerService.postConstruct : src=/Applications/NetBeans/glassfish-4.1.1/glassfish/lib/templates/logging.properties #!## LogManagerService.postConstruct : dest=/Applications/NetBeans/glassfish-4.1.1/glassfish/domains/domain1/config/logging.properties Info: Running GlassFish Version: GlassFish Server Open Source Edition 4.1.1 (build 1) Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. Info: Authorization Service has successfully initialized. Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn Info: Grizzly Framework 2.3.23 started in: 51ms - bound to [/0.0.0.0:8080] Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn Info: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:8181] Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=admin-listener, realClassName=org.glassfish.grizzly.http2.Http2AddOn Info: Grizzly Framework 2.3.23 started in: 2ms - bound to [/0.0.0.0:4848] Info: Grizzly Framework 2.3.23 started in: 3ms - bound to [/0.0.0.0:3700] Info: GlassFish Server Open Source Edition 4.1.1 (1) startup time : Felix (34,470ms), startup services(1,693ms), total(36,163ms) Info: JTS5014: Recoverable JTS instance, serverId =  Info: HV000001: Hibernate Validator 5.1.2.Final Info: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:7676] Info: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@7be71476 as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@5c1f6d57. Info: JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://172.31.135.143:8686/jndi/rmi://172.31.135.143:8686/jmxrmi