Date   

Re: jvnet tiger-types

Ed Bratt
 

Jan,
Each version was pushed to Maven with a source JAR file -- which represents the source at the time the artifact was released. You can find each published versions on Maven Central:
https://repo1.maven.org/maven2/org/jvnet/tiger-types/
Will that work for you?
-- Ed


Re: jvnet tiger-types

Jan Schatteman
 

Hi,

(Sorry for the replicated posts)
No that won't do; I need to build the library from source, and therefore it needs to be of 'trusted' origin. Isn't there any way/anywhere I can download the archived repo ? This is what the link in my post leads to understand anyway ...
Thanks & regards,

-- Jan S.


Re: jvnet tiger-types

Ed Bratt
 

Have you looked at https://github.com/kohsuke/tiger-types?
Does this have what you need?
-- Ed


jvnet tiger-types

Jan Schatteman
 

Hi,

As indicated on https://javaee.github.io/other-migrated-projects.html I am contacting this group to inquire about the archived java.net tiger-types (org.jvnet) repository. Can anybody tell me if the sources repo of this library is available somewhere?

Thanks!

Regards,
Jan Schatteman


jvnet tiger-types

Jan Schatteman
 

Hi,
 
As indicated on https://javaee.github.io/other-migrated-projects.html I am contacting this group to inquire about the archived java.net tiger-types (org.jvnet) repository. Can anybody tell me if there is a source repo for this library that can be cloned?
 
Thanks!
 
Regards,
Jan Schatteman


tiger-types archived repo

Jan Schatteman
 

Hi,

As indicated on https://javaee.github.io/other-migrated-projects.html I am contacting this group to inquire about the archived java.net tiger-types (org.jvnet) repository. Can anybody tell me if the sources repo of this library is available somewhere?

Thanks!

Regards,
Jan Schatteman


Re: glassfish 5 git code gets errors doing a clean

Gary Bello
 

The code has been fixed for the issue I reported.

I found/fixed issue/bug with maven command-security-maven-plugin.
My PR was merged and then that updated plugin was updated to glassfish - this all occurred
by april 3 2018.

-Gary


On Wed, Apr 25, 2018 at 7:34 AM, <carlos.garza@...> wrote:
  We noticed that too. "mvn clean" and "mvn clean install" don't work untill you've ran "mvn install" for the first time. Once we ran "mvn install" for the first time subsequent calls to "mvn clean" and "mvn clean install" worked.



Re: glassfish 5 git code gets errors doing a clean

carlos.garza@...
 

  We noticed that too. "mvn clean" and "mvn clean install" don't work untill you've ran "mvn install" for the first time. Once we ran "mvn install" for the first time subsequent calls to "mvn clean" and "mvn clean install" worked.


Re: GlassFish 3.1.2.16

Ondrej Mihályi
 

AFAIK Glassfish 3.1.2.2 is the last v3 version available for free. If you have support from Oracle, you should ask them. Or you may upgrade to Payara server which is kept patched against vulnerabilities and commercially supported by Payara Services.

Ondro

Dňa 21. 4. 2018 7:40 používateľ "John Wright via Groups.Io" <John.Wright8=usbank.com@groups.io> napísal:

Our security department is flagging GlassFish 3.1.2.2 as having security vulnerabilities and wants us to update to 3.1.2.16 but I can’t find anywhere to download 3.1.2.16 from.  Any ideas?

 



GlassFish 3.1.2.16

John Wright
 

Our security department is flagging GlassFish 3.1.2.2 as having security vulnerabilities and wants us to update to 3.1.2.16 but I can’t find anywhere to download 3.1.2.16 from.  Any ideas?

 


Re: How to report a security issue ??

Ed Bratt
 

