- Doble click sobre el servidor en la vista Servers, para acceder a su configuración.
- Open launch configuration
- En el detalle de VM arguments añadir lo siguiente:
-Duser.language=en
-Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true -Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true -Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true -Dcom.sun.xml.internal.ws.transport.http.HttpAdapter.dump=true
set JAVA_OPTIONS=%JAVA_OPTIONS% -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true -Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true -Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true -Dcom.sun.xml.internal.ws.transport.http.HttpAdapter.dump=true
@ECHO OFF
@REM WARNING: This file is created by the Configuration Wizard.
@REM Any changes to this script may be lost when adding extensions to this configuration.
SETLOCAL
set DOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\comercio_domain
@REM Borrar tmp
rd /S /Q %DOMAIN_HOME%\servers\AdminServer\tmp
call "%DOMAIN_HOME%\bin\startWebLogic.cmd" %*
ENDLOCAL
weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
ADVERTENCIA: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
GRAVE: Failed to create WsdlDefinitionFeature for wsdl location: https://xxxxxx.xx/xxxxx?wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-kernel</artifactId>
<version>1.4.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-activation_1.1_spec</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-javamail_1.4_spec</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
</exclusion>
<exclusion>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
</exclusion>
<exclusion>
<artifactId>wsdl4j</artifactId>
<groupId>wsdl4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-codegen</artifactId>
<version>1.4.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-activation_1.1_spec</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
</exclusion>
</exclusions>
</dependency>
private void checkSession(HttpSession session) {
final String RUTA = "C:/MyDir/session.ser";
File f = new File(RUTA);
f.delete();
try {
FileOutputStream fileOut = new FileOutputStream(RUTA);
ObjectOutputStream out = new ObjectOutputStream(fileOut);
String nombreAtributo;
@SuppressWarnings("rawtypes")
Enumeration enumNombres = session.getAttributeNames();
while (enumNombres.hasMoreElements()) {
nombreAtributo = (String) enumNombres.nextElement();
System.out.println("Serializando... " + nombreAtributo);
out.writeObject(session.getAttribute(nombreAtributo));
}
out.flush();
out.close();
fileOut.close();
System.out.printf("Todo ok");
} catch (IOException e) {
System.out.println("No serializable!!!!");
e.printStackTrace();
}
//****************************************//
FileInputStream fileIn = null;
ObjectInputStream in = null;
try {
fileIn = new FileInputStream(RUTA);
in = new ObjectInputStream(fileIn);
Object objeto;
while (true){
objeto = in.readObject();
System.out.println("Deserializando...." + objeto.getClass() + " -----> " + objeto);
}
}
catch (EOFException exc) {
try {
in.close();
fileIn.close();
} catch (IOException e) {
e.printStackTrace();
}
}
catch (IOException i) {
i.printStackTrace();
}
catch (ClassNotFoundException e) {
e.printStackTrace();
}
}
String ruta = "C:/miDir/test.crt";
CertificateFactory cf = CertificateFactory.getInstance("X.509");
BufferedInputStream in = new BufferedInputStream(new FileInputStream(ruta));
java.security.cert.Certificate cert = cf.generateCertificate(in);
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<profiles>
<!-- Development environment -->
<profile>
<id>development</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<filters.ficheroProperties>src/dev/filters/desarrollo- env.properties</filters.ficheroProperties>
</properties>
</profile>
</profiles>
mavenProperty.jdbc = jdbc/miDatasource
<!-- Se le indica de qué ficheros se obtienen los valores de las variables que se reemplazan -->
<filters>
<filter>${filters.ficheroProperties}</filter>
</filters>
<!-- Plugin para gestionar los resources y el filtrado -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<!-- Configurar filtrado de ficheros dentro del webapp -->
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp/WEB-INF</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="${mavenProperty.jdbc}" />
</bean>
openssl req -x509 -newkey rsa:2048 -keyout cakey.pem -days 3650 -out cacert.pem
-----BEGIN CERTIFICATE-----
MIIC+TCCAmKgAwIBAgIENvEbGTANBgkqhkiG9w0BAQUFADA2MQswCQYDVQQGEwJF
...
LwVMZGACokIeb4ZoZVUO2ENv8pExPqNHPCgFr0W2nSJMJntLfVsV+RlG3whd
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIFvzCCA6egAwIBAgIQAMUmyW4QlO1DT/e1+2eflDANBgkqhkiG9w0BAQsFADBd
....
Rua2628QZv5yKZL45hMDN4MviTN3QnzB5XillEH4avjfG9Q=
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
....
#=================================================
# SSL/TLS para los vhosts
# =================================================
SSLEngine On
SSLProtocol -all +TLSv1 +SSLv3
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:!EXP:!eNULL:!aNULL:!LOW
SSLCertificateFile conf/ssl.crt/server.pem
SSLCertificateKeyFile conf/ssl.crt/server.key
SSLCACertificateFile conf/ssl.crt/cas.pem
SSLInsecureRenegotiation on
SSLOptions +StdEnvVars +ExportCertData
LogLevel debug
<link rel="shortcut icon" type="image/x-icon" href="${pageContext.request.contextPath}/resources/favicon.ico" />