I would like to use logback 1.0.0 to the activity of my web applications. Unfortunately the documentation on this subject is a tad sparse. I followed the official tutorial here:
http://logback.qos.ch/access.html
which involves using logback-access. I followed the instructions, yet when I direct my browser to /mywebapp/lbAccessStatus I got a class def not found error. Apparently it can not find the logback-accesss-1.0.0.jar that I have put in TOMCAT_HOME/lib . Has anyone else experienced this issue after the following the tutorial, or have any other tutorials available that describe alternate methods of logback configuration? I do not mind if each web app has their own log file, or just one global one I would just like to see the package work. Thank you for your help.
Related
I have quiet decent knowledge how to use Ejabberd. Have used a lot with Smack Library for android so am quiet comfortable as a user. However I face use case that I have not faced before.
There exists as system with its users and login interfaces both using forms and another using API. Now I need to integrate it with ejabberd. The most common and documented way is to use ejabberd OAuth2 but now am supposed to do the opposite.
Reading the docs the best I found is this link talking about external script. However there are no enough information to help build something. Linked examples are old and links are dead.
Can anyone help me get into right direction with external script login? I would prefer PHP based solution but any other language will help.
However there are no enough information to help build something.
Brief protocol description, and example in Python:
https://docs.ejabberd.im/developer/guide/#external
Perl example included with ejabberd. Notice this file was last modified 11 years ago, and it still works correctly:
https://github.com/processone/ejabberd/tree/master/examples/extauth
Linked examples are old and links are dead.
Right, those other examples are very old too, but they could work (as long as you can get them, and use the ancient language versions they used):
https://ejabberd.im/extauth
Why are those so old? Because that page has not been updated since years ago (back when git was not yet mainstream). Quite probably, if you search, you may find other examples.
I hope this is not a silly question but I have not found any documentation answering this silly question, if it is:
I tried to implement my website using OpenShift, which is the platform as a service used by the university. But as you can see in the link, it seems that the server was not launched. I had added the GitHub link. However, I can not find the records. Do you know where they are?
I am using describeType and am able to get all of the variable and accessor metadata tags just fine in local debug, local test suite or local air build. Our web app running this code also sees the metadata just fine in production (running with browser plugin). But, our production air desktop app throws my error "can't find metadata". When I added some logging code (being thoroughly confused LOL) I discovered that the metadata property in the XML from describeType is empty?!?
My only thought is that we use gradle and run a bunch of custom scripts during the actual build process... but HOW could that be either removing or making unreadable class metadata tags?
I've tried standard v/s custom tags, accessors v/s variables, describeType(instance) v/s describeType(class) and all of these give same result... all variations work everywhere every time except in production desktop build.
Anyone with ANY thoughts on this... please chime in. I've been pulling my hair out with this one!
Thanks!!!
so it turns out my "only thought" was the correct answer. after digging deeper I found that the keep-as3-metadata that was on our compiler options was not up to date in our grade build scripts and didn't include the tags we were using for this. Thank god!!! LOL.
I am currently working on a legacy web app which uses newtonsoft.json.dll version 1.3.0 and vb.net.
I added four new fields in the application. This source code is shared by another application and it posts into my application and it breaks it.
See image for error.
[]
The error is:
Could not find member x on object of type runtimetype.
The stacktrace breaks at:
newtonsoft.json.jsonserializer.setobjectmember(jsonreader reader,object target, type targettype, string membername)
I did some research. The folks reportedly solved such an issue by upgrading DLL version and didn't have a direct solution to fixing it via code change. I know its very old and the application is high impact any upgrade has huge ripple. However they are planning a rewrite of the application.
Can someone please share any ideas that i should pursue in order to solve this?.
I am expected to make it quick and under pressure.
https://smugmugc3.codeplex.com/workitem/10024
My problem is very similar to what is described in the link above.
I am going to upgrade my version of json converter after convincing my boss and I see that is the only way out of this problem.
After which I will update this thread if I find issues.
Having tried to use the example for php/mysql at http://jstree.com/demos I have realized that I needed extra functionality and as well noticed that this works only with PHP 5 due to some errors that Firebug was prompting for the output. I then started to look for more documentation on jstree and found in here someone suggesting to review the example on the following page:
http://luban.danse.us/jazzclub/javascripts/jquery/jsTree/reference/_examples/7_full.html
I did find it very close to what I need for a personal project, however the example is fixed for one DB interaction from what I was able to see in the core dependencies (full/script.js). I'm trying to port this example to PHP 5, but at the moment just would like to know if there is a possibility to extend this to use new plugins such as 'checkbox' even-though this is an earlier version.
I've posted this question in the forums to see if there is any possibility to recreate a PHP/mySQL example using the 'contextmenu' and as well the options at the top of the panel, but since this apparently is not supported by what I was able to understand from the documentation, I thought perhaps someone have tried something similar to this?
Thanks in advance,
JP-