CRM 2016 Email Router: Can not configure - email

I cannot configure CRM 2016 Email Router:
When I click on "New Deployment Profile" or "New Configuration Profile" this error message comes (part of it):
The type initializer for 'Microsoft.Crm.Tools.Email.Management.SecurityManager' threw an exception.
System.Xml.XmlException: Root element is missing.
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
Microsoft.Crm.Tools.Email.Management
Assembly Version: 8.0.0.0
Win32 Version: 8.1.0.359
CodeBase: file:///C:/Program%20Files/Microsoft%20CRM%20Email/Service/Microsoft.Crm.Tools.Email.Management.exe
I checked config files, access rights. It is CRM 2016 Service Pack 1.
Any idea? Thanks!

It seems that the image for installing the email-router had errors. After downloading the setup separately, it worked out fine.

Related

Unable to start aplication server from Intershop Studio

After upgrading Intershop project from version 7.10.29.2 to 7.10.38.9-LTS (using Responsive Starter Store 32.2.3) application server can't be started from Intershop Studio any more.
I noticed that the server launch configuration classpath for tools.jar points to the wrong place (${IS_HOME}/engine/jdk/lib/tools.jar instead %JAVA_HOME%/lib/tools.jar) but I was unable to change the classpath permanently - all changes in classpath configuration are ignored without any warning or error after applying them.
Jun 13, 2022 10:16:21 AM org.apache.tomcat.util.scan.StandardJarScanner processURLs
WARNING: Failed to scan [file:/C:/DEV/intershop-ci/sources/projects/webshop/build/server/local/engine/jdk/lib/tools.jar] from classloader hierarchy
java.io.FileNotFoundException: C:\DEV\intershop-ci\sources\projects\webshop\build\server\local\engine\jdk\lib\tools.jar (The system cannot find the path specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:228)
at java.util.zip.ZipFile.(ZipFile.java:157)
It could be related to the selected Version field in the "Server and Developer Home" configuration. You can find that preference dialog in Window->Preferences->Intershop Studio

WSO2IS 5.1.0 - IWA not working in Internet Explorer - com.sun.jna.platform.win32.Win32Exception: The token supplied to the function is invalid

We are using WSO2 identity server for user authentication in our product suite. Recently we have upgraded its version from 5.0.0 to 5.1.0.
After upgrading to WSO2 identity server 5.1.0 version we are getting following exception when we enable IWA (Integrated Windows Authentication)
TID: [-1234] [] [2016-07-21 18:46:52,606] DEBUG {waffle.servlet.spi.NegotiateSecurityFilterProvider} - security package: Negotiate, connection id: fe80:0:0:0:f1da:6adb:d83e:18d6%6:64966
TID: [-1234] [] [2016-07-21 18:46:52,622] DEBUG {waffle.servlet.spi.NegotiateSecurityFilterProvider} - token buffer: 1629 byte(s)
TID: [-1234] [] [2016-07-21 18:46:52,675] ERROR {org.apache.catalina.core.StandardWrapperValve} - Servlet.service() for servlet [bridgeservlet] in context with path [/] threw exception
com.sun.jna.platform.win32.Win32Exception: The token supplied to the function is invalid
at waffle.windows.auth.impl.WindowsAuthProviderImpl.acceptSecurityToken(WindowsAuthProviderImpl.java:137)
at waffle.servlet.spi.NegotiateSecurityFilterProvider.doFilter(NegotiateSecurityFilterProvider.java:102)
at waffle.servlet.spi.SecurityFilterProviderCollection.doFilter(SecurityFilterProviderCollection.java:116)
at org.wso2.carbon.identity.application.authenticator.iwa.servlet.IWAServelet.doPost(IWAServelet.java:89)
at org.wso2.carbon.identity.application.authenticator.iwa.servlet.IWAServelet.doGet(IWAServelet.java:64)
After searching for the problem on Google we came across following post.
https://github.com/dblock/waffle/issues/107
It looks like there was some issue in the earlier version of Waffle library which is resolved in 1.7.4 version.
WSO2 Identity server 5.1.0 comes with Waffle library version 1.6.0 (waffle-jna_1.6.0.wso2v4.jar).
Now my question is do we have any WSO2 Identity server patch available which includes the latest Waffle library (version 1.7.4 or above)?
Can we simply download the latest version of Waffle and put into “wso2is-5.1.0\repository\components\plugins” folder? Will it work?
We need to see if it resolves the above stated problem. We are unable to find any other solution to this issue.
Putting the new version in the plugins folder won't work. You'll need to follow these steps,
Get the waffle 1.7.4 wrapped as an OSGi bundle. You can refer this pom file which does the same for 1.6 version. Make sure the versions are properly updated in the new pom file.
Build from the pom file you created above to get the OSGi bundle
Put it into repository\components\dropins\ folder and restart the IS
[Validation Step][Optional] Start IS in OSGI console with wso2server.bat -DosgiConsole. Once the server is up run ss in the osgi console and locate the bundle id for org.wso2.carbon.identity.application.authenticator.iwa (This will be an integer below ~500). And then b <bundle_id> and make sure it binds the 1.7 versions of waffle packages.