Follow the instructions on this page:
https://www.oracle.com/support/assurance/vulnerability-remediation/reporting-security-vulnerabilities.html
Paraphrased: If you are a supported customer, you may file it through My Oracle Support (https://support.oracle.com). If you are not a supported customer, send an e-mail to: secalert_us@.... If possible, use the PGP key, here.
-- Ed


How to report a security issue ??

jeremy mousset
 

Hello, 

I found a way to bypass the "secure admin" restriction. How can I report this one in secure manner? 

Regards


Unable to connect to JConsole on glassfish5 - Failed to retreive RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectionIOException

nikitha.bagalkoti@...
 

I have installed glassfish5 in a linux machine.
Below are the steps i used to connect using jconsole.
/usr/java/latest/bin/jconsole -J-Djava.util.logging.config.file=/root/logging-jconsole.properties

Copied this - service:jmx:rmi:///jndi/rmi://localhost:8686/jmxrmi in the remote process 
I get the following error -
March26,2018 3:51:46PM RMIConnector Connect
FINER: [ javax.management.remote.rmi.rmiconnector:jmxServiceURL= service:jmx:rmi:///jndi/rmi://localhost:8686/jmxrmi Failed to retreive RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectionIOException: non JRMP server at remote endpoint]

Same steps works for glassfish3 to connect to jconsole.
 


gfv5 window 10 build fails with latest maven and jdk 8

Gary Bello
 

This is an update of the below previous post in Dec/2017.

Glassfish still does not build on windows 10 64 bit with java 8 and maven 3.5.2.

This afternoon I determined the reason and a fix.

The reason the default file cannot be deleted is that it is open in windows.
file: glassfish\nucleus\hk2\hk2-config\target\classes\META-INF\hk2-locator\default 
It gets opened in the command-security-maven-plugin project code,

The file I changed is command-security-maven-plugin\src\main\java\org\glassfish\module\maven\commandsecurityplugin\TypeProcessorImpl.java .
The method is : private List<Inhabitant> findInhabitantsInModule(final BufferedReader br) throws IOException is passed the BufferedReader br
that has the file open. When the method returns the file is still open. I determined it was safe to call br.close(); before the return of the method,
and after adding the br.close call I can now successfully build Glassfish.
snippet:
        }
        br.close(); //newly added
        return result;
  } // last line of method

I needed to change the POM in nucleus-parent to use my locally built modified  command-security-maven-plugin project.
changes were:
        <!--<command-security-plugin.version>1.0.8</command-security-plugin.version>-->
        <command-security-plugin.version>1.0.9-SNAPSHOT</command-security-plugin.version>
 
My call hierarchy examination of that method only shows being called from 2 places and the BufferedReader is never used in the methods after the call to the modified method.

I do not have pull request create permissions and others should review my suggested change.
The change is in the maven plugin code that is used in the build of Glassfish.

Thanks
-Gary

---------- Forwarded message ----------
From: Gary Bello <gary.bello@...>
Date: Fri, Dec 22, 2017 at 8:07 PM
Subject: [glassfish] gfv5 window 10 build fails with latest maven and jdk 8
To: glassfish@javaee.groups.io


mvn version 3.5.2
jdk 1.8.0_152

problem is at line 216 in
C:\Sun\hk2Git\hk2\maven-plugins\hk2-inhabitant-generator\src\main\java\org\jvnet\hk2\generator\internal\GeneratorRunner.java 
on my system.
For some reason the 'default' file cannot be deleted.

