Skip to content

sendev1/cfx-server-java-first

 
 

Repository files navigation

To capture CXF config -Dspring.profiles.active=capture

Remote debug java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -jar build/libs/cxf-server-java-first-0.0.1-SNAPSHOT.jar

1. To collect native config
    1.1 Run the Intellij run configuration or run the regen-agent-configs.sh script
    1.2 Stop the app and configurations will be collected on the resources folder

2. To run native build and run
    ./gradlew nativeRun

3. This CXF service worked as native image with following versions
    3.1 Spring boot 2.7.0
    3.2 Sptring Native 0.12.0
    3.4 GraalVM 22.2 EE
    3.5 Need to hit the soap service otherwise IllegalAnnotationException
    3.6 buildArgs.add('--initialize-at-build-time=com.sun.xml.bind.v2.runtime.property.PropertyFactory') will solve
    index out of bounds exception or adding manual config

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 67.0%
  • Batchfile 16.2%
  • Shell 10.3%
  • Makefile 5.9%
  • Dockerfile 0.6%