SqlPackage.exe command throwing errors after upgrade

We use PowerShell scripts to deploy SQL database. This scripts are using SqlPackage.exe utility to publish our main database, it was working fine until we upgraded SSDT to it's latest release SSDT 2015 when it stated to throw the error below.
PowerShell Script Line:
& "C:\Program Files (x86)\Microsoft SQL Server\120\DAC\bin\SqlPackage.exe" /Action:Publish /SourceFile:"$DatabaseDacpacLocation" /TargetServerName:$DataServerSqlInstance /TargetDatabaseName:$Database /Variables:master="$MasterDatabase" /v:DatabaseName="$pDatabaseName" /p:ExcludeObjectType=Sequences
Error:
Unhandled Exception: System.TypeInitializationException: The type
initializer for 'Microsoft.SqlServer.Dac.DacPackage' threw an
exception. ---> System.TypeInitializationException: The type
initializer for 'Microsoft.SqlServer.Dac.DacServices' threw an
exception. ---> System.TypeInitializationException: The type
initializer for 'SqlSchemaModelStaticState' threw an exception. --->
System.IO.FileNotFoundException: Could not load file or assembly
'Microsoft.SqlServer.TransactSql.ScriptDom, Version=12.0.0.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its
dependencies. The system cannot find the file specified.
It looks like your deployment environment is missing SqlDom version 12 (Microsoft.SqlServer.TransactSql.ScriptDom.dll), which is expected to be in the GAC. You can download it from the SQL Server 2014 Feature Pack page here: https://www.microsoft.com/en-us/download/details.aspx?id=42295
There are two files you should download and install - the x64 and x86 versions of SqlDom.msi.
It appears that you're currently using the SQL Server 2014 version of the data-tier application framework. Note that if you update to the SQL Server 2016 version of the data-tier application framework (DacFX), you'll need to ensure that the newer version (v13) of DacFX's dependencies (SqlSysClrTypes.msi and SqlDom.msi) are also installed.

Deplyoment Issue in Migrating from Primefaces 3.5 to 4.0

I was using primefaces 3.5 in my project and now have updated to 4.0 but its failing to deploy on Glassfish after upgrading and resulting in the following error:
Severe: Critical error during deployment:
com.sun.faces.config.ConfigurationException: java.lang.Exception:
No Function Found on type: org.primefaces.util.ComponentUtils with
signature: java.lang.String resolveWidgetVar(java.lang.String)
I have removed the 3.5 version JAR and placed the new one in the project library, but still failing to deploy with the mentioned error given.
I'm using:
Glassfish: 4.1,
Netbeans 8.0.1
You should clear glassfish cache because old primefaces library which referred in the class path of your app server.
Stop the glassfish server.
Delete the content of the osgi-cache, by removing the felix directory in your domain. This is usually found in glassfish4/glassfish/domains/domain1/osgi-cache

Eclipse4.2 WTP Wizard does not generate WSDL file for AXIS2- Tomcat Webservice

