I'm having problems with my libraries from my WebService, I need to use my project libs, jaxws..etc.
The error is occurring: weblogic.wsee.databinding.internal.wlsjaxrpc.JaxRpcProvider to com.sun.xml.ws.spi.db.DatabindingProvider.
I'm trying to put in Weblogic.xml, however I'm not sure how to declare the libraries properly.
Has anyone ever experienced this ?
Thank
Related
I've got a web app which loads dlls dynamically from a db. Even though the assemblies are restricted to a few libraries (ex.: Dapper), there's still the problem of dll hell. For instance, if the main site is using dapper 1.50.7 (strong name version) and one of the assemblies is using 1.50.5, then assembly ends up generating an io exception saying that it can't find version 1.50.5.
I've done a couple of searches and haven't found any definitive answer. For instance, this post says that you can still use app.config, but it's still not working.
So, any advice on how to solve this? Is there really no way to solve this kind of issue?
Thanks.
At the end, handling the Resolving event of the default AssemblyLoadContext instance so that it returns the latest loaded assembly was enough for me.
I want to use the Novell.Directory.Ldap library in a MonoTouch and Mono For Android project.
http://www.novell.com/coolsolutions/feature/11204.html
When I compile my project in iOS simulator modus, It compiles without errors and runs correctly (in the iOS simulator).
When I compile my project in iOS device modus (to test the app with a physical device), I get this error:
Error MT2002: Failed to resolve "System.Void System.Security.Cryptography.RNGCryptoServiceProvider::.ctor(System.Byte[])" reference from "mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" (MT2002) (MyProject)
How could I solve this problem? I can't find a solution.
Should this library work for MonoTouch and Mono For Android?
Are there better LDAP solutions for Mono?
UPDATE: I just tested it with Mono For Android. This works fine.
There's three questions in there, so I splitted my answers in three. Please read all of them :-)
How could I solve this problem?
This is a general problem with a general solution to solve it.
The code you compiled is including a reference to "mscorlib, Version=1.0.5000.0
That's likely because you did not use the compiler provided with Xamarin.iOS (MonoTouch), named smcs, to build the assembly. That compiler would set the references to use the right mscorlib.dll assembly (and report anything missing in the MOBILE profile).
The fact that it can work for Xamarin.Android is that it uses the JIT (just in time compilation), so missing members won't be found before runtime (and if execution reach that code).
OTOH Xamarin.iOS uses AOT (ahead of time compilation) since JIT'ing is not allowed (by Apple) on devices. That means missing members are found at build time. In this case the (managed) linker can't find the reference and issue the MT2002 error.
So the solution is to re-build the assembly using smcs and fix, if any, build time errors. E.g. IIRC that RNGCryptoServiceProvider ctor is not available (and does nothing since seeding is not possible) and should be replaced with the default ctor.
Should this library work for MonoTouch and Mono For Android?
It should. However my personal experience with Novell.Directory.Ldap was not really good (code and design issues, e.g. threading, in particular with SSL enabled).
Also the code has not been updated for quite a while. You might be better served at looking at (managed or native) alternatives for your LDAP needs.
Are there better LDAP solutions for Mono?
Sadly I have not used any other similar library so I can't suggest alternatives (but maybe other people will be able to help).
The problem is solved.
Instead of using the dll from Novell, I downloaded all the source files of the Novell LDAP library and put them into a new library project. Then I made a reference to that library from my own Mono project.
While compiling my project and the library project, I received some errors from the library project. After solving these errors manually, it works fine for both (MonoTouch and Mono for Android).
I have a few problems regarding using ActionBarSherlock example and mono for android.
Monodevelop does not recognize the ’Com’ namespace. I can compile without errors but the IDE does not recognize the namespaces and classes inside it.
Anybody else suffering from this issues?
Are you referencing the DLL, or the Java Binding project? There is a known bug for this: https://bugzilla.xamarin.com/show_bug.cgi?id=6695. It looks like this bug has been fixed, just not released yet.
If you reference the DLL instead of the binding project you should get your Intellisense back.
I was using Flash builder for force .com IDE for my project but it has been expired.
Can I only use its SDK which I think should be free and compile my application using command prompt.
I know how to compile mxml applications from command line in simple flex application but for Force.com projects I am stuck.
I have copied all the swc in libs folder.
The compiler throws an error 'Error: could not resolve 'flexforforce:F3WebApplication' to a component implementation. '.
Can any one help me here? I don't know how to proceed from here :(
Thanks in advence.
You can see the true command-line parameters with the -dump-config option (see http://cookbooks.adobe.com/post_Compiling_Flex_libraries_with_Ant-16504.html)
Cheers
I have build cocoa application in 10.4.4 using (mac10.3.9sdk xcode version:2.2.1,universal binary), but when im trying to invoke the application in 10.3.9 the application is not getting invoked.
Can you please tell me what would be the probable mistakes or reasons of its not getting invoked???or How can i trouble shoot the issue?
which version of xcode should i use in 10.3.9 so that i can debug the code, can someone please provide the corresponding link?
The runtime failure could be for any number of reasons: missing libraries or frameworks, compiled with the wrong settings etc.
Probably your first port of call should be console.app if you are trying to run this on another machine that does not have the development tools installed. It will probably give you some clues as to why the application isn't starting up.