snippet:
                    if (!outputFile.delete()) {
                        throw new IOException("Could not delete existing inhabitant file " +
                                outputFile.getAbsolutePath() + " in the noSwap case");

I have debug stepped thru code to where exception is thrown and cannot delete the file from windows either,
windows says JVM has the file open.

Did not experience this issue a few weeks ago - maybe almost 2 months ?

The error happens in the maven plugin, when building the glassfish project,
Glassfish Nucleus HK2 Modules


Could not delete existing inhabitant file C:\Sun\glassfishGit\glassfish\nucleus\hk2\hk2-config\target\classes\META-INF\hk2-locator\default in the noSwap case
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Glassfish Nucleus HK2 Modules ...................... SUCCESS [  5.132 s]
[INFO] HK2 configuration module ........................... FAILURE [ 13.951 s]
[INFO] HK2 configuration reader generator module .......... SKIPPED
[INFO] HK2 config types ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.775 s
[INFO] Finished at: 2017-12-22T20:06:13-08:00
[INFO] Final Memory: 19M/135M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.glassfish.hk2:hk2-inhabitant-generator:2.5.0-b57:generate-inhabitants (generate-inhabitants) on project hk2-config: Could not generate inhabitants file for C:\Sun\glassfishGit\glassfish\nucleus\hk2\hk2-config\target\classes -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.glassfish.hk2:hk2-inhabitant-generator:2.5.0-b57:generate-inhabitants (generate-inhabitants) on project hk2-config: Could not generate inhabitants file for C:\Sun\glassfishGit\glassfish\nucleus\hk2\hk2-config\target\classes
 





Re: MIssing foreign key on children - except on those of last parent added to db

Trond Arild Lode Tobiassen Heidelberg
 

On Tue, Dec 5, 2017 at 02:19 am, Trond Arild Lode Tobiassen Heidelberg wrote:

changed form this:
@OneToMany(cascade = CascadeType.ALL)
@JoinColumn(name = "MESSAGE_ID", nullable = true, unique = false, updatable = false)
protected List<AbstractHeaderField<?>> sipHeadersList;
To this:
@OneToMany(cascade = CascadeType.ALL)
@JoinColumn(name = "MESSAGE_ID", nullable = true, unique = false, updatable = true)
protected List<AbstractHeaderField<?>> sipHeadersList;

to help allow update of rows with the foreign key. But alas in vain.


https://github.com/javaee/glassfish/issues/11348

Trond Arild Lode Tobiassen Heidelberg
 


Timed tasks on Glassfish 5.0 works on embedded but not on server instance

Trond Arild Lode Tobiassen Heidelberg
 
Edited

5.0 Build 25
Does anyone have an idea why?

More info: When the app is first deployed it works, but not after restarts.


SSL on Netty started by a Singleton Startup bean on Glassfish 5.0

Trond Arild Lode Tobiassen Heidelberg
 
Edited

The above works well on embedded glassfish but not when deploying the application on the server. A telnet to the port does not connect anymore. Does anyone have a clue as to what might be causing this?

So Glassfish works well after all. I had forgot to build one ofthe dependencies after correcting the ssl code. Works now.


Re: gfv5 window 10 build fails with latest maven and jdk 8

Gary Bello
 

I did a fresh git pull of the Glassfish repo.
Then did a clean; Then a build.;
I get the same build error.

FYI - as prev mentioned - when I debug stepped thru the maven and plugin sources a month ago while building,
The 'default' file in windows is already open and cannot be deleted.
I also ran a maven build attempt form command line - to make sure Netbeans did not have the file open,
and same problem.

I have not yet attempted to figure out where the file gets opened and why it is not closed before it
is to be re-created. I know in Unix systems you can delete a file that is still open, but not windows.

-Gary


On Fri, Jan 12, 2018 at 3:52 PM, Bill Shannon <bill.shannon@...> wrote:
I had a similar failure a few months ago that was due to something changing in a way that Maven didn't cope with.  "mvn clean" after the git update didn't clean up everything because of how the pom.xml had changed.  I had to clean it up manually.  (Sorry, I don't remember the details.)  Try creating a clean repo and start from scratch and see if it builds.

Gary Bello wrote on 12/22/17 08:07 PM:
mvn version 3.5.2
jdk 1.8.0_152

problem is at line 216 in
C:\Sun\hk2Git\hk2\maven-plugins\hk2-inhabitant-generator\src\main\java\org\jvnet\hk2\generator\internal\GeneratorRunner.java 
on my system.
For some reason the 'default' file cannot be deleted.

snippet:
                    if (!outputFile.delete()) {
                        throw new IOException("Could not delete existing inhabitant file " +
                                outputFile.getAbsolutePath() + " in the noSwap case");

I have debug stepped thru code to where exception is thrown and cannot delete the file from windows either,
windows says JVM has the file open.

Did not experience this issue a few weeks ago - maybe almost 2 months ?

The error happens in the maven plugin, when building the glassfish project,
Glassfish Nucleus HK2 Modules


Could not delete existing inhabitant file C:\Sun\glassfishGit\glassfish\nucleus\hk2\hk2-config\target\classes\META-INF\hk2-locator\default in the noSwap case
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Glassfish Nucleus HK2 Modules ...................... SUCCESS [  5.132 s]
[INFO] HK2 configuration module ........................... FAILURE [ 13.951 s]
[INFO] HK2 configuration reader generator module .......... SKIPPED
[INFO] HK2 config types ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.775 s
[INFO] Finished at: 2017-12-22T20:06:13-08:00
[INFO] Final Memory: 19M/135M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.glassfish.hk2:hk2-inhabitant-generator:2.5.0-b57:generate-inhabitants (generate-inhabitants) on project hk2-config: Could not generate inhabitants file for C:\Sun\glassfishGit\glassfish\nucleus\hk2\hk2-config\target\classes -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.glassfish.hk2:hk2-inhabitant-generator:2.5.0-b57:generate-inhabitants (generate-inhabitants) on project hk2-config: Could not generate inhabitants file for C:\Sun\glassfishGit\glassfish\nucleus\hk2\hk2-config\target\classes
 






Re: Location of server logs

Bill Shannon
 

You can increase the log level in domains/domain1/config/logging.properties and that might give you more information about what's going on, but if the JVM is dying unexpectedly you might need to attach a debugger to find out what's causing the problem.

Derik Devecchio wrote on 12/22/17 06:42 PM:

I have a server running a domain.  For now, just the default domain1.

The application on the Java side of things works for a while and can send and receive information form the webpage (Java Script) through the web endpoint.

After a few minutes, (sometimes 30 seoncds some times 5 minutes) the server stops responding.   I find no instance of "java" form ps.  And if I restart the domain I do NOT get the error about how the port is already active.

I am trying to find out why it stops.  I am assuming there is a log somewhere that explains this but the only log I know of is the one in /domain1/logs/server.log.   That log has outputs form my program (the ones I send to System.out.println().   But nothing at the end of that log suggests there was a problem with my program.