I've followed the steps in the tutorial to create a Webservice.
Everything works fine but there is no WSDL file generated!
I've a dynamic WebProject in which I create the the Webservice.... no errors but no wsdl file generated
I also can't generate the wsdl file afterwards with the axis2 codegen plugin for Eclipse. I keep getting the error class not found exception
My axis2 tomcat installation seems to work properly - see my axis2 happiness page below...
I've tried every suggested solution from here in Stack Overflow but without success!
What else can I try to get this working.....
my config is:
Eclipse Java EE IDE for Web Developers.
Version: Juno Release
Build id: 20120614-1722
Fedora 17x64
AXIS2 1.6.2
Tomcat 7
AXIS2 Installation seems to be alight:
Axis2 Happiness Page
Examining webapp configuration
Essential Components
Found Apache-Axis (org.apache.axis2.transport.http.AxisServlet)
at /home/pk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyWebService/WEB-INF/lib/axis2-transport-http-1.6.2.jar
Found Jakarta-Commons Logging (org.apache.commons.logging.Log)
at /home/pk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyWebService/WEB-INF/lib/commons-logging-1.1.1.jar
Found Streaming API for XML (javax.xml.stream.XMLStreamReader)
at an unknown location
Found Streaming API for XML implementation (org.codehaus.stax2.XMLStreamWriter2)
at /home/pk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/MyWebService/WEB-INF/lib/wstx-asl-3.2.9.jar
The core axis2 libraries are present.
Note: Even if everything this page probes for is present, there is no guarantee your Axis Service will work, because there are many configuration options that we do not check for. These tests are necessary but not sufficient
Examining Version Service
Found Axis2 default Version service and Axis2 is working properly.
Now you can drop a service archive in axis2/WEB-INF/services. Following output was produced while invoking Axis2 version service
Hi - the Axis2 version is 1.6.2
Examining Application Server
Servlet version 3.0
Platform Apache Tomcat/7.0.12
Examining System Properties
java.runtime.name OpenJDK Runtime Environment
sun.boot.library.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/amd64
java.vm.version 23.2-b09
shared.loader
java.vm.vendor Oracle Corporation
java.vendor.url http: //java.oracle.com/
path.separator :
java.vm.name OpenJDK 64-Bit Server VM
tomcat.util.buf.StringCache.byte.enabled true
file.encoding.pkg sun.io
user.country DE
sun.java.launcher SUN_STANDARD
sun.os.patch.level unknown
java.vm.specification.name Java Virtual Machine Specification
user.dir /home/pk/Documents
java.runtime.version 1.7.0_06-icedtea-mockbuild_2012_08_31_14_28-b00
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.endorsed.dirs /home/pk/Tomcat70/endorsed
os.arch amd64
java.io.tmpdir /tmp
line.separator
java.vm.specification.vendor Oracle Corporation
java.naming.factory.url.pkgs org.apache.naming
os.name Linux
sun.jnu.encoding UTF-8
java.library.path /usr/java/packages/lib/amd64: /usr/lib64: /lib64: /lib: /usr/lib
tomcat.util.scan.DefaultJarScanner.jarsToSkip bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,jasper.jar,jasper-el.jar,ecj-*.jar,tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,commons-beanutils*.jar,commons-collections*.jar,commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,commons-logging*.jar,commons-pool*.jar,ant.jar,jmx.jar,jmx-tools.jar,xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,dnsns.jar,ldapsec.jar,localedata.jar,sunjce_provider.jar,sunpkcs11.jar,tools.jar,apple_provider.jar,AppleScriptEngine.jar,CoreAudio.jar,dns_sd.jar,j3daudio.jar,j3dcore.jar,j3dutils.jar,jai_core.jar,jai_codec.jar,mlibwrapper_jai.jar,MRJToolkit.jar,vecmath.jar
java.specification.name Java Platform API Specification
java.class.version 51.0
sun.management.compiler HotSpot 64-Bit Tiered Compilers
os.version 3.5.3-1.fc17.x86_64
user.home /home/pk
user.timezone Europe/Vienna
catalina.useNaming true
java.awt.printerjob sun.print.PSPrinterJob
java.specification.version 1.7
file.encoding UTF-8
catalina.home /home/pk/Tomcat70
user.name pk
java.class.path /home/pk/Tomcat70/bin/bootstrap.jar: /home/pk/Tomcat70/bin/tomcat-juli.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/lib/tools.jar
java.naming.factory.initial org.apache.naming.java.javaURLContextFactory
package.definition sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
java.vm.specification.version 1.7
sun.arch.data.model 64
java.home /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre
sun.java.command org.apache.catalina.startup.Bootstrap start
java.specification.vendor Oracle Corporation
user.language de
awt.toolkit sun.awt.X11.XToolkit
java.vm.info mixed mode
java.version 1.7.0_06-icedtea
java.ext.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/ext: /usr/java/packages/lib/ext
sun.boot.class.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/resources.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/rt.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/sunrsasign.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/jsse.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/jce.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/charsets.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/netx.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/plugin.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/rhino.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/lib/jfr.jar: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6.x86_64/jre/classes
java.vendor Oracle Corporation
server.loader
catalina.base /home/pk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0
file.separator /
java.vendor.url.bug http: //bugreport.sun.com/bugreport/
common.loader ${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
sun.cpu.endian little
sun.io.unicode.encoding UnicodeLittle
wtp.deploy /home/pk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps
package.access sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
sun.cpu.isalist
10 minutes ago i faced the same problem (for hours). I have a dynamic web project and i can create a web service from a java class via context menu. the service is deployed to my local tomcat installation (containing axis2) but no wsdl is created.
But then i did a right click on my project and selected "run as" -> "run on server". Now it displays the "Apache Software Foundation" page. there is a link "services" on it. after clicking on the link it displays a "Available services" page with my deployed webservice. then i clicked on my own deployed web service and it displays the wsdl i was searching for. the url is something like:
http://localhost:8080/test/services/myservice?wsdl
"test" is my project name. The wsdl is not in my eclipse "WEB-INF/wsdl" folder (like in every tutorial i found so far). But i can access it only via the url above.